mirror of https://github.com/google/oss-fuzz.git
[Libarchive] Removed creation of corpus from build script (#3744)
This commit is contained in:
parent
9f0b9af101
commit
aec1054d97
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue