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

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

Issue 2168263005: Change pdf/pdfium/fuzzers/BUILD.gn to use dicts and seed corpora (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/corpora/pdf_codec_gif/not_kitty.gif » ('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 2df2e9afdeda312f6c34ff2bb805be6d35cc939d..ebe053eb292f1d072d9f4b7593cb84c24f47d542 100644
--- a/pdf/pdfium/fuzzers/BUILD.gn
+++ b/pdf/pdfium/fuzzers/BUILD.gn
@@ -33,6 +33,7 @@ fuzzer_test("pdf_jpx_fuzzer") {
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_jpx_fuzzer",
]
+ seed_corpus = "corpora/pdf_jpx"
}
if (pdf_enable_xfa) {
@@ -41,6 +42,7 @@ if (pdf_enable_xfa) {
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_codec_bmp_fuzzer",
]
+ seed_corpus = "corpora/pdf_codec_bmp"
}
fuzzer_test("pdf_codec_gif_fuzzer") {
@@ -48,6 +50,8 @@ if (pdf_enable_xfa) {
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_codec_gif_fuzzer",
]
+ dict = "dicts/pdf_codec_gif.dict"
+ seed_corpus = "corpora/pdf_codec_gif"
}
fuzzer_test("pdf_codec_jpeg_fuzzer") {
@@ -55,6 +59,8 @@ if (pdf_enable_xfa) {
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_codec_jpeg_fuzzer",
]
+ dict = "dicts/pdf_codec_jpeg.dict"
+ seed_corpus = "corpora/pdf_codec_jpeg"
}
fuzzer_test("pdf_codec_png_fuzzer") {
@@ -62,6 +68,8 @@ if (pdf_enable_xfa) {
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_codec_png_fuzzer",
]
+ dict = "dicts/pdf_codec_png.dict"
+ seed_corpus = "corpora/pdf_codec_png"
}
fuzzer_test("pdf_codec_tiff_fuzzer") {
@@ -69,6 +77,8 @@ if (pdf_enable_xfa) {
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_codec_tiff_fuzzer",
]
+ dict = "dicts/pdf_codec_tiff.dict"
+ seed_corpus = "corpora/pdf_codec_tiff"
}
fuzzer_test("pdf_css_fuzzer") {
« no previous file with comments | « no previous file | pdf/pdfium/fuzzers/corpora/pdf_codec_gif/not_kitty.gif » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698