| 92 | } |
| 93 | |
| 94 | int16_t VirtualMemory::ReadInt16(uint64_t address) |
| 95 | { |
| 96 | uint64_t offset; |
| 97 | auto region = GetRegionAtAddress(address, offset); |
| 98 | if (!region.has_value()) |
| 99 | throw UnmappedRegionException(address); |
| 100 | return region->fileAccessor.lock()->ReadInt16(offset); |
| 101 | } |
| 102 | |
| 103 | uint32_t VirtualMemory::ReadUInt32(uint64_t address) |
| 104 | { |
no test coverage detected