Skip to content

Commit 47903f6

Browse files
committed
add stuff from nirizr
1 parent 0befe13 commit 47903f6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

afl-cov

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -811,10 +811,11 @@ def is_afl_fuzz_running(cargs):
811811
pid = get_running_pid(stats_file, rb"fuzzer_pid\s+\:\s+(\d+)")
812812
else:
813813
for p in os.listdir(cargs.afl_fuzzing_dir):
814-
stats_file = "%s/%s/fuzzer_stats" % (
815-
cargs.afl_fuzzing_dir.encode(),
816-
p.encode(),
817-
)
814+
#stats_file = "%s/%s/fuzzer_stats" % (
815+
# cargs.afl_fuzzing_dir.encode(),
816+
# p.encode(),
817+
#)
818+
stats_file = "%s/%s/fuzzer_stats" % ( cargs.afl_fuzzing_dir, p)
818819
if os.path.exists(stats_file):
819820
# allow a single running AFL instance in parallel mode
820821
# to mean that AFL is running (and may be generating

0 commit comments

Comments
 (0)