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

Method GetSymbolByAddress

binaryview.cpp:2973–2981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2971
2972
2973Ref<Symbol> BinaryView::GetSymbolByAddress(uint64_t addr, const NameSpace& nameSpace)
2974{
2975 BNNameSpace ns = nameSpace.GetAPIObject();
2976 BNSymbol* sym = BNGetSymbolByAddress(m_object, addr, &ns);
2977 NameSpace::FreeAPIObject(&ns);
2978 if (!sym)
2979 return nullptr;
2980 return new Symbol(sym);
2981}
2982
2983
2984Ref<Symbol> BinaryView::GetSymbolByRawName(const string& name, const NameSpace& nameSpace)

Callers 15

RecognizeLowLevelILMethod · 0.80
GetExprTextMethod · 0.80
GetExprTextInternalMethod · 0.80
DefineObjCSymbolMethod · 0.80
GetSymbolMethod · 0.80
GetSymbolMethod · 0.80

Calls 1

GetAPIObjectMethod · 0.45

Tested by

no test coverage detected