0

[fuzzers] Move wasm_corpus from GCS to Git repo

Instead of using Google Cloud Storage to download wasm_corpus fuzzers,
use a Git repository. This change also updates corpus location.

R=ahaas@google.com

Bug: b/337115560
Change-Id: I3cec7ecd33eb8283011f5f88826320f4294d3729
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5503175
Commit-Queue: Josip Sokcevic <sokcevic@chromium.org>
Auto-Submit: Josip Sokcevic <sokcevic@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1295629}
This commit is contained in:
Josip Sokcevic
2024-05-02 18:31:32 +00:00
committed by Chromium LUCI CQ
parent 06b01566f2
commit 7a4cbc9c10
4 changed files with 10 additions and 16 deletions
.gitmodulesDEPS
testing/libfuzzer/fuzzers

3
.gitmodules vendored

@ -112,6 +112,9 @@
[submodule "net/third_party/quiche/src"]
path = net/third_party/quiche/src
url = https://quiche.googlesource.com/quiche
[submodule "testing/libfuzzer/fuzzers/wasm_corpus"]
path = testing/libfuzzer/fuzzers/wasm_corpus
url = https://chromium.googlesource.com/v8/fuzzer_wasm_corpus
[submodule "third_party/accessibility_test_framework/src"]
path = third_party/accessibility_test_framework/src
url = https://chromium.googlesource.com/external/github.com/google/Accessibility-Test-Framework-for-Android

16
DEPS

@ -1024,6 +1024,9 @@ deps = {
'src/net/third_party/quiche/src':
Var('quiche_git') + '/quiche.git' + '@' + Var('quiche_revision'),
'src/testing/libfuzzer/fuzzers/wasm_corpus':
Var('chromium_git') + '/v8/fuzzer_wasm_corpus.git' + '@' + 'f650ff816f2ef227f61ea2e9f222aa69708ab367',
'src/tools/luci-go': {
'packages': [
{
@ -4941,18 +4944,6 @@ hooks = [
'src/third_party/apache-win32',
],
},
{
'name': 'wasm_fuzzer',
'pattern': '.',
'action': [ 'python3',
'src/third_party/depot_tools/download_from_google_storage.py',
'--no_resume',
'--no_auth',
'-u',
'--bucket', 'v8-wasm-fuzzer',
'-s', 'src/v8/test/fuzzer/wasm_corpus.tar.gz.sha1',
],
},
# Download selected models from TFHub as testdata.
{
'name': 'download_tfhub_models',
@ -4965,7 +4956,6 @@ hooks = [
'-s', 'src/third_party/tfhub_models/models.tar.gz.sha1',
],
},
# Pull down Node binaries for WebUI toolchain.
# The Linux binary is always downloaded regardless of host os and architecture
# since remote node actions run on Linux worker.

@ -222,17 +222,17 @@ if (v8_enable_webassembly) {
v8_fuzzer("wasm_fuzzer") {
max_len = 500
seed_corpus = "//v8/test/fuzzer/wasm_corpus/"
seed_corpus = "//testing/libfuzzer/fuzzers/wasm_corpus/"
}
v8_fuzzer("wasm_async_fuzzer") {
max_len = 500
seed_corpus = "//v8/test/fuzzer/wasm_corpus/"
seed_corpus = "//testing/libfuzzer/fuzzers/wasm_corpus/"
}
v8_fuzzer("wasm_streaming_fuzzer") {
max_len = 500
seed_corpus = "//v8/test/fuzzer/wasm_corpus/"
seed_corpus = "//testing/libfuzzer/fuzzers/wasm_corpus/"
}
v8_fuzzer("wasm_init_expr_fuzzer") {