| 74 | } |
| 75 | |
| 76 | int8_t VirtualMemory::ReadInt8(uint64_t address) |
| 77 | { |
| 78 | uint64_t offset; |
| 79 | auto region = GetRegionAtAddress(address, offset); |
| 80 | if (!region.has_value()) |
| 81 | throw UnmappedRegionException(address); |
| 82 | return region->fileAccessor.lock()->ReadInt8(offset); |
| 83 | } |
| 84 | |
| 85 | uint16_t VirtualMemory::ReadUInt16(uint64_t address) |
| 86 | { |
no test coverage detected