qilingframework / qiling

A True Instrumentable Binary Emulation Framework
https://qiling.io
GNU General Public License v2.0
5.14k stars 744 forks source link

ios二进制载入后没有进行rebase #1243

Open richor1042 opened 2 years ago

richor1042 commented 2 years ago

*Describe the bug A clear and concise description of what the bug is.

Sample Code

ql = Qiling(self.path, self.rootfs, verbose=QL_VERBOSE.DEBUG)
print(ql.mem.read(0xE88741C, 4))
print(ql.mem.read(0x174aa40, 4))

Expected behavior 内存读值错误 image 0x174aa40打印的值为0

Screenshots image

Additional context 需要https://github.com/zhkl0228/unidbg/tree/master/unidbg-ios/src/main/java/com/github/unidbg/ios/MachOLoader.java 的rebase函数

xwings commented 2 years ago

iOS ? we did not try it yet.