MCPcopy Create free account
hub / github.com/boostorg/json / LLVMFuzzerTestOneInput

Function LLVMFuzzerTestOneInput

fuzzing/fuzz_basic_parser.cpp:89–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88extern "C"
89int
90LLVMFuzzerTestOneInput(
91 const uint8_t* data, size_t size)
92{
93 try
94 {
95 validate(string_view{
96 reinterpret_cast<const char*
97 >(data), size});
98 }
99 catch(...)
100 {
101 }
102 return 0;
103}

Callers

nothing calls this directly

Calls 1

validateFunction · 0.70

Tested by

no test coverage detected