Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
KFuzzing committed Oct 22, 2024
1 parent 5f89f68 commit 7dbcd01
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 5 additions & 7 deletions fuzzers/kfuzz/fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,12 @@ def fuzz(input_corpus,

flags = list(flags)

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

# if os.path.exists('./afl++.dict'):
# flags += ['-x', './afl++.dict']

# # Move the following to skip for upcoming _double tests:
# if os.path.exists(cmplog_target_binary) and no_cmplog is False:
# flags += ['-c', cmplog_target_binary]
# Move the following to skip for upcoming _double tests:
if os.path.exists(cmplog_target_binary) and no_cmplog is False:
flags += ['-c', cmplog_target_binary]

#os.environ['AFL_IGNORE_TIMEOUTS'] = '1'
os.environ['AFL_IGNORE_UNKNOWN_ENVS'] = '1'
Expand Down
12 changes: 7 additions & 5 deletions fuzzers/kfuzz_mopt/fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,14 @@ def fuzz(input_corpus,

flags = list(flags)

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

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

# # Move the following to skip for upcoming _double tests:
# if os.path.exists(cmplog_target_binary) and no_cmplog is False:
# flags += ['-c', cmplog_target_binary]

#os.environ['AFL_IGNORE_TIMEOUTS'] = '1'
os.environ['AFL_IGNORE_UNKNOWN_ENVS'] = '1'
Expand Down

0 comments on commit 7dbcd01

Please sign in to comment.