#include #include #include extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { std::vector raw = {data, data + size}; std::unique_ptr binaries; try { binaries = std::unique_ptr(LIEF::MachO::Parser::parse(raw)); } catch (const LIEF::exception& e) { std::cout << e.what() << std::endl; } return 0; }