| 83 | } |
| 84 | |
| 85 | uint16_t VirtualMemory::ReadUInt16(uint64_t address) |
| 86 | { |
| 87 | uint64_t offset; |
| 88 | auto region = GetRegionAtAddress(address, offset); |
| 89 | if (!region.has_value()) |
| 90 | throw UnmappedRegionException(address); |
| 91 | return region->fileAccessor.lock()->ReadUInt16(offset); |
| 92 | } |
| 93 | |
| 94 | int16_t VirtualMemory::ReadInt16(uint64_t address) |
| 95 | { |
no test coverage detected