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

Method GetSymbolWithName

view/sharedcache/api/sharedcache.cpp:280–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280std::optional<CacheSymbol> SharedCacheController::GetSymbolWithName(const std::string &name) const
281{
282 BNSharedCacheSymbol apiSymbol;
283 if (!BNSharedCacheControllerGetSymbolWithName(m_object, name.c_str(), &apiSymbol))
284 return std::nullopt;
285 CacheSymbol symbol = SymbolFromApi(apiSymbol);
286 BNSharedCacheFreeSymbol(apiSymbol);
287 return symbol;
288}
289
290std::vector<CacheEntry> SharedCacheController::GetEntries() const
291{

Callers

nothing calls this directly

Calls 4

BNSharedCacheFreeSymbolFunction · 0.85
c_strMethod · 0.80
SymbolFromApiFunction · 0.70

Tested by

no test coverage detected