+ 5

How view sourse code in .exe

23rd Aug 2019, 7:08 PM
kalana dilshan
kalana dilshan - avatar
4 Answers
+ 6
Reverse compiling C++ code is something I understand to be impossible. An exe file is binary with no indication as to which compiler was used; GCC, clang, etc.
23rd Aug 2019, 8:00 PM
Zeke Williams
Zeke Williams - avatar
+ 3
Actually I know a little about c++ but I think this will help https://stackoverflow.com/questions/45043469/how-can-i-see-source-code-of-exe-soft How can I see source code of .exe soft? - Stack Overflow
23rd Aug 2019, 10:34 PM
Audu Peter Iko-Ojo
Audu Peter Iko-Ojo - avatar
+ 2
It used to be possible to decompile using a program called IDApro and then work on it's output which was in assembly code. With the wide spread use of obfuscation (more or less encryption of code) I would think that it would be almost impossible.
24th Aug 2019, 11:20 AM
Carl Drews
Carl Drews - avatar
It depends. Some languages like .net, java, python are not normally compiled to assembly/machine code. So conversion back is possible if the binary is not obfuscated. However languages such as C/C++ create binary output in machine language. To obtain the assembly code you may use a disassembler such as IDA/hopper as mentioned correctly by Carl.
24th Aug 2019, 8:36 PM
sam - avatar