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

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

Issue 2578263002: Add fuzzer for (A)PNG decoder (Closed)
Patch Set: Target fuzz towards static PNG and animated PNG Created 4 years 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
Index: third_party/WebKit/Source/platform/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 9685a9ab9225cc9066ca57a0b34b88a4d2e218eb..559ae6f14f71c385ed99ac1426ebe2d850f28b52 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -2018,6 +2018,18 @@ fuzzer_test("web_icon_sizes_fuzzer") {
dict = "//testing/libfuzzer/fuzzers/dicts/web_icon_sizes.dict"
}
+fuzzer_test("png_fuzzer") {
mmoroz 2017/01/03 08:18:36 Would you mind naming it a bit more explicitly? Fo
scroggo_chromium 2017/01/03 18:24:14 Done.
+ sources = [
+ "PngFuzzer.cpp",
+ ]
+ deps = [
+ ":blink_fuzzer_test_support",
+ ":platform",
+ "//third_party/libpng",
+ ]
+ seed_corpus = "//third_party/WebKit/LayoutTests/images/resources/pngfuzz"
mmoroz 2017/01/03 08:18:36 That's awesome that you're adding a seed corpus. I
scroggo_chromium 2017/01/03 18:24:14 Done. Should I also add "//cc/test/data" to the se
+}
+
# Fuzzer for blink::JSONParser.
fuzzer_test("blink_json_parser_fuzzer") {
sources = [

Powered by Google App Engine
This is Rietveld 408576698