逆向工程iOSre

[iOS Reverse]debugserver+lldb连接手

2017-11-22  本文已影响39人  CGPointZero

上一篇成功挂载了钉钉进程,接下来是lldb的部分
1.打开Mac中端,进入lldb

lldb

2.lldb连接手机

process connect connect://xx.xx.xx.xx:1234

成功后会提示:

Process 2528 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x37ad8474 libsystem_kernel.dylib`mach_msg_trap + 20
libsystem_kernel.dylib`mach_msg_trap:
->  0x37ad8474 <+20>: pop    {r4, r5, r6, r8}
    0x37ad8478 <+24>: bx     lr

libsystem_kernel.dylib`mach_msg_overwrite_trap:
    0x37ad847c <+0>:  mov    r12, sp
    0x37ad8480 <+4>:  push   {r4, r5, r6, r8}
Target 0: (DingTalk) stopped.

至此已经成功连接至debugserver,可以进行远程调试了。

上一篇下一篇

猜你喜欢

热点阅读