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

Method ReadBuffer

view/sharedcache/core/VirtualMemory.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139BinaryNinja::DataBuffer VirtualMemory::ReadBuffer(uint64_t address, size_t length)
140{
141 uint64_t offset;
142 auto region = GetRegionAtAddress(address, offset);
143 if (!region.has_value())
144 throw UnmappedRegionException(address);
145 return region->fileAccessor.lock()->ReadBuffer(offset, length);
146}
147
148std::pair<const uint8_t*, const uint8_t*> VirtualMemory::ReadSpan(size_t address, size_t length)
149{

Callers 15

CreateMethod · 0.45
ParseMethod · 0.45
IsTypeValidForDataMethod · 0.45
InitializeHeaderMethod · 0.45
ParseSymbolTableMethod · 0.45
ParseExportTrieMethod · 0.45
IsTypeValidForDataMethod · 0.45
ExtractFatArchForCPUFunction · 0.45
CreateMethod · 0.45
IsTypeValidForDataMethod · 0.45
ParseExportTrieMethod · 0.45
IsTypeValidForDataMethod · 0.45

Calls 2

lockMethod · 0.45

Tested by

no test coverage detected