mirror of
https://github.com/mirror/wget.git
synced 2025-01-16 07:10:23 +08:00
* fuzz/get_ossfuzz_corpora: Speed up corpora download
This commit is contained in:
parent
4188fcdced
commit
c88500fca8
@ -25,7 +25,8 @@ project=wget
|
||||
# sync/copy the OSS-Fuzz corpora into the .new directory
|
||||
mkdir -p ${fuzzer}.new
|
||||
cp -fp ${fuzzer}.in/* ${fuzzer}.new
|
||||
gsutil -m rsync gs://${project}-corpus.clusterfuzz-external.appspot.com/libFuzzer/${fuzzer} ${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)
|
||||
|
||||
# create fuzzer target
|
||||
BUILD_ONLY=1 ./run-clang.sh ${fuzzer}
|
||||
|
Loading…
Reference in New Issue
Block a user