我有一个.dll我想反编译来对代码进行一些改进。什么是一些工具,将允许我这样做?
I have a .dll I would like to decompile to make some improvements to the code. What are some tools out there that will allow me to do this?
它是用VB编写的,我相信。
It's written in VB, I believe.
推荐答案答案取决于该DLL是用什么语言写的。
The answer depends on what language the DLL was written in.
如果是.NET语言,可以使用.NET Reflector。
If it was a .NET language then, as pointed out, you can use .NET Reflector.
如果它是旧的Visual Basic(预.NET),那么该DLL被编译为所谓的p-code,那里是对反编译做一些变化的几个选项。
If it's the older Visual Basic (pre-.NET), then the DLL is compiled as what's called p-code and there are a few options for doing some variations on decompiling.
最后,如果用C ++编写的语言,没有直接的方法来获取源代码。这样一个DLL被编译成机器语言,只能直接反编译成汇编语言。
Finally, if it's written in a language like C++, there is no direct way to obtain the source code. Such a DLL is compiled to machine language and can only be directly decompiled to assembly language.
所以,这又取决于所使用的语言。而答案可能是没有可能得到类似于原始源代码的东西。
So, again, it depends on the language used. And the answer might be that it's just not possible to get anything resembling the original source code.
更多推荐
如何反编译一个.dll文件?
发布评论