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

Function BNSharedCacheControllerGetSymbols

view/sharedcache/core/ffi.cpp:383–392  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381 }
382
383 BNSharedCacheSymbol* BNSharedCacheControllerGetSymbols(BNSharedCacheController* controller, size_t* count)
384 {
385 const auto& symbols = controller->object->GetCache().GetSymbols();
386 *count = symbols.size();
387 BNSharedCacheSymbol* apiSymbols = new BNSharedCacheSymbol[*count];
388 size_t idx = 0;
389 for (const auto& [_, symbol] : symbols)
390 apiSymbols[idx++] = SymbolToApi(symbol);
391 return apiSymbols;
392 }
393
394
395 void BNSharedCacheFreeSymbol(BNSharedCacheSymbol symbol)

Callers 1

GetSymbolsMethod · 0.85

Calls 3

SymbolToApiFunction · 0.85
GetSymbolsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected