Commit 20c9a731 authored by bradnelson's avatar bradnelson Committed by Commit bot

[wasm] Pulling in new wasm function fuzzer, and wasm module corpus.

Pulling in a new v8 fuzzer.
Adding a download step for the wasm and wasm->asm.js module fuzzers.

BUG=None
TEST=None
R=kcc@chromium.org,ahaas@chromium.org,mmoroz@chromium.org

Review-Url: https://codereview.chromium.org/2284393003
Cr-Commit-Position: refs/heads/master@{#415340}
parent ff96ea58
...@@ -1001,6 +1001,28 @@ hooks = [ ...@@ -1001,6 +1001,28 @@ hooks = [
'src/build/android/download_doclava.py', 'src/build/android/download_doclava.py',
], ],
}, },
{
"name": "wasm_fuzzer",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",
"--no_auth",
"-u",
"--bucket", "v8-wasm-fuzzer",
"-s", "src/v8/test/fuzzer/wasm.tar.gz.sha1",
],
},
{
"name": "wasm_asmjs_fuzzer",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",
"--no_auth",
"-u",
"--bucket", "v8-wasm-asmjs-fuzzer",
"-s", "src/v8/test/fuzzer/wasm_asmjs.tar.gz.sha1",
],
},
] ]
# ANGLE manages DEPS that it also owns the build files for, such as dEQP. # ANGLE manages DEPS that it also owns the build files for, such as dEQP.
......
...@@ -240,12 +240,23 @@ fuzzer_test("v8_regexp_parser_fuzzer") { ...@@ -240,12 +240,23 @@ fuzzer_test("v8_regexp_parser_fuzzer") {
libfuzzer_options = [ "max_len=1024" ] libfuzzer_options = [ "max_len=1024" ]
} }
fuzzer_test("v8_wasm_code_fuzzer") {
sources = []
deps = [
"//v8:wasm_code_fuzzer",
]
dict = "dicts/v8_wasm.dict"
seed_corpus = "//v8/test/fuzzer/wasm_code/"
libfuzzer_options = [ "max_len=500" ]
}
fuzzer_test("v8_wasm_fuzzer") { fuzzer_test("v8_wasm_fuzzer") {
sources = [] sources = []
deps = [ deps = [
"//v8:wasm_fuzzer", "//v8:wasm_fuzzer",
] ]
dict = "dicts/v8_wasm.dict" dict = "dicts/v8_wasm.dict"
seed_corpus = "//v8/test/fuzzer/wasm/"
libfuzzer_options = [ "max_len=500" ] libfuzzer_options = [ "max_len=500" ]
} }
...@@ -254,6 +265,9 @@ fuzzer_test("v8_wasm_asmjs_fuzzer") { ...@@ -254,6 +265,9 @@ fuzzer_test("v8_wasm_asmjs_fuzzer") {
deps = [ deps = [
"//v8:wasm_asmjs_fuzzer", "//v8:wasm_asmjs_fuzzer",
] ]
dict = "dicts/v8_wasm.dict"
seed_corpus = "//v8/test/fuzzer/wasm_asmjs/"
libfuzzer_options = [ "max_len=500" ]
} }
fuzzer_test("third_party_re2_fuzzer") { fuzzer_test("third_party_re2_fuzzer") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment