| 46 | } |
| 47 | |
| 48 | extern "C" int |
| 49 | LLVMFuzzerTestOneInput(const uint8_t *input_data, size_t size_data) |
| 50 | { |
| 51 | if (size_data < kMinInputLength || size_data > kMaxInputLength) { |
| 52 | return 1; |
| 53 | } |
| 54 | |
| 55 | cmd_disable_pfreelist = true; |
| 56 | |
| 57 | static bool Initialized = DoInitialization(); |
| 58 | |
| 59 | MIOBuffer *input1 = new_MIOBuffer(BUFFER_SIZE_INDEX_128); |
| 60 | input1->write(input_data, size_data); |
| 61 | IOBufferReader *input_reader1 = input1->alloc_reader(); |
| 62 | |
| 63 | Http3FrameFactory frame_factory; |
| 64 | frame_factory.fast_create(*input_reader1); |
| 65 | |
| 66 | free_MIOBuffer(input1); |
| 67 | |
| 68 | return 0; |
| 69 | } |
nothing calls this directly
no test coverage detected