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

Function GetArgumentName

src/test/fuzz/system.cpp:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

FUZZ_TARGET_INITFunction · 0.85

Calls 2

findMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected