From 963d7bc33e1957a5e041b014485d93e78a01ba7e Mon Sep 17 00:00:00 2001 From: kat Date: Mon, 4 Nov 2024 11:53:47 -0500 Subject: [SharedCache] very Hotfix for 'SharedCache.load_image_with_install_name' --- view/sharedcache/api/python/sharedcache.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'view/sharedcache/api/python') diff --git a/view/sharedcache/api/python/sharedcache.py b/view/sharedcache/api/python/sharedcache.py index 54745ed5..b660d9d9 100644 --- a/view/sharedcache/api/python/sharedcache.py +++ b/view/sharedcache/api/python/sharedcache.py @@ -109,8 +109,7 @@ class SharedCache: self.handle = sccore.BNGetSharedCache(view.handle) def load_image_with_install_name(self, installName): - str = BNAllocString(installName.encode('utf-8')) - return sccore.BNDSCViewLoadImageWithInstallName(self.handle, str) + return sccore.BNDSCViewLoadImageWithInstallName(self.handle, installName) def load_section_at_address(self, addr): return sccore.BNDSCViewLoadSectionAtAddress(self.handle, addr) -- cgit v1.3.1