Skip to content

Commit

Permalink
Fix --edges-only option used to ignore hit counts
Browse files Browse the repository at this point in the history
  • Loading branch information
sgabe committed Nov 5, 2021
1 parent 9471e36 commit 77ccced
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions winafl-cmin.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ def _to_showmap_options(args, trace_name = '-'):
if os.getenv('AFL_NO_SINKHOLE') is None:
r.append('-q')

if args.edges_only:
r.append('-e')

if args.time_limit > 0:
r.extend(['-t', '%d' % args.time_limit])
else:
Expand All @@ -80,9 +83,6 @@ def _to_showmap_options(args, trace_name = '-'):
for mod in args.coverage_modules:
r.extend(['-coverage_module', mod])

if args.edges_only:
r.append('-e')

r.append('--')
r.extend(args.target_cmdline)
return r
Expand Down

0 comments on commit 77ccced

Please sign in to comment.