Increase iteration to 15M runs or 15 minutes

This commit is contained in:
Chris Hennick 2024-06-07 21:51:52 +00:00
parent 3422c9586b
commit a53d8e3fbd

View file

@ -6,8 +6,8 @@ while [[ $iters_without_improvement -lt $MAX_ITERS_WITHOUT_IMPROVEMENT ]]; do
cp -r "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_old"
cargo fuzz run --all-features "fuzz_$1" "fuzz/corpus/fuzz_$1" -- \
-dict=fuzz/fuzz.dict -max_len="$2" -rss_limit_mb=8192 \
-fork="$(nproc || getconf NPROCESSORS_ONLN)" -runs=10000000 \
-max_total_time=600
-fork="$(nproc || getconf NPROCESSORS_ONLN)" -runs=15000000 \
-max_total_time=900
./recursive-fuzz-cmin.sh "$1" "$2"
if diff "fuzz/corpus/fuzz_$1" "fuzz/corpus/fuzz_$1_old"; then
iters_without_improvement=$(( iters_without_improvement + 1 ))