解码(语言无关) [英] Decompiling code (language independent)

查看:164
本文介绍了解码(语言无关)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以使用什么软件来查看.dll文件中的源代码,而不管源代码使用什么编程语言?

What software can be used to view the source code in a .dll file, irrespective of the programming language used for the source code?

推荐答案

如果它是一个托管DLL(.NET),您可以使用诸如反射器 ILDASM 您将看到 IL 代码。 (编辑2017-02-03:在7年以上,.NET反汇编程序当然已经进展很多,现在可以生成非常体面的C#代码)

If it's a managed DLL (.NET), you can open it using tools such as Reflector or ILDASM and you'll see the IL code. (Edit 2017-02-03: In 7+ years, .NET disassemblers have of course progressed a lot and are now able to produce very decent C# code)

如果是一个非托管DLL(本机),你没有运气。最好的是加载反汇编程序。除非你确切知道你想去哪里,否则这几乎无处不在。

If it's an unmanaged DLL (native), you're out of luck. The best you can do is load a disassembler. Which leads you nearly nowhere unless you know exactly where you want to go.

这篇关于解码(语言无关)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆