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

Unified Diff: third_party/WebKit/Source/core/BUILD.gn

Issue 2261873002: Add fuzzer for HTMLPreloadScanner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add include 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h » ('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 2ff96bde729d37b07f61b0494b296895b5dcf8d2..c8c7d5141041e231ec2dd53ca496b06c5a2468b9 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -937,6 +937,7 @@ target(core_link_small_target_type, "core_generated") {
# Fuzzer for blink::TextResourceDecoder.
fuzzer_test("text_resource_decoder_fuzzer") {
sources = [
+ "html/parser/TextResourceDecoderForFuzzing.h",
"html/parser/TextResourceDecoderFuzzer.cpp",
]
deps = [
@@ -1254,3 +1255,16 @@ fuzzer_test("stylesheet_contents_fuzzer") {
seed_corpus = "//third_party/WebKit/LayoutTests/fast/css/resources"
libfuzzer_options = [ "max_len=2048" ]
}
+
+# Fuzzer for blink::HTMLPreloadScanner.
+fuzzer_test("html_preload_scanner_fuzzer") {
+ sources = [
+ "html/parser/HTMLPreloadScannerFuzzer.cpp",
+ "html/parser/TextResourceDecoderForFuzzing.h",
+ ]
+ seed_corpus = "//third_party/WebKit/LayoutTests/fast/parser"
+ deps = [
+ ":core",
+ "../platform:blink_fuzzer_test_support",
+ ]
+}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698