C++ 中 32 位和 64 位 Mach-O 二进制/可执行格式的解析器

发布于 2024-08-12 05:50:18 字数 1539 浏览 4 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

旧街凉风 2024-08-19 05:50:18

您可以从开源类转储工具开始 (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.

凉宸 2024-08-19 05:50:18

尝试使用命令行工具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 with system(), etc.

心清如水 2024-08-19 05:50:18

试试这个: MachOView
它仍处于开发阶段,但希望很快成为一个强大的工具。

Try this: MachOView
It is still in developing stage, but hopefully becomes a powerful tool soon.

谜兔 2024-08-19 05:50:18

获取 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文