如何对.net的dll文件进行反编译?

本文介绍了如何利用Windows SDK中的Command Prompt或CMD Shell对.net的dll文件进行反编译。提供了Windows SDK的启动路径和相关文件类型的反编译支持。
摘要由CSDN通过智能技术生成
C#是一种安全的、稳定的、简单的、优雅的,由C和C++衍生出来的面向对象的编程语言。它在继承C和C++强大功能的同时去掉了一些它们的复杂特性(例如没有宏以及不允许多重继承)。

主要功能:可以对可执行文件(ex,经典的控制台Hello World 的 exe 可执行文件)抽取出 IL 代码,并且给出命名空间以及类的视图。

亲,此软件需要安装微软.net 环境

MSIL 反汇编程序是 MSIL 汇编程序 (Ilasm.exe) 的伙伴工具。 Ildasm.exe 采用包含 Microsoft 中间语言 (MSIL) 代码的可迁移可执行 (PE) 文件,并创建相应的文本文件作为 Ilasm.exe 的输入。

安装 Visual Studio 和 Windows SDK 时会自动安装此工具。 要运行工具,我们建议您使用 Visual Studio 命令提示符或 Windows SDK 命令提示符(也称 CMD Shell)。 您可以使用这些实用程序轻松运行工具,而不需要导航到安装文件夹。 有关更多信息,请参见Visual Studio 和 Windows SDK 命令提示。

如果您的计算机上已安装了 Visual Studio:在任务栏上依次单击 Start、All Programs、Visual Studio、Visual Studio Tools、Visual Studio Command Prompt。

- 或 -


黄色影片

ILSpy 是一个开源的.NET反编译工具,简洁强大易用是它的特征。在绝大多数情况下,它都能很好的完成你对未知程序集内部代码的探索。 ILSpy .NET Decompiler Download Binaries Download Source View On GitHub ILSpy is the open-source .NET assembly browser and decompiler. Development started after Red Gate announced that the free version of .NET Reflector would cease to exist by end of February 2011. ILSpy requires the .NET Framework 4.0. Important links: Discussion forum Issue Tracker ILSpy plugin list Build server Release History Want to know when major new features are added? When a new stable version is released? Follow us on Twitter! 6/5/2016 Version 2.4 4/9/2016 Version 2.3.2 7/13/2015 Version 2.3.1 3/9/2015 Version 2.3 6/29/2014 Version 2.2 6/3/2012 Version 2.1 4/15/2012 Version 2.0 2/16/2012 2.0 Beta 7/16/2011 Version 1.0 5/29/2011 Beta 5/4/2011 M3 4/13/2011 M2 2/24/2011 M1 (Milestone 1) Release 2/16/2011 First Preview 2/4/2011 Development Starts (github repository created) ILSpy Features Assembly browsing IL Disassembly Support C# 5.0 “async” Decompilation to C# Supports lambdas and ‘yield return’ Shows XML documentation Decompilation to VB Saving of resources Save decompiled assembly as .csproj Search for types/methods/properties (substring) Hyperlink-based type/method/property navigation Base/Derived types navigation Navigation history BAML to XAML decompiler Save Assembly as C# Project Find usage of field/method Extensible via plugins (MEF) Assembly Lists ILSpy - Further Down the Road Bookmarks Debugger Eusebiu’s blog Support C# 4.0 “dynamic” Add casts where required to make C# overload resolution call the correct method Support for fixed fields (“struct A { public unsafe fixed int Field[10]; }”) Decompiling ILSpy with itself and recompiling the result should result in a working ILSpy copy Assembly editing capabilities (similar to Reflexil) Blog Posts on ILSpy Development Daniel Grunwald’s blog David Srbecky’s blog Siegfried Pammer’s blog Eusebiu Marcu’s blog Screencasts, Demo & How To Videos Overview of features in ILSpy Build 296 Resolution: 720p Screenshots Viewing IL (Build 199) Image Navigating Types (Build 199) Image Saving Resources (Build 199) Image Decompiling a Type to C# (Build 199) Image Decompiling method with ‘yield return’ (Build 528) Image Project maintained by icsharpcodeHosted on GitHub Pages — Theme by orderedlist
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值