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

Function GetArgumentName

src/test/fuzz/system.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22std::string GetArgumentName(const std::string& name)
23{
24 size_t idx = name.find('=');
25 if (idx == std::string::npos) {
26 idx = name.size();
27 }
28 return name.substr(0, idx);
29}
30
31FUZZ_TARGET(system, .init = initialize_system)
32{

Callers 1

system.cppFile · 0.85

Calls 2

findMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected