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

Unified Diff: testing/libfuzzer/fuzzers/BUILD.gn

Issue 1867833002: [libfuzzer] store custom options in .GN build target instead of a separate file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update reference.md of libFuzzer & CF documentation. Created 4 years, 8 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 | « testing/libfuzzer/fuzzer_test.gni ('k') | testing/libfuzzer/fuzzers/icu_uregex_open_fuzzer.options » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/libfuzzer/fuzzers/BUILD.gn
diff --git a/testing/libfuzzer/fuzzers/BUILD.gn b/testing/libfuzzer/fuzzers/BUILD.gn
index bab853b854af147699f52e959f5378ef206141c9..21d072bd62dbb2e997bd950f355c650bd4bf362f 100644
--- a/testing/libfuzzer/fuzzers/BUILD.gn
+++ b/testing/libfuzzer/fuzzers/BUILD.gn
@@ -58,7 +58,7 @@ if (proprietary_codecs) {
"//base",
"//media",
]
- libfuzzer_options = "mp4_box_reader_fuzzer.options"
+ libfuzzer_options = [ "max_len=500" ]
dict = "dicts/mp4.dict"
}
}
@@ -219,7 +219,7 @@ fuzzer_test("icu_uregex_open_fuzzer") {
"//third_party/icu",
]
dict = "dicts/icu_regex.dict"
- libfuzzer_options = "icu_uregex_open_fuzzer.options"
+ libfuzzer_options = [ "max_len=128" ]
}
fuzzer_test("v8_script_parser_fuzzer") {
@@ -244,7 +244,7 @@ fuzzer_test("v8_regexp_parser_fuzzer") {
"//v8:regexp_fuzzer",
]
dict = "dicts/regexp.dict"
- libfuzzer_options = "v8_regexp_parser_fuzzer.options"
+ libfuzzer_options = [ "max_len=1024" ]
}
fuzzer_test("v8_wasm_fuzzer") {
@@ -253,7 +253,7 @@ fuzzer_test("v8_wasm_fuzzer") {
"//v8:wasm_fuzzer",
]
dict = "dicts/v8_wasm.dict"
- libfuzzer_options = "v8_wasm_fuzzer.options"
+ libfuzzer_options = [ "max_len=500" ]
}
fuzzer_test("v8_wasm_asmjs_fuzzer") {
@@ -270,7 +270,7 @@ fuzzer_test("third_party_re2_fuzzer") {
deps = [
"//third_party/re2:re2",
]
- libfuzzer_options = "re2_fuzzer.options"
+ libfuzzer_options = [ "max_len=32" ]
}
fuzzer_test("libxml_xml_regexp_compile_fuzzer") {
@@ -280,6 +280,6 @@ fuzzer_test("libxml_xml_regexp_compile_fuzzer") {
deps = [
"//third_party/libxml",
]
- libfuzzer_options = "libxml_xml_regexp_compile_fuzzer.options"
+ libfuzzer_options = [ "max_len=32" ]
additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ]
}
« no previous file with comments | « testing/libfuzzer/fuzzer_test.gni ('k') | testing/libfuzzer/fuzzers/icu_uregex_open_fuzzer.options » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698