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: 4 additions & 1 deletion projects/opus/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ FUZZERS="opus_encode_fuzzer opus_multistream_decode_fuzzer opus_multistream_enco
BUILDS=(floating fixed floating_qext fixed_qext)

tar xvf $SRC/opus_testvectors.tar.gz
zip -r $SRC/zipped-corpus.zip opus_testvectors/

if [[ $CFLAGS = *sanitize=memory* ]]; then
CFLAGS+=" -D_FORTIFY_SOURCE=0"
Expand Down Expand Up @@ -64,6 +65,8 @@ for build in "${BUILDS[@]}"; do
# fuzzer's name
[ -f tests/$fuzzer.options ] \
&& cp tests/$fuzzer.options $OUT/${fuzzer}_${build}.options
zip -r $OUT/${fuzzer}_${build}_seed_corpus.zip opus_testvectors/
cp $SRC/zipped-corpus.zip $OUT/${fuzzer}_${build}_seed_corpus.zip &
done
done

wait