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

Function LLVMFuzzerTestOneInput

fuzzing/fuzz_direct_parse.cpp:81–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80extern "C"
81int
82LLVMFuzzerTestOneInput(
83 const uint8_t* data, size_t size)
84{
85 try
86 {
87 string_view sv{reinterpret_cast<
88 const char*>(data), size};
89 fuzz_direct_parse(sv);
90 }
91 catch(...)
92 {
93 }
94 return 0;
95}
96
97#endif // !defined(BOOST_DESCRIBE_CXX14)

Callers

nothing calls this directly

Calls 1

fuzz_direct_parseFunction · 0.85

Tested by

no test coverage detected