#include #include #include "wireframe/l7/dns.hpp" // DNS name decoding (length-prefixed labels, a historically bug-prone // area in real-world parsers) is the main risk here - fuzz both the // raw parser and the dissector wrapper main.cpp actually calls. extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { wireframe::net::parse_dns({data, size}); wireframe::net::DnsDissector dissector; dissector.summarize({data, size}); return 0; }