【Hacker News搬运】dnSpyEx:。NET调试器和程序集编辑器
-
Title: dnSpyEx: .NET debugger and assembly editor
dnSpyEx:。NET调试器和程序集编辑器
Text:
Url: https://github.com/dnSpyEx/dnSpy
由于我是一个AI,我无法直接访问互联网或外部链接,包括GitHub页面。不过,我可以根据提供的链接和一般的知识来描述dnSpy项目。 dnSpy是一个开源的.NET反编译器,它允许用户查看、编辑和调试.NET程序集。这个工具是由Zer0 Memory创建的,并且现在由社区维护。以下是dnSpy的一些主要特点: 1. **反编译功能**:dnSpy可以将.NET程序集(如DLL和EXE文件)反编译成高级语言,如C#或VB.NET,使得开发者可以查看源代码。 2. **调试支持**:它支持调试.NET程序,可以设置断点、查看变量和执行堆栈跟踪。 3. **编辑功能**:用户可以直接在dnSpy中编辑程序集的代码,修改后可以重新编译。 4. **用户界面**:dnSpy提供了一个直观的用户界面,使得浏览和修改.NET程序集变得容易。 5. **插件支持**:dnSpy支持插件,允许用户扩展其功能。 6. **跨平台**:dnSpy可以在Windows操作系统上运行。 如果你需要了解dnSpy的详细信息,你可以访问其GitHub页面,那里有项目的文档、安装指南、使用说明和源代码。以下是对dnSpy项目页面的内容进行翻译的示例:
dnSpy是一个.NET反编译器,它允许用户查看、编辑和调试.NET程序集。这个工具是由Zer0 Memory创建的,并且现在由社区维护。
dnSpy的主要特点包括:
- 反编译.NET程序集到高级语言(如C#或VB.NET)
- 支持调试.NET程序
- 直接编辑程序集的代码
- 直观的用户界面
- 支持插件扩展功能
- 跨平台支持(Windows)
要了解更多关于dnSpy的信息,请访问其GitHub页面:dnSpy GitHub
请注意,上述翻译是基于对dnSpy功能的描述,并不是直接从GitHub页面获取的翻译内容。如果你需要准确的翻译,建议使用专业的翻译服务或工具。
Post by: unleaded
Comments:
poincaredisk: DnSpy was great. The author (d4d) did many great things for the world of .net reversing and binary analysis, including dnspy and dnlib. One day, i don't know why, they archived most of their repositories.<p>I'm glad electrokill stepped up and maintains dnspyex now. This also shows how resilient open source can be - as long as someone wants to work on the project, it can go on forever.
poincaredisk: DnSpy很棒。作者(d4d)为.net反转和二进制分析领域做了许多伟大的事情,包括dnspy和dnlib。有一天,我不知道;不知道为什么,他们归档了大部分存储库<p> 我;我很高兴electrokill现在加强了对dnspyex的维护。这也展示了开源的弹性——只要有人想参与这个项目,它就可以永远持续下去。
cobertos: Love this tool, used it mod a Unity game and learn all the internals to see how to integrate my mod with the base game. Was an invaluable resource. It also taught me a lot about how they made that game (Lethal Company) and how it was truly made to ship/get the idea out the door and not for perfection/maintainable code.<p>
IIRC the maintainer was like 15 years old?Edit: My mistake, the maintainer is 18, <a href="https://github.com/ElektroKill">https://github.com/ElektroKill</a>cobertos: 喜欢这个工具,用它改装了一个Unity游戏,学习了所有的内部知识,看看如何将我的改装与基础游戏集成。是一种无价的资源。它还教会了我很多关于他们如何制作这款游戏(致命公司)以及它是如何真正制作出来的;将想法付诸实践,而不是追求完美;可维护代码<p> ~~IIRC的维护者大概15岁?~~编辑:我错了,维护者是18岁,<a href=“https:/;/ github.com/-ElektroKill”>https:"/;github.com;ElektroKill</a>
infogulch: Used this to debug an application crash in a vendor's proprietary windows app recently, and I was able to file a detailed bug report. (Though they decided it's notabug, womp womp.)<p>You can install it with winget, but it's very particular about whether you're debugging a win32 or win64 app and it's a bit of a pain to get it to install both or just win32. I wonder if it would be possible to have both bundled in the same installer and just automatically relaunch the app if you try to debug a program with a mismatching arch. Or just download from the releases page...
infogulch: 用于调试供应商中的应用程序崩溃;最近,我使用了windows专有应用程序,并提交了一份详细的错误报告。(虽然他们决定它不是bug,womp womp。)<p>你可以用winget安装它,但它;对于你是否;重新调试win32或win64应用程序;安装这两个或只安装win32有点痛苦。我想知道是否有可能将两者捆绑在同一个安装程序中,并在您尝试调试具有不匹配arch的程序时自动重新启动应用程序。或者从发布页面下载。。。
buybackoff: Used dnSpy once to debug runtime IL-emited code as if it was C#. It managed to step into a generated emitted method, decompile it on the fly and set breakpoints on the decompiled C# code for subsequent hits. That was a mind-blowing at the time, nothing else was close and I'm not sure any other tool or IDE supports this even now. Though didn't have a need for that since.
buybackoff: 曾经使用dnSpy调试运行时IL发出的代码,就像它是C#一样。它设法进入一个生成的发射方法,动态反编译它,并在反编译的C#代码上设置断点以供后续点击。这在当时是一件令人震惊的事情,没有其他事情可以接近,我;我不确定现在是否有其他工具或IDE支持这一点。虽然没有;从那以后就不需要了。
mrcsharp: This is great news! Every time I used dnSpy I was blown away by how well made it was.<p>I still don't know why the original dnSpy repo was archived suddenly. Every once in a while I would go check to see if there's been any movement. I didn't realize this project existed so thanks for sharing.
mrcsharp: 这是个好消息!每次我使用dnSpy,我都被它做得多么好惊呆了<p> 我仍然不知道;我不知道为什么原来的dnSpy仓库突然被归档了。每隔一段时间,我都会去看看是否有;这是任何运动。我没有;我不知道这个项目的存在,所以谢谢分享。