MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetSymbolByRawName

Method GetSymbolByRawName

binaryview.cpp:2984–2992  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2982
2983
2984Ref<Symbol> BinaryView::GetSymbolByRawName(const string& name, const NameSpace& nameSpace)
2985{
2986 BNNameSpace ns = nameSpace.GetAPIObject();
2987 BNSymbol* sym = BNGetSymbolByRawName(m_object, name.c_str(), &ns);
2988 NameSpace::FreeAPIObject(&ns);
2989 if (!sym)
2990 return nullptr;
2991 return new Symbol(sym);
2992}
2993
2994
2995vector<Ref<Symbol>> BinaryView::GetSymbolsByName(const string& name, const NameSpace& nameSpace)

Callers 1

GetGpAddrMethod · 0.80

Calls 2

c_strMethod · 0.80
GetAPIObjectMethod · 0.45

Tested by

no test coverage detected