Skip to content

Commit

Permalink
Fix check for image_base (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
sledgeh4w authored May 25, 2024
1 parent 62889e0 commit 2d1134a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chomper/os/ios/os.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def init_objc(self, module: Module):
Calling `map_images` and `load_images` of `libobjc.A.dylib`.
"""
if not module.binary or not module.image_base:
if not module.binary or module.image_base is None:
return

if not self.emu.find_module("libobjc.A.dylib"):
Expand Down

0 comments on commit 2d1134a

Please sign in to comment.