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
175795e0
Commit
175795e0
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
1f1abdde
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
afl_transforms/tools/zax/critical_edge_breaker.cpp
+1
-4
1 addition, 4 deletions
afl_transforms/tools/zax/critical_edge_breaker.cpp
afl_transforms/tools/zax/zuntracer.cpp
+4
-1
4 additions, 1 deletion
afl_transforms/tools/zax/zuntracer.cpp
with
5 additions
and
5 deletions
afl_transforms/tools/zax/critical_edge_breaker.cpp
+
1
−
4
View file @
175795e0
...
...
@@ -52,9 +52,6 @@ void CriticalEdgeBreaker_t::breakCriticalEdges()
if
(
f
&&
f
->
GetEntryPoint
())
m_extra_nodes
+=
breakCriticalEdges
(
f
);
}
m_IR
->
SetBaseIDS
();
m_IR
->
AssembleRegistry
();
}
//
...
...
@@ -65,7 +62,7 @@ void CriticalEdgeBreaker_t::breakCriticalEdges()
unsigned
CriticalEdgeBreaker_t
::
breakCriticalEdges
(
Function_t
*
p_func
)
{
ControlFlowGraph_t
cfg
(
p_func
);
const
CriticalEdgeAnalyzer_t
cea
(
cfg
);
const
CriticalEdgeAnalyzer_t
cea
(
cfg
,
false
);
const
auto
critical_edges
=
cea
.
GetAllCriticalEdges
();
auto
num_critical_edges_instrumented
=
0
;
...
...
This diff is collapsed.
Click to expand it.
afl_transforms/tools/zax/zuntracer.cpp
+
4
−
1
View file @
175795e0
...
...
@@ -164,8 +164,11 @@ int ZUntracer_t::execute()
{
if
(
m_breakupCriticalEdges
)
{
CriticalEdgeBreaker_t
ceb
(
getFileIR
(),
tru
e
);
CriticalEdgeBreaker_t
ceb
(
getFileIR
(),
m_verbos
e
);
cout
<<
"#ATTRIBUTE num_bb_extra_blocks="
<<
ceb
.
getNumberExtraNodes
()
<<
endl
;
getFileIR
()
->
SetBaseIDS
();
getFileIR
()
->
AssembleRegistry
();
}
return
Zax_t
::
execute
();
...
...
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