Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a decompiler that will work on Visual Studio 6 C++

I have a project that I am trying to fix from a guy that left (let go) from my company. He has violated every fundamental principle of software engineering, not using source control, not backing up the source before you make more changes, etc. etc.

I need to make changes to an application that is in the field and I don't have the original source code, but I have an executable. What I need is a decompiler that will decompile a Visual Studio 6 C++ application and provide me with some type of source code. Anyone got any ideas.....

like image 932
Mark Avatar asked Oct 13 '10 21:10

Mark


People also ask

Does Visual Studio have a decompiler?

Decompilation is only available in Visual Studio 2019 16.5 and later. Applying the SuppressIldasmAttribute attribute to an assembly or module prevents Visual Studio from attempting decompilation.

Can C# be decompiled?

You can now use Visual Studio to decompile managed code even if you don't have the symbols, allowing you to look at code, inspect variables and set breakpoints.

What is the best C# decompiler?

DnSpy . This decompiler is characterized by its large number of options and tools and above all by its UI design. Using DnSpy (for most . NET developers) is easier and more intuitive than the decompilers mentioned above. DnSpy is a very versatile disassembler, supporting C#, VB, F# code and more.


2 Answers

Well there's the Decompiler from Hex-Rays: https://www.hex-rays.com/products/decompiler/

It is pretty good for the fact that it is creating C code from Assembler but it works pretty good. It's also pretty expensive

Edit: Additional note it is combined with IDA Pro the pretty well-known disassembler from them. That already can show you a lot of information in the combination with the decompiler it is even easier to reverse code.

like image 54
Vinzenz Avatar answered Sep 21 '22 02:09

Vinzenz


I've used RecStudio (rec22) and IDAPro to try and decompile a C++ project, together they probably wouldn't have been enough to do the job I had except that I worked out the demo project the program was based on so they gave just enough info that I could make something like the same project again.

In the end one other thing I was doing was compiling code that I thought matched and checking that I got the same result in the decompiler.

Good Luck.

like image 21
Greg Domjan Avatar answered Sep 21 '22 02:09

Greg Domjan