We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
您可以从开源类转储工具开始 (http://www.codethecode.com /projects/class-dump/)。它可以读取 32 位和 64 位 Mach-o 二进制文件,并且拥有一个不错的解析器。
You can start with the open-source class-dump tool (http://www.codethecode.com/projects/class-dump/). It can read both 32 and 64 bits Mach-o binaries, and is known to have a decent parser.
尝试使用命令行工具
otool
;听起来它就像你想要的那样。您可以使用system()
等从 C 代码调用它。Try playing around with the command-line tool
otool
; it sounds like it does what you want. You could call it from C code withsystem()
, etc.试试这个: MachOView
它仍处于开发阶段,但希望很快成为一个强大的工具。
Try this: MachOView
It is still in developing stage, but hopefully becomes a powerful tool soon.
获取 Darwin(Mac OS X 内核)源代码,我保证他们在其中有一个 Mach-O 二进制文件的解析器。
Get the Darwin (Mac OS X kernel) source code, I guarantee somewhere in there they've got a parser for Mach-O binaries.