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

Method GetRegionAt

view/sharedcache/api/sharedcache.cpp:206–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206std::optional<CacheRegion> SharedCacheController::GetRegionAt(uint64_t address) const
207{
208 BNSharedCacheRegion apiRegion;
209 if (!BNSharedCacheControllerGetRegionAt(m_object, address, &apiRegion))
210 return std::nullopt;
211 CacheRegion region = RegionFromApi(apiRegion);
212 BNSharedCacheFreeRegion(apiRegion);
213 return region;
214}
215
216std::optional<CacheRegion> SharedCacheController::GetRegionContaining(uint64_t address) const
217{

Callers

nothing calls this directly

Calls 3

BNSharedCacheFreeRegionFunction · 0.85
RegionFromApiFunction · 0.70

Tested by

no test coverage detected