| 47 | } |
| 48 | |
| 49 | void VirtualMemory::WritePointer(size_t address, size_t pointer) |
| 50 | { |
| 51 | uint64_t offset; |
| 52 | auto region = GetRegionAtAddress(address, offset); |
| 53 | if (!region.has_value()) |
| 54 | throw UnmappedRegionException(address); |
| 55 | region->fileAccessor.lock()->WritePointer(offset, pointer); |
| 56 | } |
| 57 | |
| 58 | std::string VirtualMemory::ReadCString(uint64_t address) |
| 59 | { |
no test coverage detected