Skip to content

Commit 7dbcd01

Browse files
committed
update
1 parent 5f89f68 commit 7dbcd01

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

fuzzers/kfuzz/fuzzer.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,14 +258,12 @@ def fuzz(input_corpus,
258258

259259
flags = list(flags)
260260

261-
flags += ['-L', '0']
261+
if os.path.exists('./afl++.dict'):
262+
flags += ['-x', './afl++.dict']
262263

263-
# if os.path.exists('./afl++.dict'):
264-
# flags += ['-x', './afl++.dict']
265-
266-
# # Move the following to skip for upcoming _double tests:
267-
# if os.path.exists(cmplog_target_binary) and no_cmplog is False:
268-
# flags += ['-c', cmplog_target_binary]
264+
# Move the following to skip for upcoming _double tests:
265+
if os.path.exists(cmplog_target_binary) and no_cmplog is False:
266+
flags += ['-c', cmplog_target_binary]
269267

270268
#os.environ['AFL_IGNORE_TIMEOUTS'] = '1'
271269
os.environ['AFL_IGNORE_UNKNOWN_ENVS'] = '1'

fuzzers/kfuzz_mopt/fuzzer.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,14 @@ def fuzz(input_corpus,
258258

259259
flags = list(flags)
260260

261-
if os.path.exists('./afl++.dict'):
262-
flags += ['-x', './afl++.dict']
261+
flags += ['-L', '0']
263262

264-
# Move the following to skip for upcoming _double tests:
265-
if os.path.exists(cmplog_target_binary) and no_cmplog is False:
266-
flags += ['-c', cmplog_target_binary]
263+
# if os.path.exists('./afl++.dict'):
264+
# flags += ['-x', './afl++.dict']
265+
266+
# # Move the following to skip for upcoming _double tests:
267+
# if os.path.exists(cmplog_target_binary) and no_cmplog is False:
268+
# flags += ['-c', cmplog_target_binary]
267269

268270
#os.environ['AFL_IGNORE_TIMEOUTS'] = '1'
269271
os.environ['AFL_IGNORE_UNKNOWN_ENVS'] = '1'

0 commit comments

Comments
 (0)