Oss-fuzz ideal integration (#1262)
* Fix watchpoint leak in ARM * Builds fuzz targets with sanitizer support * Builds fuzz targets with directory driver * Adds script to dowlonad public corpus * Adds CIfuzz To checks Pull Requests with fuzzing * Use static library for fuzz targets * Less verbose logs for fuzz driver directory
This commit is contained in:
11
tests/fuzz/dlcorpus.sh
Normal file
11
tests/fuzz/dlcorpus.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#/bin/sh
|
||||
#change to script directory
|
||||
cd `dirname $0`
|
||||
ls fuzz_emu*.c | sed 's/.c//' | while read target
|
||||
do
|
||||
#download public corpus
|
||||
wget "https://storage.googleapis.com/unicorn-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/unicorn_$target/public.zip"
|
||||
unzip -q public.zip -d corpus_$target
|
||||
#run target on corpus
|
||||
./$target corpus_$target
|
||||
done
|
||||
Reference in New Issue
Block a user