将exe文件转换为IL(中级语言) [英] Convert exe file to IL (Intermediate Language)

查看:139
本文介绍了将exe文件转换为IL(中级语言)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何命令行或编程方式将任何类型的exe文件转换为IL?$



我知道这是可能的因为我看到了几个程序给我看IL代码。



注意:我是通过ILDASM.EXE(Visual Studio的一个工具)为.Net Framework做的,但我无法做到对于没有CLR标题的exe文件也是如此(类似地,它只是转换.Net程序集的一种方式!)。



谢谢你。

Is there any Command-Line or programmatically way to convert any type of exe file to IL ?!

I know it is possible cuz I saw several programs that show me IL codes .

Note : I do this for .Net Framework via ILDASM.EXE (A tool of visual studio) but I'm not able to do the same work for the exe files which don't have CLR header(similarly it is only a way for convert .Net assemblies !) .

thank u.

推荐答案

首先,任何 .NET 可执行文件或库都编译成IL(中间语言)。

所以没有必要将它转换为IL代码。



第一次启动可执行文件/ dll时,JIT(Just In)时间)编译器将其转换为特定于平台的汇编代码。



您肯定无法为没有CLR头的可执行文件获取一些IL代码。
Any .NET executable or Library is, at first, compiled into IL (Intermediate Language).
So there is no need to "convert" it to IL code.

The first time the executable/dll is launched, the JIT (Just In Time) compiler translates that to platform-specific assembly code.

You definitely cannot obtain some IL code for an executable that has no CLR header.


这篇关于将exe文件转换为IL(中级语言)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆