views:

5107

answers:

5

I have an old DLL that stopped working (log2vis.dll) and I want to look inside it to see what objects it uses.
The DLL was written in C++ (not .NET). Is there a tool that will decompile/disassemble C++ files?

+9  A: 

This might be impossible or at least very hard. The DLL's contents don't depend (a lot) on it being written in C++; it's all machine code. That code might have been optimized so a lot of information that was present in the original source code is simply gone.

That said, here is one article that goes through a lot of material about doing this.

unwind
+1  A: 

I think a C++ DLL is a machine code file. Therefore decompiling will only result in assembler code. If you can read that and create C++ from that your good to go.

PoweRoy
+3  A: 

There really isn't any way of doing this as most of the useful information is discarded in the compilation process. However, you may want to take a look at this site to see if you can find some way of extracting something from the DLL.

anon
+1  A: 

There are no decompilers which I know about. W32dasm is good Win32 disassembler.

Szczepan
why the downvote?
yeyeyerman
+1  A: 

How about this ?

Malkocoglu