diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-06 08:48:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-06 08:48:50 -0700 |
commit | f7e108b2d0c2f67a143e99693df084bfff7037ec (patch) | |
tree | 51a987a7e62129a57d88553406d36a562d8d446e /testing/libfuzzer/BUILD.gn | |
parent | d1b859c0bc849759ee57dba000687eef4fee9757 (diff) | |
download | pdfium-f7e108b2d0c2f67a143e99693df084bfff7037ec.tar.xz |
XFA PNG Fuzzerchromium/2762chromium/2761
This CL creates a fuzzer for the CCodec_PngModule code.
BUG=chromium:616838
Review-Url: https://codereview.chromium.org/2047453002
Diffstat (limited to 'testing/libfuzzer/BUILD.gn')
-rw-r--r-- | testing/libfuzzer/BUILD.gn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn index 0ee8b29e38..e1152f9b69 100644 --- a/testing/libfuzzer/BUILD.gn +++ b/testing/libfuzzer/BUILD.gn @@ -47,6 +47,20 @@ if (pdf_enable_xfa) { ":libfuzzer_config", ] } + source_set("pdf_codec_png_fuzzer") { + testonly = true + sources = [ + "pdf_codec_png_fuzzer.cc", + ] + deps = [ + "//third_party/pdfium:pdfium", + ] + configs -= [ "//build/config/compiler:chromium_code" ] + configs += [ + "//build/config/compiler:no_chromium_code", + ":libfuzzer_config", + ] + } } source_set("pdf_jpx_fuzzer") { |