iOS 11上debugserver与LLDB的配置

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

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

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

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

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

仔细看字, 每行错误后面都写有

大佬, 你的iOS11.1.2的debugserver配置好了吗?

同问: killed:9 还是一样的问题, platform-application也加啦

请教大神:
IOS11.4的设备,unc0ver越狱,debugserver启动成功,lldb也成功。但一运行C命令报错:
dst69415:~ ss$ lldb
(lldb) process connect connect://localhost:1234
Process 2615 stopped

  • thread #1, queue = ‘com.apple.main-thread’, stop reason = signal SIGSTOP
    frame #0: 0x0000000184a93e08 libsystem_kernel.dylibmach_msg_trap + 8 libsystem_kernel.dylibmach_msg_trap:
    -> 0x184a93e08 <+8>: ret

libsystem_kernel.dylib`mach_msg_overwrite_trap:
0x184a93e0c <+0>: mov x16, #-0x20
0x184a93e10 <+4>: svc #0x80
0x184a93e14 <+8>: ret
Target 0: ( ) stopped.
(lldb) c
Process 2615 resuming
Process 2615 stopped

  • thread #1, queue = ‘com.apple.main-thread’, stop reason = EXC_BAD_ACCESS (code=50, address=0x101d13e10)
    frame #0: 0x0000000101d13e10 cy-uY2xKg.dylibImageLoader::hash(char const*) cy-uY2xKg.dylibImageLoader::hash:
    -> 0x101d13e10 <+0>: mov x8, x0
    0x101d13e14 <+4>: ldrb w9, [x8]
    0x101d13e18 <+8>: cbz w9, 0x101d13e38 ; <+40>
    0x101d13e1c <+12>: mov w0, #0x0
    thread #14, stop reason = EXC_BAD_ACCESS (code=50, address=0x101d139e0)
    frame #0: 0x0000000101d139e0 cy-uY2xKg.dylibImageLoader::findExportedSymbol(char const*, bool, ImageLoader const**) const cy-uY2xKg.dylibImageLoader::findExportedSymbol:
    -> 0x101d139e0 <+0>: mov x8, x3
    0x101d139e4 <+4>: ldp x9, x3, [x0]
    0x101d139e8 <+8>: ldr x5, [x9, #0x90]
    0x101d139ec <+12>: mov x4, x8
    thread #17, stop reason = EXC_BAD_ACCESS (code=50, address=0x101d139e0)
    frame #0: 0x0000000101d139e0 cy-uY2xKg.dylibImageLoader::findExportedSymbol(char const*, bool, ImageLoader const**) const cy-uY2xKg.dylibImageLoader::findExportedSymbol:
    -> 0x101d139e0 <+0>: mov x8, x3
    0x101d139e4 <+4>: ldp x9, x3, [x0]
    0x101d139e8 <+8>: ldr x5, [x9, #0x90]
    0x101d139ec <+12>: mov x4, x8
    thread #58, queue = ‘com.apple.root.utility-qos’, stop reason = EXC_BAD_ACCESS (code=50, address=0x101d1057c)
    frame #0: 0x0000000101d1057c cy-uY2xKg.dylib_dyld_is_memory_immutable cy-uY2xKg.dylib_dyld_is_memory_immutable:
    -> 0x101d1057c <+0>: sub sp, sp, #0x60 ; =0x60
    0x101d10580 <+4>: stp x24, x23, [sp, #0x20]
    0x101d10584 <+8>: stp x22, x21, [sp, #0x30]
    0x101d10588 <+12>: stp x20, x19, [sp, #0x40]
    Target 0: ( ) stopped.
    (lldb)

请问这个问题解决了么