diff options
| author | WeiN76LQh <WeiN76LQh@github.com> | 2024-11-25 19:54:44 +0000 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-12-26 10:42:54 -0500 |
| commit | 2cce2ab6c79879a4d64df1fc7375e2c871565f8f (patch) | |
| tree | 9e6c5273eff573f28b99fd59f98472582df2d639 /view/sharedcache/core/SharedCache.h | |
| parent | 934104743a0e3071606277692822be4b853288ac (diff) | |
[SharedCache] Add the ability to skip Objective-C processing when loading a library
This is useful when batch loading libraries to avoid extra processing (once the next commit has landed).
Diffstat (limited to 'view/sharedcache/core/SharedCache.h')
| -rw-r--r-- | view/sharedcache/core/SharedCache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/sharedcache/core/SharedCache.h b/view/sharedcache/core/SharedCache.h index 924d81f2..c82dea5c 100644 --- a/view/sharedcache/core/SharedCache.h +++ b/view/sharedcache/core/SharedCache.h @@ -571,9 +571,9 @@ namespace SharedCacheCore { void ParseAndApplySlideInfoForFile(std::shared_ptr<MMappedFileAccessor> file); std::optional<uint64_t> GetImageStart(std::string installName); std::optional<SharedCacheMachOHeader> HeaderForAddress(uint64_t); - bool LoadImageWithInstallName(std::string installName); + bool LoadImageWithInstallName(std::string installName, bool skipObjC); bool LoadSectionAtAddress(uint64_t address); - bool LoadImageContainingAddress(uint64_t address); + bool LoadImageContainingAddress(uint64_t address, bool skipObjC); std::string NameForAddress(uint64_t address); std::string ImageNameForAddress(uint64_t address); std::vector<std::string> GetAvailableImages(); |
