From aec1054d97f0413f33407fb919b35d46eb5b4f2e Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Thu, 30 Apr 2020 17:12:02 +0100 Subject: [PATCH] [Libarchive] Removed creation of corpus from build script (#3744) --- projects/libarchive/build.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/projects/libarchive/build.sh b/projects/libarchive/build.sh index 6b9ad1937..87587a57d 100755 --- a/projects/libarchive/build.sh +++ b/projects/libarchive/build.sh @@ -21,20 +21,8 @@ make -j$(nproc) all # build seed -SD=seed -echo "Mary had a little lamb, -Its fleece was white as snow; -And everywhere that Mary went -The lamb was sure to go." >> $SD -bzip2 -k $SD && gzip -k $SD && lrzip $SD && lz4 -k $SD \ - && lzop $SD && xz -k $SD && zstd -k $SD \ - && genisoimage -o $SD.iso $SD && lcab $SD $SD.cab \ - && lha c $SD.lzh $SD && rar a $SD.rar $SD \ - && tar -czvf $SD.tar.gz $SD && jar -cvf $SD $SD \ - && zip $SD $SD - -zip corpus.zip $SD.* && mv corpus.zip /out/libarchive_fuzzer_seed_corpus.zip -rm $SD.* +cp $SRC/libarchive/contrib/oss-fuzz/corpus.zip\ + $OUT/libarchive_fuzzer_seed_corpus.zip # build fuzzer(s) $CXX $CXXFLAGS -Ilibarchive \