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

Method ReadCString

view/sharedcache/core/VirtualMemory.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58std::string VirtualMemory::ReadCString(uint64_t address)
59{
60 uint64_t offset;
61 auto region = GetRegionAtAddress(address, offset);
62 if (!region.has_value())
63 throw UnmappedRegionException(address);
64 return region->fileAccessor.lock()->ReadNullTermString(offset);
65}
66
67uint8_t VirtualMemory::ReadUInt8(uint64_t address)
68{

Callers

nothing calls this directly

Calls 4

ReadNullTermStringMethod · 0.80
GetRegionAtAddressMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected