Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert EXE file to C++ Source Code

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi, i want to ask,can i convert exe file to c++ source code.i have an exe file and i want to open in c++ program.is there any tools can be used to open exe file in c++ program?
 
How do you know it is C++?

But this is a good decompiler

or using IDA (Interactive Disassembler) is probably the best disassembler, that'll get you asm code. but you'l have to learn asm.

DCC will get you some code whether it was made in C++ or not.

Goodluck
 
Although its easy enough to disassemble a program to assembly language you can never recover labels and variable names etc. so decompiling into a high level language such as c++ will result in mostly junk inunderstandable code being produced.Part of what makes high level languages easier to work with than pure machine code is the ability to name memory locations with a sensible meaningful name. any decompiling could only end up with something like int1 or label1.
What you are after is like the holy grail to programmers and i firmly believe that its not really possible to decompile machine code to c++. so much information would be lost in the decompilation process that any produced code i think would be junk.
 
Very True, But you can get a headstart on the reverse engineering process.

either way, Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top