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

Function fuzz_parse

fuzzing/fuzz_parse.cpp:15–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13using namespace boost::json;
14
15bool
16fuzz_parse(string_view sv)
17{
18 boost::system::error_code ec;
19 value jv = parse( sv, ec );
20 if(ec)
21 return false;
22 return jv.is_number();
23}
24
25extern "C"
26int

Callers 1

LLVMFuzzerTestOneInputFunction · 0.85

Calls 1

is_numberMethod · 0.80

Tested by

no test coverage detected