我的设备环境:ios9.3.2(jailbreak)
1、ssh自己的设备:
The authenticity of host ‘169.254.18.59 (169.254.18.59)’ can’t be established.
RSA key fingerprint is SHA256:PJvBK8gNlNkoqNdus/Lk71YBWhDTYQ2/CmTUX6d6PZ4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘169.254.18.59’ (RSA) to the list of known hosts.
root@169.254.18.59’s password:
molinde-iPhone:~ root# debugserver *:5788 -a WeChat
debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-340.3.124
for arm64.
Attaching to process WeChat…
Listening to port 5788 for a connection from *…
Waiting for debugger instructions for process 0.
2、回到Mac,重新打开终端,启动lldb:
(lldb) process connect connect://169.254.230.143:5788
Process 2547 stopped
- thread #1: tid = 0x24947, 0x0000000182be0fd8 libsystem_kernel.dylib
mach_msg_trap + 8, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP frame #0: 0x0000000182be0fd8 libsystem_kernel.dylib
mach_msg_trap + 8
libsystem_kernel.dylib`mach_msg_trap:
→ 0x182be0fd8 <+8>: ret
libsystem_kernel.dylib`mach_msg_overwrite_trap:
0x182be0fdc <+0>: movn x16, #0x1f
0x182be0fe0 <+4>: svc #0x80
0x182be0fe4 <+8>: ret
3、再回去看看手机,被调试的APP就跟挂了一样, 不能在APP界面操作了。
4、我下好断点,再次回到App界面,发现还是无法在界面上操作。
指教下~~~