OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Individual libfuzzer tests that didn't find their home yet. | 5 # Individual libfuzzer tests that didn't find their home yet. |
6 | 6 |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//testing/libfuzzer/fuzzer_test.gni") | 9 import("//testing/libfuzzer/fuzzer_test.gni") |
10 | 10 |
11 # root BUILD depenends on this target. Needed for package discovery | 11 # root BUILD depends on this target. Needed for package discovery |
12 group("fuzzers") { | 12 group("fuzzers") { |
13 } | 13 } |
14 | 14 |
15 fuzzer_test("empty_fuzzer") { | 15 fuzzer_test("empty_fuzzer") { |
16 sources = [ | 16 sources = [ |
17 "empty_fuzzer.cc", | 17 "empty_fuzzer.cc", |
18 ] | 18 ] |
19 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] | 19 additional_configs = [ "//testing/libfuzzer:no_clusterfuzz" ] |
20 } | 20 } |
21 | 21 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 fuzzer_test("string_to_int_fuzzer") { | 107 fuzzer_test("string_to_int_fuzzer") { |
108 sources = [ | 108 sources = [ |
109 "string_to_int_fuzzer.cc", | 109 "string_to_int_fuzzer.cc", |
110 ] | 110 ] |
111 deps = [ | 111 deps = [ |
112 "//base", | 112 "//base", |
113 ] | 113 ] |
114 } | 114 } |
115 | 115 |
| 116 fuzzer_test("template_url_parser_fuzzer") { |
| 117 sources = [ |
| 118 "template_url_parser_fuzzer.cc", |
| 119 ] |
| 120 deps = [ |
| 121 "//components/search_engines:search_engines", |
| 122 ] |
| 123 dict = "dicts/xml.dict" |
| 124 libfuzzer_options = [ "max_len=4096" ] |
| 125 } |
| 126 |
116 fuzzer_test("url_parse_fuzzer") { | 127 fuzzer_test("url_parse_fuzzer") { |
117 sources = [ | 128 sources = [ |
118 "url_parse_fuzzer.cc", | 129 "url_parse_fuzzer.cc", |
119 ] | 130 ] |
120 deps = [ | 131 deps = [ |
121 "//base", | 132 "//base", |
122 "//base:i18n", | 133 "//base:i18n", |
123 "//url:url", | 134 "//url:url", |
124 ] | 135 ] |
125 dict = "dicts/generated/url_parse_fuzzer.dict" | 136 dict = "dicts/generated/url_parse_fuzzer.dict" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 } | 449 } |
439 | 450 |
440 fuzzer_test("hash_fuzzer") { | 451 fuzzer_test("hash_fuzzer") { |
441 sources = [ | 452 sources = [ |
442 "hash_fuzzer.cc", | 453 "hash_fuzzer.cc", |
443 ] | 454 ] |
444 deps = [ | 455 deps = [ |
445 "//base", | 456 "//base", |
446 ] | 457 ] |
447 } | 458 } |
OLD | NEW |