summaryrefslogtreecommitdiff
path: root/view/sharedcache/api/sharedcache.cpp
diff options
context:
space:
mode:
authorWeiN76LQh <WeiN76LQh@github.com>2024-11-25 19:54:44 +0000
committerkat <kat@vector35.com>2024-12-26 10:42:54 -0500
commit2cce2ab6c79879a4d64df1fc7375e2c871565f8f (patch)
tree9e6c5273eff573f28b99fd59f98472582df2d639 /view/sharedcache/api/sharedcache.cpp
parent934104743a0e3071606277692822be4b853288ac (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/api/sharedcache.cpp')
-rw-r--r--view/sharedcache/api/sharedcache.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/sharedcache/api/sharedcache.cpp b/view/sharedcache/api/sharedcache.cpp
index 71d190da..6498de32 100644
--- a/view/sharedcache/api/sharedcache.cpp
+++ b/view/sharedcache/api/sharedcache.cpp
@@ -20,10 +20,10 @@ namespace SharedCacheAPI {
return BNDSCViewFastGetBackingCacheCount(view->GetObject());
}
- bool SharedCache::LoadImageWithInstallName(std::string installName)
+ bool SharedCache::LoadImageWithInstallName(std::string installName, bool skipObjC)
{
char* str = BNAllocString(installName.c_str());
- return BNDSCViewLoadImageWithInstallName(m_object, str);
+ return BNDSCViewLoadImageWithInstallName(m_object, str, skipObjC);
}
bool SharedCache::LoadSectionAtAddress(uint64_t addr)
@@ -31,9 +31,9 @@ namespace SharedCacheAPI {
return BNDSCViewLoadSectionAtAddress(m_object, addr);
}
- bool SharedCache::LoadImageContainingAddress(uint64_t addr)
+ bool SharedCache::LoadImageContainingAddress(uint64_t addr, bool skipObjC)
{
- return BNDSCViewLoadImageContainingAddress(m_object, addr);
+ return BNDSCViewLoadImageContainingAddress(m_object, addr, skipObjC);
}
std::vector<std::string> SharedCache::GetAvailableImages()