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

Method GetEntryWithImage

view/sharedcache/core/SharedCache.cpp:473–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473std::optional<CacheEntry> SharedCache::GetEntryWithImage(const CacheImage& image) const
474{
475 for (const auto& entry : m_entries)
476 {
477 for (const auto& [_, currentImage] : entry.GetImages())
478 {
479 if (currentImage.address == image.headerAddress)
480 return entry;
481 }
482 }
483
484 return std::nullopt;
485}
486
487std::optional<CacheRegion> SharedCache::GetRegionAt(const uint64_t address) const
488{

Callers

nothing calls this directly

Calls 1

GetImagesMethod · 0.45

Tested by

no test coverage detected