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

Method GetRegionAt

view/sharedcache/core/SharedCache.cpp:487–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487std::optional<CacheRegion> SharedCache::GetRegionAt(const uint64_t address) const
488{
489 const auto it = m_regions.find(address);
490 if (it == m_regions.end())
491 return std::nullopt;
492 return it->second;
493}
494
495std::optional<CacheRegion> SharedCache::GetRegionContaining(const uint64_t address) const
496{

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected