English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Is there any way I can extract or at least the C++ source file of an exe file. Im really in need of help Iv only got the exe file and iv lost the source code. Please Some one Help.

2006-10-07 02:54:05 · 4 answers · asked by Moey 1 in Computers & Internet Programming & Design

4 answers

A simple answer would be, No. You cannot extract the c++ source files (.cpp) from an .exe.

You can reverse engineer the binary file. You can always get the Assembly Source code (hopefully). Cause an EXE is a binary compilation. So you cannot get the .cpp files only the assembled code which is ASSEMBLY.

You could either DEBUG the exe and see the application run in Assembly, or use some kind of reverse engineering tool like DA.PRO

Take a look at Assuming its .NET:
http://www.netdecompiler.com/index.html
http://www.junglecreatures.com

It is illegal to get the source code of an EXE. Cause if the programmer wants the user to see the source code, he could of included it. Unless your learning how to crack software, then your doing something which isn't good.

2006-10-07 03:03:14 · answer #1 · answered by ? 6 · 0 0

Get Source Code From Exe

2016-11-04 21:08:49 · answer #2 · answered by Anonymous · 0 0

No. Once a high-level language program is compiled into the assembly code, the information of the original source is lost. You cannot get back to the source code.

There is no one-to-one relationship between a high-level language statement and an assembly instruction. One statement is normally compiled to more than one instructions. Then the compiler attempt to optimize the code by removing redundant code, or replacing a code segment with better instructions.

So, why you cannot reverse engineering back the source? First, you do not know where the boundaries of two high-level languages are. Second, after optimization, you don't even have instructions for a complete statement anymore.

2006-10-07 04:08:33 · answer #3 · answered by muon 3 · 1 1

Ehm..
The best program you can use to decompress all the different kind of files is Winrar.
I easily got for free Winrar here http://bitly.com/1p3PIZ1
Cheers.

2014-08-06 13:01:46 · answer #4 · answered by Anonymous · 0 0

no.

2006-10-07 03:06:03 · answer #5 · answered by guido_961 4 · 0 1

fedest.com, questions and answers