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

Unified 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, 4 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 | « no previous file | third_party/WebKit/Source/core/css/StyleSheetContentsFuzzer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index c1dce612e52b0f1446e4ef3bf2d7158f0c3390c3..1179e9276e2f1a9e7d3376ccac190c84afb17dc5 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -1126,3 +1126,16 @@ fuzzer_test("text_resource_decoder_fuzzer") {
"../platform:test_support",
]
}
+
+# Fuzzer for blink::StyleSheetContents
+fuzzer_test("stylesheet_contents_fuzzer") {
+ sources = [
+ "css/StyleSheetContentsFuzzer.cpp",
+ ]
+ deps = [
+ ":core",
+ "../platform:blink_fuzzer_test_support",
+ ]
+ 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 |
+ libfuzzer_options = [ "max_len=2048" ]
+}
« 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