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

Method GetRegions

view/sharedcache/api/sharedcache.cpp:314–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314std::vector<CacheRegion> SharedCacheController::GetRegions() const
315{
316 size_t count;
317 BNSharedCacheRegion *regions = BNSharedCacheControllerGetRegions(m_object, &count);
318 std::vector<CacheRegion> result;
319 result.reserve(count);
320 for (size_t i = 0; i < count; i++)
321 result.emplace_back(RegionFromApi(regions[i]));
322 BNSharedCacheFreeRegionList(regions, count);
323 return result;
324}
325
326std::vector<CacheImage> SharedCacheController::GetImages() const
327{

Callers 3

InitControllerMethod · 0.80
RefreshDataMethod · 0.80

Calls 3

RegionFromApiFunction · 0.70

Tested by

no test coverage detected