| 348 | } |
| 349 | |
| 350 | std::vector<CacheSymbol> SharedCacheController::GetSymbols() const |
| 351 | { |
| 352 | size_t count; |
| 353 | BNSharedCacheSymbol *symbols = BNSharedCacheControllerGetSymbols(m_object, &count); |
| 354 | std::vector<CacheSymbol> result; |
| 355 | result.reserve(count); |
| 356 | for (size_t i = 0; i < count; i++) |
| 357 | result.emplace_back(SymbolFromApi(symbols[i])); |
| 358 | BNSharedCacheFreeSymbolList(symbols, count); |
| 359 | return result; |
| 360 | } |
no test coverage detected