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

Method GetLoadedRegions

view/sharedcache/api/sharedcache.cpp:302–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302std::vector<CacheRegion> SharedCacheController::GetLoadedRegions() const
303{
304 size_t count;
305 BNSharedCacheRegion *regions = BNSharedCacheControllerGetLoadedRegions(m_object, &count);
306 std::vector<CacheRegion> result;
307 result.reserve(count);
308 for (size_t i = 0; i < count; i++)
309 result.emplace_back(RegionFromApi(regions[i]));
310 BNSharedCacheFreeRegionList(regions, count);
311 return result;
312}
313
314std::vector<CacheRegion> SharedCacheController::GetRegions() const
315{

Calls 3

RegionFromApiFunction · 0.70

Tested by

no test coverage detected