在 Mac OS X 10.7 上使用 gnu gdb 进行反向调试
我对在 MacOS X 上逆向调试一个巨大的基于 xcode 的项目的能力非常感兴趣。问题是 XCode 4.1 的 gdb 版本为 6.3.50,而反向调试从 7.0 开始,
所以我通过 macports 安装了 gdb 7.3,但它拒绝通过以下消息识别可执行文件:
GNU gdb (GDB) 7.3 版权所有 (C) 2011 自由软件基金会, Inc. 许可证 GPLv3+:GNU GPL 版本 3 或更高版本 http://gnu.org/licenses/gpl.html
这是免费软件:您可以自由更改和重新分发它。 在法律允许的范围内,不提供任何保证。输入“显示复制” 并“显示保修”了解详细信息。
该 GDB 被配置为“x86_64-apple-darwin11.1.0”。
有关错误报告说明,请参阅:
http://www.gnu.org/software/gdb/bugs/.. 。 “path/to/my.bundle.app/Content/MacOS/executable”:不是可执行格式:无法识别文件格式
有谁知道是否可以解决该问题?
I'm very interesting in ability to reverse debugging one immense xcode-based project on MacOS X. The problem is XCode 4.1 has gdb version 6.3.50, while reverse debugging presents starting from 7.0
So I installed gdb 7.3 via macports, but it rejects to recognize the executable at all with the message:
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin11.1.0".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
"path/to/my.bundle.app/Content/MacOS/executable": not in executable format: File format not recognized
Does anyone know whether if is it possible to fix the problem ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论