Windows是如何执行exe的?具体步骤是什么?
最近两天我一直在努力学习 CLR 如何执行应用程序。我以某种方式得到了这个过程。 现在我很好奇Windows如何区分普通的exe文件和.Net编译器和链接器创建的exe(程序集)? 请帮忙! 感谢您的关注!
I was struggling to learn the how applications are executed by CLR from last two days. I somehow got the process.
Now I am curious to know how Windows distinguish between normal exe files and exe(assemblies) created by .Net compilers and linkers?
Please help!
Thank you for your kind attention!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Jeffery Ritcher 通过 C# 在 CLR 中以非常简洁的形式解释了您正在寻找的内容。
实际上有一些标头,主要是 PE 监听器和 CLR 标头,它们可以帮助 Windows 确定 exe 是本机 exe 还是 .net exe。
如果您想自己查看 exe 的标头,可以使用 dumpbin exe。
What you are looking for explained in very concise form in CLR via C# by Jeffery Ritcher.
Actually there are headers mainly PE hearder and CLR header which helps windows to decide whether an exe is a native exe or .net exe.
You can use dumpbin exe if you want to take a look at the headers for exe's yourself.