| 101 | } |
| 102 | |
| 103 | uint32_t VirtualMemory::ReadUInt32(uint64_t address) |
| 104 | { |
| 105 | uint64_t offset; |
| 106 | auto region = GetRegionAtAddress(address, offset); |
| 107 | if (!region.has_value()) |
| 108 | throw UnmappedRegionException(address); |
| 109 | return region->fileAccessor.lock()->ReadUInt32(offset); |
| 110 | } |
| 111 | |
| 112 | int32_t VirtualMemory::ReadInt32(uint64_t address) |
| 113 | { |
no test coverage detected