反汇编.net程序时缺少图形

发布于 2024-09-08 03:38:24 字数 287 浏览 1 评论 0原文

我有一个软件。当我反汇编 PE 文件时,

ildasm foo.exe /output=foo.il

我得到了一堆文件,例如 foo.MainForm 和 foo.bar.dll。然后,当我尝试重新组装该文件时,

ilasm foo.il

我再次得到一个可以工作的 foo.exe,但新文件中缺少一些小图形(它也小了约 200kb)。其他一些图形正在工作,所以看起来我在拆卸或重新组装时遗漏了一些东西。我该如何解决这个问题?

I have a piece of software. When I disassemble the PE file

ildasm foo.exe /output=foo.il

I get a bunch of files, like foo.MainForm and foo.bar.dll. When I then try to re-assemble the file

ilasm foo.il

I get a working foo.exe back again, but some of the small graphics are missing in the new file (it's also ~200kb smaller). Some other graphics are working, so it looks like I'm missing something in the disassemble or re-assemble. How can I fix this?

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

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

发布评论

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

评论(1

蘸点软妹酱 2024-09-15 03:38:24

当你反编译时,你会看到一堆被提取的 .res 文件。

使用 ilasm 重新编译时需要再次包含它们。

When you decompile you will see a bunch of .res files extracted.

You need to include them again when recompiling with ilasm.

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