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

Side by Side Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2274563002: Add fuzzer infra to blink and fuzz CSS parser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use explicit deps 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/StyleSheetContentsFuzzer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromecast_build.gni") 6 import("//build/config/chromecast_build.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/split_static_library.gni") 8 import("//build/split_static_library.gni")
9 import("//testing/libfuzzer/fuzzer_test.gni") 9 import("//testing/libfuzzer/fuzzer_test.gni")
10 import("//third_party/WebKit/Source/bindings/bindings.gni") 10 import("//third_party/WebKit/Source/bindings/bindings.gni")
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 # Fuzzer for blink::TextResourceDecoder. 1119 # Fuzzer for blink::TextResourceDecoder.
1120 fuzzer_test("text_resource_decoder_fuzzer") { 1120 fuzzer_test("text_resource_decoder_fuzzer") {
1121 sources = [ 1121 sources = [
1122 "html/parser/TextResourceDecoderFuzzer.cpp", 1122 "html/parser/TextResourceDecoderFuzzer.cpp",
1123 ] 1123 ]
1124 deps = [ 1124 deps = [
1125 ":core", 1125 ":core",
1126 "../platform:test_support", 1126 "../platform:test_support",
1127 ] 1127 ]
1128 } 1128 }
1129
1130 # Fuzzer for blink::StyleSheetContents
1131 fuzzer_test("stylesheet_contents_fuzzer") {
1132 sources = [
1133 "css/StyleSheetContentsFuzzer.cpp",
1134 ]
1135 deps = [
1136 ":core",
1137 "../platform:blink_fuzzer_test_support",
1138 ]
1139 seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources/*.css"
mmoroz 2016/08/25 08:00:47 I'm afraid this wildcard won't work because we exp
Charlie Harrison 2016/08/25 13:01:14 My main concern was files that were too big (e.g.
mmoroz 2016/08/25 13:15:15 It should be fine. LibFuzzer will use only first |
1140 libfuzzer_options = [ "max_len=2048" ]
1141 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/StyleSheetContentsFuzzer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698