MCPcopy Create free account
hub / github.com/ElementsProject/elements / ConsumeRPCArgument

Function ConsumeRPCArgument

src/test/fuzz/rpc.cpp:331–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331std::string ConsumeRPCArgument(FuzzedDataProvider& fuzzed_data_provider)
332{
333 return fuzzed_data_provider.ConsumeBool() ? ConsumeScalarRPCArgument(fuzzed_data_provider) : ConsumeArrayRPCArgument(fuzzed_data_provider);
334}
335
336RPCFuzzTestingSetup* InitializeRPCFuzzTestingSetup()
337{

Callers 1

FUZZ_TARGET_INITFunction · 0.85

Calls 3

ConsumeScalarRPCArgumentFunction · 0.85
ConsumeArrayRPCArgumentFunction · 0.85
ConsumeBoolMethod · 0.80

Tested by

no test coverage detected