summaryrefslogtreecommitdiff
path: root/view/sharedcache/api/python/sharedcache.py
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/python/sharedcache.py
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/python/sharedcache.py')
-rw-r--r--view/sharedcache/api/python/sharedcache.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/sharedcache/api/python/sharedcache.py b/view/sharedcache/api/python/sharedcache.py
index b660d9d9..7902c76a 100644
--- a/view/sharedcache/api/python/sharedcache.py
+++ b/view/sharedcache/api/python/sharedcache.py
@@ -108,14 +108,14 @@ class SharedCache:
def __init__(self, view):
self.handle = sccore.BNGetSharedCache(view.handle)
- def load_image_with_install_name(self, installName):
- return sccore.BNDSCViewLoadImageWithInstallName(self.handle, installName)
+ def load_image_with_install_name(self, installName, skipObjC = False):
+ return sccore.BNDSCViewLoadImageWithInstallName(self.handle, installName, skipObjC)
def load_section_at_address(self, addr):
return sccore.BNDSCViewLoadSectionAtAddress(self.handle, addr)
- def load_image_containing_address(self, addr):
- return sccore.BNDSCViewLoadImageContainingAddress(self.handle, addr)
+ def load_image_containing_address(self, addr, skipObjC = False):
+ return sccore.BNDSCViewLoadImageContainingAddress(self.handle, addr, skipObjC)
@property
def caches(self):