xref: /aosp_15_r20/external/pdfium/testing/fuzzers/pdfium_xfa_lpm_fuzz_stub.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2019 The PDFium Authors
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