diff options
| author | WeiN76LQh <WeiN76LQh@github.com> | 2024-11-26 16:06:30 +0000 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2025-02-10 10:33:20 -0500 |
| commit | e90a08f5a6237472a3d0caf77e11dfcc987f1169 (patch) | |
| tree | 3525a0359b60e7a15f356f2bc2475521596eb8dc /view/sharedcache/core/SharedCache.h | |
| parent | 8953660bbbd0fc8f15be004f3302886f34f620df (diff) | |
[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.
Diffstat (limited to 'view/sharedcache/core/SharedCache.h')
| -rw-r--r-- | view/sharedcache/core/SharedCache.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<MMappedFileAccessor> linkeditFile, const SharedCacheMachOHeader& header); std::vector<std::pair<uint64_t, std::pair<BNSymbolType, std::string>>> GetExportListForHeader( - SharedCacheMachOHeader header, std::function<std::shared_ptr<MMappedFileAccessor>()> provideLinkeditFile); + SharedCacheMachOHeader header, std::function<std::shared_ptr<MMappedFileAccessor>()> provideLinkeditFile, + bool* didModifyExportList = nullptr); Ref<TypeLibrary> TypeLibraryForImage(const std::string& installName); |
