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

Method GetImageContaining

view/sharedcache/api/sharedcache.cpp:236–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236std::optional<CacheImage> SharedCacheController::GetImageContaining(uint64_t address) const
237{
238 BNSharedCacheImage apiImage;
239 if (!BNSharedCacheControllerGetImageContaining(m_object, address, &apiImage))
240 return std::nullopt;
241 CacheImage image = ImageFromApi(apiImage);
242 BNSharedCacheFreeImage(apiImage);
243 return image;
244}
245
246std::optional<CacheImage> SharedCacheController::GetImageWithName(const std::string &name) const
247{

Callers 5

loadImagesWithAddrMethod · 0.45
initSymbolTableMethod · 0.45
OnViewChangeMethod · 0.45
IdentifyStubFunction · 0.45
AnalyzeStubFunctionFunction · 0.45

Calls 3

BNSharedCacheFreeImageFunction · 0.85
ImageFromApiFunction · 0.70

Tested by

no test coverage detected