MCPcopy Create free account
hub / github.com/avast/retdec / getFunctionByName

Method getFunctionByName

src/common/function.cpp:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138const Function* FunctionContainer::getFunctionByName(
139 const std::string& name) const
140{
141 auto fit = find(name);
142 return fit != end() ? &(*fit) : nullptr;
143}
144
145/**
146 * @return Pointer to function or @c nullptr if not found.

Callers 5

getConfigFunctionMethod · 0.45
processUseMethod · 0.45
insertMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected