强大的.NET反编译工具Reflector!!!
最近由于需要反编译一些C#写的程序,早就听说功能极为强大的反编译工具,Reflector。
我用的版本是4.1.84.0,感觉用起来很爽,以后弄到的几个很好用的DLL,我都反编译,并弄出源码了,为我省了不少工夫啊,反编译出来的除了定义的变量名不一样外,其余的简直是一模一样。
围绕它开发的插件也很多,用着真是开心!我还找到一个插件可以把源码导出到文件!更是爽!不过这个软件还不支持Unicode ,需要自己写一个转化程序,两个搭配起来用极爽!
有兴趣的朋友也下载一个玩玩吧~ 哈哈! 由于使用过于简单,就不介绍软件使用了~
下载地址
http://www.aisto.com/roeder/dotnet/Download.aspx?File=Reflector
另外再提供一些Reflector的相关插件下载,enjoy!!!!
Reflector.FileDisassembler This add-in can be used to dump the disassembler output to files for any Reflector supported language. Website Download
|
Reflector.CodeMetrics Analyses .NET assemblies and shows design quality metrics. The menu item is registered under the "Tools" menu. Website Download
|
Reflector.SQL2005Browser This add-in allows to browse .NET assemblies stored in SQL Server 2005 (Yukon) databases. Website Download
|
Reflector.DelphiLanguage The Delphi view that is used inside .NET Reflector provided as a language add-in. Website Download
|
Reflector.McppLanguage This add-in extends Reflector with a Managed C++ language rendering module. Website Download
|
Reflector.ChromeLanguage This add-in extends Reflector with a Chrome language rendering module. Website Download
|
Reflector.Diff This add-in shows differences between two versions of the same assembly. Website Download
|
Reflector.VisualStudio This program is hosting .NET Reflector inside the Visual Studio 2003 IDE. Run Reflector.VisualStudio.exe to register the add-in with Visual Studio. Website Download
|
Reflector.ClassView Shows class definitions as plain text with color coding. The menu item is registered under the "Tools" menu. Website Download
|
Reflector.CodeModelView This add-in shows the underlying code model objects for a selected node in .NET Reflector. The menu item is registered under the "Tools" menu. Website Download
|
Reflector.FileGenerator This add-in can be used to dump the disassembler output to files for any Reflector supported language. Download
|
Reflector.Graph This add-in draws assembly dependency graphs and IL graphs. Website Download
|
Reflector.OpenRunningAssembly Opens an assembly or dependency from a process running on the system. The menu item is registered under the "Tools" menu. Website Download |
插件FileGenerator 使用方法:
最开始下载了FileGenerator插件不知如何使用,后来经过摸索,还是学会使用了,所以拿来和大家分享。
FileGenerator插件的作用是:根据dll文件,把里面的源文件导出成文件,导出来的文件除了没有注释,变量名也变了,其它的可谓是没有差别。对于一些比较好的控件,如果不是开源的,完全可以导出成文件,然后自己加上注释,少许修改,很好的利用起来。(不开源的dll,用起来也不放心啊)
先根据上面的地址下载FileGenerator并解压缩,然后运行Reflector.exe,然后点击View->Add-Ins...,弹出一个窗口,然后点击Add->选择FileGenerator里面的唯一一个dll文件:"FileGenerator.dll",点击close.
然后回到Reflector窗口,Tool->Generator File(s)... 右边就出现了插件的窗口,选中左边的dll文件,点击右边的导出文件,源代码就全部导出来了,真是爽啊!