diff --git a/build/scenario/afl.py b/build/scenario/afl.py index 04c7a2a2e..2ca9165d6 100755 --- a/build/scenario/afl.py +++ b/build/scenario/afl.py @@ -1,7 +1,8 @@ #!/usr/bin/env python import subprocess +import multiprocessing -NUMBER_OF_FUZZERS=8 +NUMBER_OF_FUZZERS=multiprocessing.cpu_count() def afl_command(name): master_option = "-M" if name.startswith("master") else "-S"