diff options
| author | peter <peter@pmikkelsen.com> | 2026-10-04 13:40:56 +0000 |
|---|---|---|
| committer | peter <peter@pmikkelsen.com> | 2026-10-04 13:40:56 +0000 |
| commit | b66229d60635784ed289dd9bf0058f5c165ca8b5 (patch) | |
| tree | 34bd71814858264fd3ad37ded717a4047597a571 /tools | |
| parent | 8e4047d4c1b101b692a88cd2ccd633f767114b7e (diff) | |
Small tweaks to the fuzzing
FossilOrigin-Name: f16a07dbf1c8bd6540921fcd46cd6076b7823b37958aec78fb7fd99e88f2fa3f
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/fuzz | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,7 @@ #!/bin/sh +export AFL_SKIP_CPUFREQ=1 + if [ $# -ne 1 ] then echo Usage: tools/fuzz BUILD_TYPE @@ -20,13 +22,13 @@ do cp "$f" fuzz-in/$n n=$((n+1)) done -afl-cmin -i fuzz-in -o fuzz-in-min -- ./aplwc @@ +afl-cmin -i fuzz-in -o fuzz-in-min -- ./aplwc -x @@ rm fuzz-in/* cd fuzz-in-min for f in * do - afl-tmin -i "$f" -o "../fuzz-in/$f" -- ../aplwc @@ + afl-tmin -i "$f" -o "../fuzz-in/$f" -- ../aplwc -x @@ done cd .. rm -rf fuzz-in-min -afl-fuzz -i fuzz-in -o fuzz-out -m 20 -t 50 -- ./aplwc @@ +afl-fuzz -i fuzz-in -o fuzz-out -m 20 -t 50 -- ./aplwc -x @@ |