diff --git a/build/scenario/afl.py b/build/scenario/afl.py index d78ce3c0e..04c7a2a2e 100644 --- a/build/scenario/afl.py +++ b/build/scenario/afl.py @@ -4,7 +4,8 @@ import subprocess NUMBER_OF_FUZZERS=8 def afl_command(name): - return ["afl-fuzz", "-t", "10000", "-i", "scenari", "-o", "afl_out", "-M", "epsilon-fuzz-" + name, "./epsilon.bin"] + master_option = "-M" if name.startswith("master") else "-S" + return ["afl-fuzz", "-t", "10000", "-i", "scenari", "-o", "afl_out", master_option, "epsilon-fuzz-" + name, "./epsilon.bin"] def run_afl(commands, name): # Launch the fuzzer