diff options
| author | Mark Rowe <mrowe@bdash.net.nz> | 2025-05-02 10:53:00 -0700 |
|---|---|---|
| committer | Mark Rowe <mrowe@bdash.net.nz> | 2025-05-02 11:01:46 -0700 |
| commit | e34544ca4c13d3c5794a3eca2eaeb48ee150c765 (patch) | |
| tree | ec94a9e9d0f7b3245c3155a32e7d62a853af4a30 /view/sharedcache/core/VirtualMemory.cpp | |
| parent | a8e1a5f991776c434cd1215bc678580c948b6aaa (diff) | |
[SharedCache] Fix parsing of Objective-C metadata
8267ab475cb2ac82fd3724c009f21e8e30143f6b introduced a logic error in
VirtualMemoryReader::ReadPointer that caused VirtualMemoryReader to
attempt to read pointers from the wrong address, breaking parsing of
Objective-C metadata.
Diffstat (limited to 'view/sharedcache/core/VirtualMemory.cpp')
| -rw-r--r-- | view/sharedcache/core/VirtualMemory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/core/VirtualMemory.cpp b/view/sharedcache/core/VirtualMemory.cpp index 71dafd0c..292cda06 100644 --- a/view/sharedcache/core/VirtualMemory.cpp +++ b/view/sharedcache/core/VirtualMemory.cpp @@ -265,7 +265,7 @@ uint64_t VirtualMemoryReader::ReadPointer() uint64_t VirtualMemoryReader::ReadPointer(uint64_t address) { - m_cursor = m_memory->GetAddressSize(); + m_cursor = address + m_addressSize; return m_memory->ReadPointer(address); } |
