我发现,自己不做笔记吧,忘的太快。这不,刚刚又忘了怎么使用lldb动态调试呢。
参考链接:http://gslab.qq.com/portal.php?mod=view&aid=159
1、工具
lldb
debugserver (安装?可 参考:点我吧 )
openssh
terminal
2 、环境
os x EI capition
ios 9.3.2(越狱)
3、iOS设备操作
A、首先用mac使用连接上自己的iPhone,命令:ssh root@设备IP
B 、选择需要调试的app,这里的app,是我自己写的一个app,做测试用。方法:ps -e | grep arm64
C、启动debugserver ,设置监听端口,等待lldb接入。方法: