从C#code发生组件code? [英] Generating assembly code from C# code?
本文介绍了从C#code发生组件code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么办法来从C#code组装code?我知道这是可能的C code。与气,但没有任何人知道这是否是可能的C#?
Is there any way to generate assembly code from C# code? I know that it is possible with C code with GAS, but does anybody know if it's possible with C#?
推荐答案
您可以在一个位使用的 NGEN 工具,然后分解所产生的二进制文件。或者您可以使用调试器来检查从MSIL, Ollydbg的2 创建的JIT code能够做到这一点这样的一个调试器。
You can do this in a bit of an indirect way using the NGEN tool and then disassemble the binary that is produced. Alternatively you can use a debugger to inspect the JIT code created from the MSIL, Ollydbg 2 is one such debugger able to do this.
这篇关于从C#code发生组件code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文