Add XFA pdfium fuzzer

Desktop / Chromium - dsinclair [chromium.org] - 23 March 2017 15:51 EDT

This CL updates the pdfium_fuzzer to also build in the needed XFA code. The BUILD file is changed to only build pdfium_fuzzer if we're not in XFA and build pdfium_xfa_fuzzer if we're in XFA.

Review-Url: https://codereview.chromium.org/2754103002 Cr-Commit-Position: refs/heads/master@{#459186}

034ca93 Add XFA pdfium fuzzer
pdf/pdfium/fuzzers/BUILD.gn | 23 +++
pdf/pdfium/fuzzers/pdfium_fuzzer.cc | 212 ++-----------------------
pdf/pdfium/fuzzers/pdfium_fuzzer_helper.cc | 247 +++++++++++++++++++++++++++++
pdf/pdfium/fuzzers/pdfium_fuzzer_helper.h | 28 ++++
pdf/pdfium/fuzzers/pdfium_xfa_fuzzer.cc | 28 ++++
5 files changed, 335 insertions(+), 203 deletions(-)

Upstream: git.chromium.org


  • Share