From bc9f8871da54a3b5e20135d0452a21ce2bac96d9 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 2 May 2025 11:04:25 -0700 Subject: [SharedCache] Have VirtualMemoryReader get the address size from the underlying VirtualMemory --- view/sharedcache/core/ObjC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/ObjC.cpp') diff --git a/view/sharedcache/core/ObjC.cpp b/view/sharedcache/core/ObjC.cpp index 2e37fd27..98fc42bb 100644 --- a/view/sharedcache/core/ObjC.cpp +++ b/view/sharedcache/core/ObjC.cpp @@ -88,7 +88,7 @@ std::shared_ptr SharedCacheObjCProcessor::GetReader() // TODO: This should never happen. if (!controller) throw std::runtime_error("SharedCacheController not found for SharedCacheObjCProcessor::GetReader!"); - auto reader = VirtualMemoryReader(controller->GetCache().GetVirtualMemory(), m_data->GetAddressSize()); + auto reader = VirtualMemoryReader(controller->GetCache().GetVirtualMemory()); return std::make_shared(reader); } -- cgit v1.3.1