zoukankan      html  css  js  c++  java
  • .Net反编译工具Reflector

     .Net反编译工具Reflector它是一个类浏览器和反编译器,可以分析程序集并向您展示它的所有秘密,反编译.EXE .DLL .MCL格式的文件。.net 框架向全世界引入了可用来分析任何基于 .net 的代码(无论它是单个类还是完整的程序集)的反射概念。反射还可以用来检索有关特定程序集中包含的各种类、方法和属性的信息。使用 .net reflector,您可以浏览程序集的类和方法,可以分析由这些类和方法生成的 microsoft 中间语言 (msil),并且可以反编译这些类和方法并查看 c# 或 visual basic .net 中的等价类和方法。
     

     Reflector插件使用方法:

           以FileDisassembler这个插件为例(它可以把exe或dll文件反编译成原始的cs文件,反编译的效果相当好,99%都是正确的,只有一些注释等会有错误。),先根据下面的地址下载过来并解压缩,然后运行Reflector.exe,然后点击View->Add- Ins,弹出一个窗口,然后点击Add->选择你下载过来的Reflector.FileDisassembler.dll插件,再点击close。到此插进装载完毕。
             然后回到Reflector窗口,Tool->File Disassembler,右边就出现了插件的窗口,File->Open打开你要反编译的DLL文件,然后选中左边的dll文件,点击右边插件的相关功能导出文件,源代码就全部导出来了。当然这样就还原的源码可不是完全还原,然后自己加上注释,少许修改,就是真正的源码了。

     Reflector常用插件下载地址:

    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
  • 相关阅读:
    09不可变类型
    08浅拷贝和深拷贝
    07参数的传递
    06判等对象是否相等
    05引用类型以及特殊引用类型string
    报错:Missing type map configuration or unsupported mapping
    黄聪:VS2010开发T4模版引擎之基础入门
    黄聪:《网站高转换率法则》#2:你的网站是垃圾站吗?
    黄聪:《网站高转换率法则》#1:为什么要研究网站转换率?
    黄聪:百度知道中对HTML字符实体、字符编号,&开头字符的使用
  • 原文地址:https://www.cnblogs.com/mingyongcheng/p/2091601.html
Copyright © 2011-2022 走看看