summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/BUILD.gn
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-10-19 14:37:06 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-19 18:56:15 +0000
commitc136b3146257d0f12d1347a9f1a4784372e19a56 (patch)
tree84da176326c028f2c3b888924a73367cb9446c31 /testing/libfuzzer/BUILD.gn
parent943360187bb881fe94f14571c955e03f81203573 (diff)
downloadpdfium-c136b3146257d0f12d1347a9f1a4784372e19a56.tar.xz
Implement fuzzer for LZW decompressor
This adds a fuzzer that tests the LZW decompression code used by our GIF decoder. BUG=pdfium:908 Change-Id: I1381f3ebb2eddf8d2c6f0394b1bb00f67d64a600 Reviewed-on: https://pdfium-review.googlesource.com/16310 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'testing/libfuzzer/BUILD.gn')
-rw-r--r--testing/libfuzzer/BUILD.gn7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index 2952444421..d23fb88376 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -46,6 +46,7 @@ group("libfuzzer") {
":pdf_codec_tiff_fuzzer",
":pdf_css_fuzzer",
":pdf_fm2js_fuzzer",
+ ":pdf_lzw_fuzzer",
":pdf_xml_fuzzer",
]
}
@@ -129,6 +130,12 @@ if (pdf_enable_xfa) {
]
}
+ pdfium_fuzzer("pdf_lzw_fuzzer") {
+ sources = [
+ "pdf_lzw_fuzzer.cc",
+ ]
+ }
+
pdfium_fuzzer("pdf_xml_fuzzer") {
sources = [
"pdf_xml_fuzzer.cc",