2020-09-14 18:42:08 +00:00
|
|
|
# Fuzzer bundle uploads
|
|
|
|
#
|
|
|
|
# This script builds the appropriate fuzzing bundles and uploads them to the google cloud bucket.
|
|
|
|
# Clusterfuzz will pick up the new fuzz bundles as fuzzing jobs are run.
|
|
|
|
|
|
|
|
# Build targets.
|
2021-09-20 18:59:44 +00:00
|
|
|
bazel build --config=fuzz --config=nostamp \
|
2021-09-16 17:32:51 +00:00
|
|
|
//testing/fuzz:block_fuzz_test_libfuzzer_bundle \
|
|
|
|
//testing/fuzz:state_fuzz_test_libfuzzer_bundle \
|
|
|
|
//testing/fuzz:ssz_encoder_attestations_test_libfuzzer_bundle
|
2020-09-14 18:42:08 +00:00
|
|
|
|
|
|
|
# Upload bundles with date timestamps in the filename.
|
2021-03-24 19:57:27 +00:00
|
|
|
gsutil cp bazel-bin/fuzz/block_fuzz_test_libfuzzer_bundle.zip gs://builds.prysmaticlabs.appspot.com/libfuzzer_asan_blocks/fuzzer-build-"$(date +%Y%m%d%H%M)".zip
|
|
|
|
gsutil cp bazel-bin/fuzz/state_fuzz_test_libfuzzer_bundle.zip gs://builds.prysmaticlabs.appspot.com/libfuzzer_asan_state/fuzzer-build-"$(date +%Y%m%d%H%M)".zip
|
|
|
|
gsutil cp bazel-bin/fuzz/ssz_encoder_attestations_test_libfuzzer_bundle.zip gs://builds.prysmaticlabs.appspot.com/libfuzzer_asan_ssz_encoder_attestations/fuzzer-build-"$(date +%Y%m%d%H%M)".zip
|