首页
社区
课程
招聘
[求助]GDB Attach 系统目录下程序失败 求指导~~~
发表于: 2014-5-21 13:26 6979

[求助]GDB Attach 系统目录下程序失败 求指导~~~

2014-5-21 13:26
6979
本人Ios小白一只 之前按照论坛 http://bbs.pediy.com/showthread.php?t=174576所说 成功附加并调试 今天新越狱了一台ipad 7.0.4 的设备 并安装了各个工具
OpenSSH,作为SSH服务端;
>GNU Debugger(gdb调试工具):在这个源中cydia.radare.org,版本为1708,低版本不支持ios4.3+。
>adv-cmds:ps命令可以查看进程信息;
>darwin cc tools:otools可以查看可执行文件的详细信息;
>Link Identity Editor:ldid签名;

>PC上安装SSH Secure Shell Client

跟之前在 ipod 安装的一模一样 只不过是ios5.0左右的版本  但是这次怎么搞都附加不上 错误提示:
2702 ??         0:02.27 /Applications/AppStore.app/AppStore

iPad:~ root# gdb -p 2702
GNU gdb 6.3.50-20050815 (Apple version gdb-1708 + reverse.put.as patches v0.4) (Mon Apr 16 00:53:47 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-apple-darwin".
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info

/private/var/root/2702: No such file or directory
Attaching to process 2702.

warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)

warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
...
...
...
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Error calling thread_get_state for GP registers for thread 0x4355lxerror on line 251 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/arm-macosx-nat-exec.c" in function "void fetch_inferior_registers(int)": (os/kern) invalid argument (0x4)

(gdb)

求告知是什么原因~ 感激不尽
另外想要了解下 有没有其他windows 下的调试工具 gdb这个东西bug似乎多了点....

[课程]Linux pwn 探索篇!

收藏
免费 0
支持
分享
最新回复 (5)
雪    币: 0
活跃值: (26)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
gikdbg
2014-5-21 13:44
0
雪    币: 5
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
这个工具我用过问题很多 不太适合我使用
2014-5-21 13:50
0
雪    币: 5
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
没人知道上面的错误原因么?
2014-5-22 10:06
0
雪    币: 5
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
看雪里这么多高手 没人知道为什么吗?  ipad mini 7.0.4
这个问题搞了几天了 仍然没有解决方法 ....

另外有人知道 在mac 下有什么顺手的调试工具么?
超级小白坐等解答...
2014-5-26 18:26
0
雪    币: 2443
活跃值: (464)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
6
7.x 系统注定了你的失败,换个iphone4  GDB相对稳定!
2014-5-27 19:47
0
游客
登录 | 注册 方可回帖
返回
//