mirror of
https://github.com/mirror/wget.git
synced 2024-12-27 13:20:23 +08:00
* fuzz/get_ossfuzz_corpora: Remove -f from unzip, mkdir *.in/
This commit is contained in:
parent
370b778db2
commit
c34e9a8c47
@ -23,10 +23,10 @@ fuzzer=$1
|
||||
project=wget
|
||||
|
||||
# sync/copy the OSS-Fuzz corpora into the .new directory
|
||||
mkdir -p ${fuzzer}.new
|
||||
cp -fp ${fuzzer}.in/* ${fuzzer}.new
|
||||
gsutil cp $(gsutil ls gs://${project}-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/${fuzzer}|tail -n 1) ${fuzzer}.new
|
||||
(cd ${fuzzer}.new && unzip -q -f -o *.zip && rm *.zip)
|
||||
mkdir -p ${fuzzer}.in ${fuzzer}.new
|
||||
cp -fp ${fuzzer}.in/* ${fuzzer}.new 2>/dev/null || true
|
||||
gsutil cp $(gsutil ls gs://${project}-backup.clusterfuzz-external.appspot.com/corpus/libFuzzer/${fuzzer}|tail -n 1) ${fuzzer}.new/
|
||||
(cd ${fuzzer}.new && unzip -q -o *.zip && rm *.zip)
|
||||
|
||||
# create fuzzer target
|
||||
BUILD_ONLY=1 ./run-clang.sh ${fuzzer}
|
||||
|
Loading…
Reference in New Issue
Block a user