Skip to content

Commit 6756342

Browse files
authored
neqo: Make use of seed corpora (#14343)
Following what `boringssl` seems to be doing. (Would be nice if the docs where a bit more helpful here.)
1 parent 2847a55 commit 6756342

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

projects/neqo/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ FUZZ_TARGET_OUTPUT_DIR=target/x86_64-unknown-linux-gnu/release
2727
for f in fuzz/fuzz_targets/*.rs; do
2828
FUZZ_TARGET_NAME=$(basename "${f%.*}")
2929
cp "$FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME" "$OUT/"
30+
if [ -d "fuzz/corpus/$FUZZ_TARGET_NAME" ]; then
31+
zip -j "$OUT/${FUZZ_TARGET_NAME}_seed_corpus.zip" "fuzz/corpus/$FUZZ_TARGET_NAME"/*
32+
fi
3033
done

0 commit comments

Comments
 (0)