github.com/prysmaticlabs/prysm@v1.4.4/scripts/upload_fuzzers.sh (about) 1 # Fuzzer bundle uploads 2 # 3 # This script builds the appropriate fuzzing bundles and uploads them to the google cloud bucket. 4 # Clusterfuzz will pick up the new fuzz bundles as fuzzing jobs are run. 5 6 # Build targets. 7 bazel build --config=fuzz \ 8 //fuzz:block_fuzz_test_libfuzzer_bundle \ 9 //fuzz:state_fuzz_test_libfuzzer_bundle \ 10 //fuzz:ssz_encoder_attestations_test_libfuzzer_bundle 11 12 # Upload bundles with date timestamps in the filename. 13 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 14 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 15 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