iOS 11上debugserver与LLDB的配置

你试试chmod +x debugserver 给予权限再运行

这个之前在网上教程就试过了,估计是签名的问题,但是不知道要怎么解决

我发一份处理过的copy给你?

那太好了,我qq573887402,非常感谢

楼主你好,JBDO 出现Killed: 9该怎么办,手机是IOS 11.3.1的系统

大佬,按照你的教程,卡在了第四步。

使用usbmux后

python tcprelay.py -t 22:22222

ssh root@localhost -p 22222

JBDO debugserver localhost:1234 -a "Preferences"

process connect connect://localhost:1234

lldb执行命令后提示

error: Failed to connect port

是我哪里操作有问题吗?

jbdo也需要platform-application权限

iOS11.4.1、MacOS10.13.6下使用process connect connect://localhost:1111可能会出现如下错误:

iPhone-SE:~ root# debugserver *:1111 -a WeChat
debugserver-@(#)PROGRAM:LLDB  PROJECT:lldb-900.3.57..2
 for arm64.
Attaching to process WeChat...
Listening to port 1111 for a connection from *...
error: rejecting incoming connection from ::ffff:127.0.0.1 (expecting ::1)

需要指定使用ipv4地址
debugserver 127.0.0.1:1111 -a WeChat
process connect connect://127.0.0.1:1111

希望有用

iOS10.3.3子午线越狱,自带的/Developer/usr/bin/debugserver可以用,倒是按网上的签名之后会报错

debugserver+lldb在iOS11.0.3上可以成功调试了
参考 https://kov4l3nko.github.io/blog/2018-05-25-my-experience-with-lldb-and-electra-jb/

步骤:

1.python tcprelay.py -t 22:2222
2.ssh root@localhost:2222
3./Developer/usr/bin/debugserver localhost:1234 -a "Preferences"
4.python tcprelay.py -t 1234:1234
5.process connect connect://localhost:1234

之前差第4步,导致lldb连不上报错

但是使用debugserver+lldb有个问题,连接一段时间后设备会重启。。。。

3 个赞

image
image

请教一下make theos命令行工具JBDO的过程。
我已经按照楼上的方法补全了系统函数,但是看似问题是iOS12的SDK不支持所导致,如下图。

于是我在makefile里设置了SDK为iOS11.3, 但是仍然有报错,请教一下是为什么呢
image

报错信息如图。。。

iOS 11.3 使用unc0ver 越狱的可以使用 GitHub - WhoJave/debugserver: debugserver work on iOS11.3 下载放入/usr/bin
chmod +x debugserver 即可

你好,同是系统11.4.1,求加好友3183001079,共同讨论

error: failed to launch process /usr/bin/debugserver: Security
Exiting.
iOS11.3.1,unc0ver越狱,报错如上

你用自己手机上的debugserver 重签一下权限试试

我用了你的github仓库里那个文件,ldid签名,然后导回设备,还是同样的错误。

debugserver -x backboard IP:端口 executable文件地址
失败,显示我前面所说的错误

debugserver *:1234 -a "SpringBoard"
成功,lldb process connect 之后需要等一段时间

然而我目前主要需要的是调试一个一经修改就闪退的程序(也就是说根本抓不到进程),用attach的方法似乎不太可行……

另外attach之后用c,会撞到EXC_BAD_ACCESS。