diff options
| author | kat <kat@vector35.com> | 2024-11-04 11:53:47 -0500 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-11-05 09:05:38 -0500 |
| commit | 963d7bc33e1957a5e041b014485d93e78a01ba7e (patch) | |
| tree | d1e37930c0572816d934dad031a7be82f712c8cd /view/sharedcache/api/python/sharedcache.py | |
| parent | 519477fbc78b1a29d752c26e7933dfe16e80d360 (diff) | |
[SharedCache] very Hotfix for 'SharedCache.load_image_with_install_name'
Diffstat (limited to 'view/sharedcache/api/python/sharedcache.py')
| -rw-r--r-- | view/sharedcache/api/python/sharedcache.py | 3 |
1 files changed, 1 insertions, 2 deletions
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) |
