diff options
-rwxr-xr-x | bin/fuzz | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,7 +1,13 @@ #!/bin/sh set -eu +ncpu="$(cat /proc/cpuinfo | grep '^processor' | wc -l)" + cd fuzz cargo afl build --release mkdir -p out -cargo afl fuzz -i in -o out -t 10000 target/release/fuzz + +tmux new-window cargo afl fuzz -i in -o out -t 10000 -M main_fuzzer target/release/fuzz +for i in $(seq 2 "$ncpu"); do + tmux new-window cargo afl fuzz -i in -o out -t 10000 -S "secondary_fuzzer_$i" target/release/fuzz +done |