什么CLR / .NET字节code工具存在? [英] What CLR/.NET bytecode tools exist?

查看:96
本文介绍了什么CLR / .NET字节code工具存在?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很清楚的Java工具来操作,生成,反编译JVM字节code(ASM,CGLIB,JAD等)。有什么类似的工具为CLR字节code存在吗?人们是否做字节code操纵的CLR?

I'm well aware of Java tools for manipulating, generating, decompiling JVM bytecode (ASM, cglib, jad, etc). What similar tools exist for the CLR bytecode? Do people do bytecode manipulation for the CLR?

推荐答案

字节code是一个二进制格式。 .NET程序集的工作pretty的在如何存储执行指令方面有所不同。

Bytecode is a binary format. .NET assemblies work pretty different in terms of how they store the execution instructions.

,.NET语言编译成中间语言(实际上,这就是所谓的只是 - IL)

Instead of compiling down to a bytecode-like structure, .NET languages are compiled into an Intermediate Language (in fact, it's called just that--IL).

这是一个人类可读语言,看起来八九不离十汇编的面向对象的版本

This is a human readable language that looks sorta like an object-oriented version of assembler.

所以在检查或操纵IL个别组件上来讲,像反光镜和ILDASM工具可让您方便地查看IL任何集会。

So in terms of examining or manipulating the IL for individual assemblies, tools like Reflector and ILDASM allow you to conveniently view the IL for any assembly.

操纵是一个有点不同,我建议采取看看一些在.NET空间的AOP工具。我也建议考虑看看凤凰,这是一个编译器项目,MS具有的作品。它有一些非常酷的后期编译操作功能。

Manipulation is a bit different, I'd suggest taking a look at some of the AOP tools in the .NET space. I'd also suggest taking a look at Phoenix, which is a compiler project that MS has in the works. It has some really cool post-compile manipulation features.

如果您想了解更多关于.NET AOP工具,我建议打开另一个问题(这是蠕虫病毒的完全是另外一个罐)。

If you want to know more about the .NET AOP tools, I'd suggest opening another question (that's a whole other can of worms).

有几本书,将教你IL的来龙去脉。这不是一个非常复杂的语言学习。

There are also several books that will teach you the ins and outs of IL. It's not a very complicated language to learn.

这篇关于什么CLR / .NET字节code工具存在?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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