1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef TESTING_FUZZERS_PDFIUM_XFA_LPM_FUZZ_STUB_H_ 6 #define TESTING_FUZZERS_PDFIUM_XFA_LPM_FUZZ_STUB_H_ 7 8 #include "public/fpdfview.h" 9 10 // LPM defines LLVMFuzzerTestOneInput, this function should be used by the LPM 11 // harness to pass the deserialized proto to PDFium. 12 FPDF_EXPORT void PdfiumXFALPMFuzzStub(const char* pdf, size_t size); 13 14 #endif // TESTING_FUZZERS_PDFIUM_XFA_LPM_FUZZ_STUB_H_ 15