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

Method GetRegionContaining

view/sharedcache/api/sharedcache.cpp:216–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216std::optional<CacheRegion> SharedCacheController::GetRegionContaining(uint64_t address) const
217{
218 BNSharedCacheRegion apiRegion;
219 if (!BNSharedCacheControllerGetRegionContaining(m_object, address, &apiRegion))
220 return std::nullopt;
221 CacheRegion region = RegionFromApi(apiRegion);
222 BNSharedCacheFreeRegion(apiRegion);
223 return region;
224}
225
226std::optional<CacheImage> SharedCacheController::GetImageAt(uint64_t address) const
227{

Callers 3

OnViewChangeMethod · 0.45
AnalyzeStubFunctionFunction · 0.45
AnalyzeStandardFunctionFunction · 0.45

Calls 3

BNSharedCacheFreeRegionFunction · 0.85
RegionFromApiFunction · 0.70

Tested by

no test coverage detected