K. Moon | 832a694 | 2022-10-31 20:11:31 +0000 | [diff] [blame] | 1 | // Copyright 2016 The PDFium Authors |
dsinclair | 5a5f251 | 2016-06-06 11:52:30 -0700 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Lei Zhang | fa4d93a | 2018-05-25 21:47:19 +0000 | [diff] [blame] | 5 | #include "testing/fuzzers/xfa_codec_fuzzer.h" |
dsinclair | 5a5f251 | 2016-06-06 11:52:30 -0700 | [diff] [blame] | 6 | |
| 7 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
| 8 | return XFACodecFuzzer::Fuzz(data, size, FXCODEC_IMAGE_JPG); |
| 9 | } |