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

Method useLocalBuffer

fuzzing/fuzz_parser.cpp:58–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void useLocalBuffer() {
59 std::unique_ptr<unsigned char[]> temp(new unsigned char[memlimit1]);
60 stream_parser p(
61 storage_ptr(),
62 opt,
63 temp.get(),
64 memlimit1);
65 run(p);
66 }
67
68 void useDynLess() {
69 // this is on the heap because the size is chosen dynamically

Callers 1

LLVMFuzzerTestOneInputFunction · 0.80

Calls 3

storage_ptrClass · 0.50
runFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected