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

Method GetSymbolAt

view/sharedcache/api/sharedcache.cpp:270–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270std::optional<CacheSymbol> SharedCacheController::GetSymbolAt(uint64_t address) const
271{
272 BNSharedCacheSymbol apiSymbol;
273 if (!BNSharedCacheControllerGetSymbolAt(m_object, address, &apiSymbol))
274 return std::nullopt;
275 CacheSymbol symbol = SymbolFromApi(apiSymbol);
276 BNSharedCacheFreeSymbol(apiSymbol);
277 return symbol;
278}
279
280std::optional<CacheSymbol> SharedCacheController::GetSymbolWithName(const std::string &name) const
281{

Callers 2

IdentifyStubFunction · 0.45
AnalyzeStandardFunctionFunction · 0.45

Calls 3

BNSharedCacheFreeSymbolFunction · 0.85
SymbolFromApiFunction · 0.70

Tested by

no test coverage detected