about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-11-16 14:59:44 +0000
committerGitHub <noreply@github.com>2023-11-16 14:59:44 +0000
commit885f949ac75efb2dd6379f72ef7918e537d77b22 (patch)
treee387b776fa7819988869bf73f9a24772e637fcae
parenta289a3e454480463bbf948995e99068e3158c9fa (diff)
downloadafl++-885f949ac75efb2dd6379f72ef7918e537d77b22.tar.gz
Fix benchmark.py
-rw-r--r--benchmark/benchmark.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py
index cd3a876a..7184ccef 100644
--- a/benchmark/benchmark.py
+++ b/benchmark/benchmark.py
@@ -61,9 +61,8 @@ modes = [mode.name for mode in all_modes]
 targets = [str(target.binary) for target in all_targets]
 cpu_count = multiprocessing.cpu_count()
 env_vars = {
-    "AFL_BENCH_JUST_ONE": "1", "AFL_DISABLE_TRIM": "1", "AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES": "1",
+    "AFL_DISABLE_TRIM": "1", "AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES": "1", "AFL_FAST_CAL": "1",
     "AFL_NO_UI": "1", "AFL_TRY_AFFINITY": "1", "PATH": f'{str(Path("../").resolve())}:{os.environ["PATH"]}',
-    "AFL_FAST_CAL": "1",
 }
 
 parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
@@ -249,7 +248,7 @@ async def main() -> None:
                 cmds = []
                 for fuzzer_idx, afl in enumerate(fuzzers):
                     name = ["-o", outdir, "-M" if fuzzer_idx == 0 else "-S", str(afl)]
-                    cmds.append(["afl-fuzz", "-i", f"{args.basedir}/in"] + name + ["-s", "123", "-D", f"./{binary}"])
+                    cmds.append(["afl-fuzz", "-i", f"{args.basedir}/in"] + name + ["-s", "123", "V10", "-D", f"./{binary}"])
 
                 # Prepare the afl-fuzz tasks, and then block while waiting for them to finish.
                 fuzztasks = [run_command(cmds[cpu]) for cpu in fuzzers]