使用ildasm获取源代码_有什么比ILDasm好? ILSpy和dnSpy是反编译.NET代码的工具

本文介绍了ILDasm作为.NET代码反编译的工具,但指出其老旧且不受欢迎。作者推荐了ILSpy和dnSpy作为更好的替代品。ILSpy具有多种前端和预配置的程序集列表,而dnSpy则拥有集成的调试器,允许在没有源代码的情况下调试程序。两者都提供了丰富的功能,如代码编辑、元数据修改和高DPI支持。
摘要由CSDN通过智能技术生成
使用ildasm获取源代码

使用ildasm获取源代码

.NET code (C#, VB, F#, etc) compiles (for the most part) into Intermediate Language (IL) and then makes it way to native code usually by Just-in-time (JIT) compilation on the target machine. When you get a DLL/Assembly, it's pre-chewed but not full juiced, to mix my metaphors.

.NET代码(大部分是C#,VB,F#等)会编译为中间语言(IL),然后通常通过在目标计算机上进行即时(JIT)编译将其转换为本地代码。 当您获得DLL /程序集时,将其进行预咀嚼但未完全溶解,以混合我的隐喻。

Often you'll come along a DLL that you want to learn more about. Sometimes you'll want to just see the structure of classes, methods, etc, and other times you want to see the IL - or a close representation of the original C#/VB/F#, etc. You're not looking at the source, you're seeing a backwards projection of the IL as whatever language you want. You're basically taking this pre-chewed food and taking it out of your mouth and getting a decent idea of what it was originally.

通常,您会遇到想要了解更多信息的DLL。 有时,您只想看一下类,方法等的结构,而有时又想看一下IL-或原始C#/ VB / F#的近似表示,等等。您不是在看源代码。 ,无论您想要哪种语言,您都会看到IL的向后投影。 您基本上是在将这种预先咀嚼的食物从嘴里拿出来,对它的原味有个不错的了解。

I've used ILDasm for years, but it's old and lame and people tease you for using it because they are cruel. ;)

我已经使用ILDasm多年了,但是它又老又la脚,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值