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

Function LLVMFuzzerTestOneInput

fuzzing/fuzz_parse.cpp:26–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25extern "C"
26int
27LLVMFuzzerTestOneInput(
28 const uint8_t* data, size_t size)
29{
30 try
31 {
32 string_view s{reinterpret_cast<
33 const char*>(data), size};
34 fuzz_parse(s);
35 }
36 catch(...)
37 {
38 }
39 return 0;
40}

Callers

nothing calls this directly

Calls 1

fuzz_parseFunction · 0.85

Tested by

no test coverage detected