Skip to content

Commit

Permalink
gitoxide: Add infra to build seed corpora (#11386)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel-brough authored Dec 19, 2023
1 parent db927a6 commit 570355c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion projects/gitoxide/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ do
do
FUZZ_TARGET_NAME=$(basename ${f%.*})
CRATE_NAME=$(basename $CRATE_DIR)
cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT/$CRATE_NAME-$FUZZ_TARGET_NAME
OUT_FUZZER_NAME=$OUT/$CRATE_NAME-$FUZZ_TARGET_NAME
cp $FUZZ_TARGET_OUTPUT_DIR/$FUZZ_TARGET_NAME $OUT_FUZZER_NAME
FUZZ_CORPUS_BUILDER=${FUZZ_TARGET_NAME}_corpus_builder.sh
if test -f "$FUZZ_CORPUS_BUILDER"; then
$FUZZ_CORPUS_BUILDER $SRC/gitoxide $OUT/${OUT_FUZZER_NAME}_seed_corpus.zip
fi
done
done

0 comments on commit 570355c

Please sign in to comment.