Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Sep 20, 2024
1 parent 43c5194 commit 259d4c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fuzzers/libafl_fuzz/fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,10 @@ def fuzz(input_corpus, output_corpus, target_binary):
command += (['-o', output_corpus, '-i', input_corpus, target_binary])
#command += (['-t', '1000'])
print(command)
env = {'AFL_CORES': '0', 'AFL_IGNORE_TIMEOUT': '1', 'AFL_CMPLOG_ONLY_NEW': '1', 'AFL_MAP_SIZE': '2621440'}
env = {
'AFL_CORES': '0',
'AFL_IGNORE_TIMEOUT': '1',
'AFL_CMPLOG_ONLY_NEW': '1',
'AFL_MAP_SIZE': '2621440'
}
subprocess.check_call(command, cwd=os.environ['OUT'], env=env)

0 comments on commit 259d4c5

Please sign in to comment.