From e90a08f5a6237472a3d0caf77e11dfcc987f1169 Mon Sep 17 00:00:00 2001 From: WeiN76LQh Date: Tue, 26 Nov 2024 16:06:30 +0000 Subject: [SharedCache] Add parameter to `SharedCache::InitializeHeader` to check if `m_exportInfos` was modified This probably makes more sense than the current solution of using execution of the callback parameter to determine if `m_exportInfos` was modified. --- view/sharedcache/core/SharedCache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'view/sharedcache/core/SharedCache.h') diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h index 0b268e3d..bb1181b6 100644 --- a/view/sharedcache/core/SharedCache.h +++ b/view/sharedcache/core/SharedCache.h @@ -643,7 +643,8 @@ private: std::shared_ptr linkeditFile, const SharedCacheMachOHeader& header); std::vector>> GetExportListForHeader( - SharedCacheMachOHeader header, std::function()> provideLinkeditFile); + SharedCacheMachOHeader header, std::function()> provideLinkeditFile, + bool* didModifyExportList = nullptr); Ref TypeLibraryForImage(const std::string& installName); -- cgit v1.3.1