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

Method GetImageAt

view/sharedcache/api/sharedcache.cpp:226–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226std::optional<CacheImage> SharedCacheController::GetImageAt(uint64_t address) const
227{
228 BNSharedCacheImage apiImage;
229 if (!BNSharedCacheControllerGetImageAt(m_object, address, &apiImage))
230 return std::nullopt;
231 CacheImage image = ImageFromApi(apiImage);
232 BNSharedCacheFreeImage(apiImage);
233 return image;
234}
235
236std::optional<CacheImage> SharedCacheController::GetImageContaining(uint64_t address) const
237{

Callers

nothing calls this directly

Calls 3

BNSharedCacheFreeImageFunction · 0.85
ImageFromApiFunction · 0.70

Tested by

no test coverage detected