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

Unified Diff: test/fuzzer/fuzzer.gyp

Issue 2336603002: [wasm] Write fuzzers for single wasm sections. (Closed)
Patch Set: Rebase 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 | « BUILD.gn ('k') | test/fuzzer/fuzzer.isolate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/fuzzer/fuzzer.gyp
diff --git a/test/fuzzer/fuzzer.gyp b/test/fuzzer/fuzzer.gyp
index ecb53583e8a02ca7592e527be8cf3497480275cc..a28a9c957c9095b3213391793aa05ac92b3500cf 100644
--- a/test/fuzzer/fuzzer.gyp
+++ b/test/fuzzer/fuzzer.gyp
@@ -171,6 +171,216 @@
],
},
{
+ 'target_name': 'v8_simple_wasm_data_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_data_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_data_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-data-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
+ 'target_name': 'v8_simple_wasm_function_sigs_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_function_sigs_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_function_sigs_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-function-sigs-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
+ 'target_name': 'v8_simple_wasm_globals_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_globals_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_globals_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-globals-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
+ 'target_name': 'v8_simple_wasm_imports_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_imports_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_imports_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-imports-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
+ 'target_name': 'v8_simple_wasm_memory_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_memory_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_memory_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-memory-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
+ 'target_name': 'v8_simple_wasm_names_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_names_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_names_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-names-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
+ 'target_name': 'v8_simple_wasm_types_section_fuzzer',
+ 'type': 'executable',
+ 'dependencies': [
+ 'wasm_types_section_fuzzer_lib',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ 'fuzzer.cc',
+ ],
+ },
+ {
+ 'target_name': 'wasm_types_section_fuzzer_lib',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'fuzzer_support',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [ ### gcmole(all) ###
+ 'wasm-types-section.cc',
+ '../common/wasm/wasm-module-runner.cc',
+ '../common/wasm/wasm-module-runner.h',
+ '../fuzzer/wasm-section-fuzzers.cc',
+ '../fuzzer/wasm-section-fuzzers.h',
+ ],
+ },
+ {
'target_name': 'fuzzer_support',
'type': 'static_library',
'dependencies': [
« no previous file with comments | « BUILD.gn ('k') | test/fuzzer/fuzzer.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698