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

Unified Diff: pdf/pdfium/fuzzers/BUILD.gn

Issue 2754103002: Add XFA pdfium fuzzer (Closed)
Patch Set: seed corpus Created 3 years, 9 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 | pdf/pdfium/fuzzers/pdfium_fuzzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/fuzzers/BUILD.gn
diff --git a/pdf/pdfium/fuzzers/BUILD.gn b/pdf/pdfium/fuzzers/BUILD.gn
index 70a043c5e3f4c1e3716447771ff42ac1d7d07a73..c5aaf3af47ec4197039f055e6018805be2c6aa61 100644
--- a/pdf/pdfium/fuzzers/BUILD.gn
+++ b/pdf/pdfium/fuzzers/BUILD.gn
@@ -14,6 +14,8 @@ group("fuzzers") {
fuzzer_test("pdfium_fuzzer") {
sources = [
"pdfium_fuzzer.cc",
+ "pdfium_fuzzer_helper.cc",
+ "pdfium_fuzzer_helper.h",
]
deps = [
"//third_party/pdfium",
@@ -26,6 +28,7 @@ fuzzer_test("pdfium_fuzzer") {
"//v8:external_startup_data",
]
dict = "dicts/pdf.dict"
+ seed_corpus = "src/third_party/pdfium/test"
}
fuzzer_test("pdf_cmap_fuzzer") {
@@ -181,4 +184,24 @@ if (pdf_enable_xfa) {
]
dict = "dicts/pdf_xml.dict"
}
+
+ fuzzer_test("pdfium_xfa_fuzzer") {
+ sources = [
+ "pdfium_fuzzer_helper.cc",
+ "pdfium_fuzzer_helper.h",
+ "pdfium_xfa_fuzzer.cc",
+ ]
+ deps = [
+ "//third_party/pdfium",
+ "//third_party/pdfium:test_support",
+ "//v8",
+ "//v8:v8_libplatform",
+ ]
+ additional_configs = [
+ "//third_party/pdfium:pdfium_core_config",
+ "//v8:external_startup_data",
+ ]
+ dict = "dicts/pdf.dict"
+ seed_corpus = "src/third_party/pdfium/test"
+ }
}
« no previous file with comments | « no previous file | pdf/pdfium/fuzzers/pdfium_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698