fix: remove stale artifacts

- regression recipe for per target
This commit is contained in:
Roman 2026-06-08 15:37:01 +08:00
parent 7ae3e40661
commit 1cfe58ebf9
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E
4 changed files with 12 additions and 4 deletions

View File

@ -39,11 +39,20 @@ fuzz TIME="30":
cargo fuzz run "$target" "corpus/libfuzz/$target" -- -max_total_time={{TIME}}
done
# Re-run the saved corpus for every target (regression mode, no new mutations)
fuzz-regression:
# Re-run the saved corpus for one or ALL targets (regression mode, no new mutations).
# When TARGET is omitted every registered target is replayed in sequence.
# Usage: just fuzz-regression # all targets
# just fuzz-regression fuzz_state_transition # single target
fuzz-regression TARGET="":
#!/bin/bash
set -euo pipefail
for target in $(cargo fuzz list 2>/dev/null); do
TARGET="{{TARGET}}"
if [ -z "$TARGET" ]; then
TARGETS=($(cargo fuzz list 2>/dev/null))
else
TARGETS=("$TARGET")
fi
for target in "${TARGETS[@]}"; do
echo "=== regression $target ==="
mkdir -p "corpus/libfuzz/$target"
cargo fuzz run "$target" "corpus/libfuzz/$target" -- -runs=0

View File

@ -1 +0,0 @@
<EFBFBD>