Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zafl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
zafl
Commits
3190225c
Commit
3190225c
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation error
parent
16a28303
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libzafl/src/libzafl.c
+3
-6
3 additions, 6 deletions
libzafl/src/libzafl.c
with
3 additions
and
6 deletions
libzafl/src/libzafl.c
+
3
−
6
View file @
3190225c
...
...
@@ -93,7 +93,7 @@ void zafl_initAflForkServer()
zafl_setupSharedMemory
();
if
(
debug
)
printf
(
"libzafl: map is at 0x%
x
\n
"
,
zafl_trace_map
);
printf
(
"libzafl: map is at 0x%
p
\n
"
,
zafl_trace_map
);
if
(
!
zafl_trace_map
)
{
zafl_trace_map
=
(
u8
*
)
malloc
(
MAP_SIZE
);
...
...
@@ -148,16 +148,13 @@ void zafl_bbInstrument(unsigned short id) {
void
zafl_dumpTracemap
()
{
int
i
;
if
(
!
debug
)
return
;
PRINT_DEBUG
(
"zafl_dumpTracemap(): enter
\n
"
);
if
(
!
zafl_trace_map
)
return
;
printf
(
"tracemap at: 0x%x
\n
"
,
zafl_trace_map
);
for
(
int
i
=
0
;
i
<
0xFFFF
;
++
i
)
for
(
i
=
0
;
i
<
0xFFFF
;
++
i
)
{
if
(
zafl_trace_map
[
i
]
!=
0
)
printf
(
"%x:%d
\n
"
,
i
,
zafl_trace_map
[
i
]);
}
PRINT_DEBUG
(
"zafl_dumpTracemap(): exit
\n
"
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment