Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libzafl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
libzafl
Compare revisions
41d574f13bfe692478385ac8b263e83990ae0436 to 3cc41bdc89adcebda3e13ac324c4cc85ef78f6e2
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
opensrc/libzafl
Select target project
No results found
3cc41bdc89adcebda3e13ac324c4cc85ef78f6e2
Select Git revision
Swap
Target
opensrc/libzafl
Select target project
No results found
41d574f13bfe692478385ac8b263e83990ae0436
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Add debug stmt
· 3cc41bdc
Anh Nguyen-Tuong
authored
5 years ago
3cc41bdc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/libzafl.c
+5
-2
5 additions, 2 deletions
src/libzafl.c
with
5 additions
and
2 deletions
src/libzafl.c
View file @
3cc41bdc
...
...
@@ -164,13 +164,12 @@ static int find_map_addr(struct dl_phdr_info *p_info, size_t p_size, void *p_dat
void
**
trace_map_fixed_addr
=
(
void
**
)
p_data
;
*
trace_map_fixed_addr
=
NULL
;
if
(
p_info
->
dlpi_name
==
NULL
)
return
0
;
PRINT_DEBUG
(
"Name: "
);
PRINT_DEBUG
(
p_info
->
dlpi_name
);
PRINT_DEBUG
(
"
\n
"
);
if
(
p_info
->
dlpi_name
==
NULL
)
return
0
;
const
char
*
the_name
=
(
p_info
->
dlpi_name
[
0
]
==
'\0'
)
?
"/proc/self/exe"
:
p_info
->
dlpi_name
;
...
...
@@ -333,6 +332,10 @@ static void zafl_setupAflTracemapSharedMemory()
void
zafl_initAflForkServer
()
{
if
(
getenv
(
"ZAFL_DEBUG"
))
debug
=
1
;
PRINT_DEBUG
(
"libautozafl: auto-initialize fork server
\n
"
);
static
int
fork_server_initialized
=
0
;
if
(
fork_server_initialized
)
return
;
...
...
This diff is collapsed.
Click to expand it.