Simplify crossed dispatch and add SMT-derived cases

Drop the redundant begin.offset split in crossedCompleteOvershoot and
the rE > 0 guard in closedFormForwardSaturated; both are implied by
the call-site invariants.

Add an SMT-derived empty-interval case as the smt_cases CTest and as a
committed fuzz_readable seed.  run-fuzz.sh now loads the read-only seed
corpus alongside the writable one.

Rename exhaustive to sweep and document that it is exhaustive only
over its bounded family of instances.
This commit is contained in:
andrew committed 2026-11-18 13:03:55 -05:00
1 parent 7a41d1f647
commit a0b68d148b
9 files changed
+72 -50

No files matched your search

+5 -1
View File
@@ -15,9 +15,13 @@ cmake --build "$build" --target fuzz_readable fuzz_raw
corpus="${TMPDIR:-/tmp}/cr-fuzz-corpus"
mkdir -p "$corpus/readable" "$corpus/raw"
# Committed read-only seeds (cases found by SMT/mutation analysis) are
# passed after the writable corpus, which is where libFuzzer stores new units.
seeds="$here/tests/corpus/readable"
echo "== differential fuzzing (readable instances) =="
"$build/fuzz_readable" -max_total_time="$seconds" -max_len=1024 "$corpus/readable"
"$build/fuzz_readable" -max_total_time="$seconds" -max_len=1024 \
"$corpus/readable" "$seeds"
echo "== safety fuzzing (arbitrary instances) =="
"$build/fuzz_raw" -max_total_time="$seconds" -max_len=1024 "$corpus/raw"