Line | Count | Source |
1 | ||
2 | // | |
3 | // SPDX-License-Identifier: BSD-3-Clause | |
4 | // Copyright (c) Contributors to the OpenEXR Project. | |
5 | // | |
6 | ||
7 | ||
8 | #include <ImfNamespace.h> | |
9 | #include <ImfCheckFile.h> | |
10 | #include <stdint.h> | |
11 | ||
12 | using OPENEXR_IMF_NAMESPACE::checkOpenEXRFile; | |
13 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) | |
14 | 40.8k | { |
15 | 40.8k | checkOpenEXRFile ((const char*) data , size , true , true, false); |
16 | 40.8k | return 0; |
17 | 40.8k | } |
18 |