Qt: Add edit function to debugger memory view

This commit is contained in:
Stenzek
2024-09-06 22:48:50 +10:00
parent 153d95982b
commit 2e080d4998
5 changed files with 197 additions and 28 deletions

View File

@ -221,6 +221,7 @@ enum class MemoryRegion
std::optional<MemoryRegion> GetMemoryRegionForAddress(PhysicalMemoryAddress address);
PhysicalMemoryAddress GetMemoryRegionStart(MemoryRegion region);
PhysicalMemoryAddress GetMemoryRegionEnd(MemoryRegion region);
bool IsMemoryRegionWritable(MemoryRegion region);
u8* GetMemoryRegionPointer(MemoryRegion region);
std::optional<PhysicalMemoryAddress> SearchMemory(PhysicalMemoryAddress start_address, const u8* pattern,
const u8* mask, u32 pattern_length);