| 110 | } |
| 111 | |
| 112 | int32_t VirtualMemory::ReadInt32(uint64_t address) |
| 113 | { |
| 114 | uint64_t offset; |
| 115 | auto region = GetRegionAtAddress(address, offset); |
| 116 | if (!region.has_value()) |
| 117 | throw UnmappedRegionException(address); |
| 118 | return region->fileAccessor.lock()->ReadInt32(offset); |
| 119 | } |
| 120 | |
| 121 | uint64_t VirtualMemory::ReadUInt64(uint64_t address) |
| 122 | { |
no test coverage detected