Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Unified Diff: BUILD.gn

Issue 2336603002: [wasm] Write fuzzers for single wasm sections. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 6aa9fb28445730a07c197d1a6818e965bf90b2b0..b5ce86bcb073c3115eb661b1514824c927094ad9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2623,3 +2623,134 @@ v8_source_set("wasm_code_fuzzer") {
v8_fuzzer("wasm_code_fuzzer") {
}
+
+v8_source_set("wasm_types_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ "test/fuzzer/wasm-types-section-fuzzer.cc",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_names_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-names-section-fuzzer.cc",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_globals_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-globals-section-fuzzer.cc",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_imports_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-imports-section-fuzzer.cc",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_function_sigs_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-function-sigs-section-fuzzer.cc",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_memory_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-memory-section-fuzzer.cc",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_data_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-data-section-fuzzer.cc",
+ "test/fuzzer/wasm-section-fuzzers.cc",
jochen (gone - plz use gerrit) 2016/09/12 14:58:10 that's also duplicated across all new targets you
ahaas 2016/09/12 16:10:25 I introduced another source_set.
+ "test/fuzzer/wasm-section-fuzzers.h",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_source_set("wasm_section_fuzzer") {
+ sources = [
+ "test/cctest/wasm/wasm-module-runner.cc",
jochen (gone - plz use gerrit) 2016/09/12 14:57:21 can you move this into a separate source_set? we s
ahaas 2016/09/12 16:10:25 Done.
+ "test/cctest/wasm/wasm-module-runner.h",
+ "test/fuzzer/wasm-section-fuzzers.cc",
+ "test/fuzzer/wasm-section-fuzzers.h",
+ "test/fuzzer/wasm-section.cc",
+ ]
+
+ deps = [
+ ":fuzzer_support",
+ ]
+
+ configs = [ ":internal_config" ]
+}
+
+v8_fuzzer("wasm_section_fuzzer") {
jochen (gone - plz use gerrit) 2016/09/12 14:57:21 why no fuzzers for the others?
ahaas 2016/09/12 16:10:25 This executable calls all the section fuzzers. The
+}
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698