MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ConsumeRPCArgument

Function ConsumeRPCArgument

src/test/fuzz/rpc.cpp:335–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335std::string ConsumeRPCArgument(FuzzedDataProvider& fuzzed_data_provider, bool& good_data)
336{
337 return fuzzed_data_provider.ConsumeBool() ? ConsumeScalarRPCArgument(fuzzed_data_provider, good_data) : ConsumeArrayRPCArgument(fuzzed_data_provider, good_data);
338}
339
340RPCFuzzTestingSetup* InitializeRPCFuzzTestingSetup()
341{

Callers 1

rpc.cppFile · 0.85

Calls 3

ConsumeScalarRPCArgumentFunction · 0.85
ConsumeArrayRPCArgumentFunction · 0.85
ConsumeBoolMethod · 0.80

Tested by

no test coverage detected