mirror of https://github.com/google/oss-fuzz.git
solidity: Update seed corpus (#3403)
This commit is contained in:
parent
e661c8c4a8
commit
8cfcd03fd5
|
@ -39,10 +39,15 @@ make ossfuzz ossfuzz_proto ossfuzz_abiv2 -j $(nproc)
|
|||
# Copy fuzzer binary, seed corpus, fuzzer options, and dictionary
|
||||
cp test/tools/ossfuzz/*_ossfuzz $OUT/
|
||||
rm -f $OUT/*.zip
|
||||
|
||||
# Update corpus
|
||||
cd $SRC/solidity-fuzzing-corpus
|
||||
git pull origin master
|
||||
|
||||
for dir in $SRC/solidity-fuzzing-corpus/*;
|
||||
do
|
||||
name=$(basename $dir)
|
||||
zip -rjq $OUT/$name $dir
|
||||
zip -rq $OUT/$name $dir
|
||||
done
|
||||
cp $SRC/solidity/test/tools/ossfuzz/config/*.options $OUT/
|
||||
cp $SRC/solidity/test/tools/ossfuzz/config/*.dict $OUT/
|
||||
|
|
Loading…
Reference in New Issue