Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .evergreen/scripts/capture-fuzz-corpus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ if [ -z "$(ls -A fuzz-scratch/capture 2>/dev/null || true)" ]; then
exit 0
fi

# A unit found by a later target never ran through the earlier ones, so
# replay every unit through all targets before publishing.
# The replay runs the atheris targets, so it must request the fuzz group.
replay=(fuzz-scratch/capture/*)
for target in fuzz_decode fuzz_decode_all fuzz_is_valid; do
echo "Replaying captured units against ${target}..."
if ! uv run --no-sync python "fuzz/${target}.py" "${replay[@]}" \
if ! uv run --group fuzz python "fuzz/${target}.py" "${replay[@]}" \
-artifact_prefix="$PWD/fuzz-scratch/" -atheris_runs="${#replay[@]}"
then
echo "Captured unit fails ${target}; no corpus PR." >&2
Expand Down
Loading