#include #include // https://llvm.org/docs/LibFuzzer.html // https://github.com/google/fuzzing/blob/master/docs/structure-aware-fuzzing.md extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { // TODO: // MapSession map_session_data; // CCharEntity CChar; // auto packet = CBasicPacket(reinterpret_cast(Data)); // PacketParser[SmallPD_Type](&map_session_data, &CChar, packet); return 0; }