/* * Copyright (c) 2021, Kyle Pereira * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include extern "C" int LLVMFuzzerTestOneInput(uint8_t const* data, size_t size) { auto parser = IMAP::Parser(); parser.parse(ByteBuffer::copy(data, size).release_value(), true); parser.parse(ByteBuffer::copy(data, size).release_value(), false); return 0; }