simdjson/fuzz/fuzz_parser.cpp

11 lines
237 B
C++
Raw Normal View History

#include "simdjson/jsonparser.h"
#include <cstddef>
#include <cstdint>
#include <string>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
auto ignored = simdjson::build_parsed_json(Data, Size);
return 0;
}