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

Method ReadSpan

view/sharedcache/core/VirtualMemory.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148std::pair<const uint8_t*, const uint8_t*> VirtualMemory::ReadSpan(size_t address, size_t length)
149{
150 uint64_t offset;
151 auto region = GetRegionAtAddress(address, offset);
152 if (!region.has_value())
153 throw UnmappedRegionException(address);
154 return region->fileAccessor.lock()->ReadSpan(offset, length);
155}
156
157void VirtualMemory::Read(void* dest, uint64_t address, size_t length)
158{

Callers 1

ReadExportSymbolTrieMethod · 0.45

Calls 2

lockMethod · 0.45

Tested by

no test coverage detected