solidity: Update seed corpus (#3403)

This commit is contained in:
Bhargava Shastry 2020-02-19 20:24:40 +05:30 committed by GitHub
parent e661c8c4a8
commit 8cfcd03fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -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/