Chromium Code Reviews| 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 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 156 | 156 |
| 157 fuzzer_test("base_json_reader_fuzzer") { | 157 fuzzer_test("base_json_reader_fuzzer") { |
| 158 sources = [ | 158 sources = [ |
| 159 "base_json_reader_fuzzer.cc", | 159 "base_json_reader_fuzzer.cc", |
| 160 ] | 160 ] |
| 161 deps = [ | 161 deps = [ |
| 162 "//base", | 162 "//base", |
| 163 ] | 163 ] |
| 164 } | 164 } |
| 165 | 165 |
| 166 libpng_seed_corpuses = [ | |
|
mmoroz
2017/03/06 19:37:30
Nice! Maybe even rename it to "png_seed_corpus", b
| |
| 167 "//cc/test/data", | |
| 168 "//third_party/WebKit/LayoutTests/images/png-suite/samples", | |
| 169 "//third_party/WebKit/LayoutTests/images/resources/pngfuzz", | |
| 170 ] | |
| 171 | |
| 166 fuzzer_test("gfx_png_image_fuzzer") { | 172 fuzzer_test("gfx_png_image_fuzzer") { |
| 167 sources = [ | 173 sources = [ |
| 168 "gfx_png_image_fuzzer.cc", | 174 "gfx_png_image_fuzzer.cc", |
| 169 ] | 175 ] |
| 170 deps = [ | 176 deps = [ |
| 171 "//base", | 177 "//base", |
| 172 "//ui/gfx", | 178 "//ui/gfx", |
| 173 ] | 179 ] |
| 174 dict = "dicts/png.dict" | 180 dict = "dicts/png.dict" |
| 175 seed_corpuses = [ | 181 seed_corpuses = libpng_seed_corpuses |
| 176 "//cc/test/data", | |
| 177 "//third_party/WebKit/LayoutTests/images/png-suite/samples", | |
| 178 "//third_party/WebKit/LayoutTests/images/resources/pngfuzz", | |
| 179 ] | |
| 180 } | 182 } |
| 181 | 183 |
| 182 fuzzer_test("zlib_uncompress_fuzzer") { | 184 fuzzer_test("zlib_uncompress_fuzzer") { |
| 183 sources = [ | 185 sources = [ |
| 184 "zlib_uncompress_fuzzer.cc", | 186 "zlib_uncompress_fuzzer.cc", |
| 185 ] | 187 ] |
| 186 deps = [ | 188 deps = [ |
| 187 "//third_party/zlib", | 189 "//third_party/zlib", |
| 188 ] | 190 ] |
| 189 } | 191 } |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 200 | 202 |
| 201 fuzzer_test("libpng_read_fuzzer") { | 203 fuzzer_test("libpng_read_fuzzer") { |
| 202 sources = [ | 204 sources = [ |
| 203 "libpng_read_fuzzer.cc", | 205 "libpng_read_fuzzer.cc", |
| 204 ] | 206 ] |
| 205 deps = [ | 207 deps = [ |
| 206 "//base", | 208 "//base", |
| 207 "//third_party/libpng", | 209 "//third_party/libpng", |
| 208 ] | 210 ] |
| 209 dict = "dicts/png.dict" | 211 dict = "dicts/png.dict" |
| 210 seed_corpuses = [ | 212 seed_corpuses = libpng_seed_corpuses |
| 211 "//cc/test/data", | 213 } |
| 212 "//third_party/WebKit/LayoutTests/images/png-suite/samples", | 214 |
| 213 "//third_party/WebKit/LayoutTests/images/resources/pngfuzz", | 215 fuzzer_test("libpng_progressive_read_fuzzer") { |
| 216 sources = [ | |
| 217 "libpng_read_fuzzer.cc", | |
| 214 ] | 218 ] |
| 219 defines = [ "PNG_FUZZ_PROGRESSIVE" ] | |
| 220 deps = [ | |
| 221 "//base", | |
| 222 "//third_party/libpng", | |
| 223 ] | |
| 224 dict = "dicts/png.dict" | |
| 225 seed_corpuses = libpng_seed_corpuses | |
| 215 } | 226 } |
| 216 | 227 |
| 217 fuzzer_test("v8_script_parser_fuzzer") { | 228 fuzzer_test("v8_script_parser_fuzzer") { |
| 218 sources = [] | 229 sources = [] |
| 219 deps = [ | 230 deps = [ |
| 220 "//v8:parser_fuzzer", | 231 "//v8:parser_fuzzer", |
| 221 ] | 232 ] |
| 222 dict = "dicts/generated/v8_script_parser_fuzzer.dict" | 233 dict = "dicts/generated/v8_script_parser_fuzzer.dict" |
| 223 seed_corpus = "//v8/test/mjsunit/regress/" | 234 seed_corpus = "//v8/test/mjsunit/regress/" |
| 224 } | 235 } |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 437 } | 448 } |
| 438 | 449 |
| 439 fuzzer_test("hash_fuzzer") { | 450 fuzzer_test("hash_fuzzer") { |
| 440 sources = [ | 451 sources = [ |
| 441 "hash_fuzzer.cc", | 452 "hash_fuzzer.cc", |
| 442 ] | 453 ] |
| 443 deps = [ | 454 deps = [ |
| 444 "//base", | 455 "//base", |
| 445 ] | 456 ] |
| 446 } | 457 } |
| OLD | NEW |