From 96c40afe7296aba26ee7fb639517c7f16e137cc6 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 2 Apr 2025 05:31:24 -0400 Subject: [SharedCache] Fix linear sweep picking up basically every function and removing it --- view/sharedcache/core/MachOProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/sharedcache/core/MachOProcessor.cpp') diff --git a/view/sharedcache/core/MachOProcessor.cpp b/view/sharedcache/core/MachOProcessor.cpp index 893aa8fe..0d946680 100644 --- a/view/sharedcache/core/MachOProcessor.cpp +++ b/view/sharedcache/core/MachOProcessor.cpp @@ -35,7 +35,7 @@ void SharedCacheMachOProcessor::ApplyHeader(SharedCacheMachOHeader& header) auto targetPlatform = m_view->GetDefaultPlatform(); auto functions = header.ReadFunctionTable(*m_vm); for (const auto& func : functions) - m_view->AddFunctionForAnalysis(targetPlatform, func, true); + m_view->AddFunctionForAnalysis(targetPlatform, func, false); } auto typeLib = m_view->GetTypeLibrary(header.installName); -- cgit v1.3.1