diff --git a/fuzzers/kfuzz/fuzzer.py b/fuzzers/kfuzz/fuzzer.py index 44d474614..7016da75e 100755 --- a/fuzzers/kfuzz/fuzzer.py +++ b/fuzzers/kfuzz/fuzzer.py @@ -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' diff --git a/fuzzers/kfuzz_mopt/fuzzer.py b/fuzzers/kfuzz_mopt/fuzzer.py index 7016da75e..44d474614 100755 --- a/fuzzers/kfuzz_mopt/fuzzer.py +++ b/fuzzers/kfuzz_mopt/fuzzer.py @@ -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'