有比 .NET Reflector 更好的东西吗?
我以前很喜欢 Reflector,但自从 RedGate 接手之后,它就急剧走下坡路了。现在它迫使我更新(这绝对是荒谬的),有一半的时间更新并不顺利,而且每次更新都越来越阻碍我的生产力。我已经厌倦了,我已经准备好迎接更好的事情了。有人知道更好的反汇编程序吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
另请查看 SharpDevelop 的 ILSpy。它正处于开发的早期阶段,他们刚刚于 2 月 24 日发布。这本身对我来说效果很好。从他们的网站:
更新:JetBrains 发布了 dotPeek,它的免费 .NET 反编译器< /a>.
更新 2:Telerik 还有一个免费的反编译器:JustDecompile 。
Also take a look at ILSpy by SharpDevelop. It's in early stages of development and they just made a release on the 24th of February. That in itself works pretty good for me. From their website:
Update: JetBrains has released dotPeek, its free .NET decompiler.
Update 2: Telerik also has a free decompiler: JustDecompile.
JetBrains 将在其 ReSharper 中添加一个反编译器,并发布一个独立的反编译器。
此处 是更多信息。
更新: JetBrains 现已发布名为 dotPeek 的产品,它可以找到此处。
JetBrains is going to add a decompiler to its ReSharper, and release a stand-alone decompiler too.
Here is more information.
UPDATE: JetBrains has now released the product called dotPeek and it can be found here.
在我看来,有三个重要的替代方案值得关注,它们都是免费:
所有这些解决问题的方式都略有不同,并且具有不同的 UI。我建议大家都尝试一下,看看你更喜欢哪一个。
In my opinion, there are three serious alternatives to keep an eye on, all of which are free:
All of these approach the problem in slightly different ways with differing UIs. I would suggest giving them all a try and seeing which one you prefer.
这里没有提到的其他一些 -
Mono Cecil:使用 Cecil,您可以加载现有的托管程序集,浏览所有包含的内容类型,即时修改它们并将修改后的程序集保存回磁盘。
Kaliro:这是一个用于探索使用 Microsoft.Net 框架构建的应用程序内容的工具。< /p>
Dotnet IL 编辑器 (DILE):Dotnet IL 编辑器 (DILE) 允许反汇编和调试 .NET 1.0/1.1/2.0 /3.0/3.5 应用程序没有源代码或 .pdb 文件。它甚至可以在 IL 级别调试其自身或 .NET Framework 的程序集。
通用编译器基础结构:Microsoft Research 通用编译器基础结构 (CCI) 是一组库和一个应用程序编程接口 (API),支持编译器和相关编程工具常见的一些功能。 CCI 主要由创建、修改或分析 .NET 可移植可执行 (PE) 和调试 (PDB) 文件的应用程序使用。
Some others not mentioned here -
Mono Cecil: With Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly.
Kaliro: This is a tool for exploring the content of applications built using the Microsoft.Net framework.
Dotnet IL Editor (DILE): Dotnet IL Editor (DILE) allows disassembling and debugging .NET 1.0/1.1/2.0/3.0/3.5 applications without source code or .pdb files. It can debug even itself or the assemblies of the .NET Framework on IL level.
Common Compiler Infrastructure: Microsoft Research Common Compiler Infrastructure (CCI) is a set of libraries and an application programming interface (API) that supports some of the functionality that is common to compilers and related programming tools. CCI is used primarily by applications that create, modify or analyze .NET portable executable (PE) and debug (PDB) files.
.NET 源代码现已提供。
查看此内容链接或这个
或者,如果您寻找反编译器,我正在使用 DisSharper 。这对我来说已经足够好了。
The .NET source code is available now.
See this link or this
Or if you look for a decompiler, I was using DisSharper. It was good enough for me.
Red Gate 的最新版本是 6.1。但是,5.1 版本无法自动更新到版本 6,因为服务条款发生了更改,因此您将被重定向到下载 6.1 版本的网站。这主要是由于法律原因,您可以查看以下帖子:
哎呀! .NET Reflector 更新机制发生了什么?
手动更新到 6.1 后,您将不再遇到任何问题。
The latest version from Red Gate is 6.1. However the 5.1 version cannot automatically update to version 6 because there were changes to the Terms of Service, so instead you are redirected to the site to download the 6.1 version. This is mostly because of legal reasons as you can check in the following post:
Oi! What's going on with the .NET Reflector update mechanism?
After you manually update to 6.1 you will no longer experience any problems.
我们没有使用自动更新程序,而是将 EXE 文件的属性设置为只读。这样它就不会删除该文件。
Instead of using the autoupdater, we just set the properties of the EXE file to read-only. That way it doesn’t delete the file.
我不确定你在这里真正想要什么。如果您想查看.NET框架源代码,您可以尝试Netmassdownloader。它是免费的。
如果您想查看任何程序集的代码(不仅仅是 .NET),可以使用 ReSharper。虽然它不是免费的。
I am not sure what you really want here. If you want to see the .NET framework source code, you may try Netmassdownloader. It's free.
If you want to see any assembly's code (not just .NET), you can use ReSharper. Although it's not free.
9Rays曾经有一个反编译器,但我有一段时间没有检查过。我记得它不是免费的......
还有一个新的(至少对我来说)名为 Dis#。
9Rays used to have a decompiler, but I haven't checked in a while. It was not free, I remember...
There is also a new one (at least for me) named Dis#.