| 65 | } |
| 66 | |
| 67 | uint8_t VirtualMemory::ReadUInt8(uint64_t address) |
| 68 | { |
| 69 | uint64_t offset; |
| 70 | auto region = GetRegionAtAddress(address, offset); |
| 71 | if (!region.has_value()) |
| 72 | throw UnmappedRegionException(address); |
| 73 | return region->fileAccessor.lock()->ReadUInt8(offset); |
| 74 | } |
| 75 | |
| 76 | int8_t VirtualMemory::ReadInt8(uint64_t address) |
| 77 | { |
no test coverage detected