From e34544ca4c13d3c5794a3eca2eaeb48ee150c765 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 2 May 2025 10:53:00 -0700 Subject: [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. --- view/sharedcache/core/VirtualMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/VirtualMemory.cpp') 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); } -- cgit v1.3.1