How view sourse code in .exe

8/23/2019 7:08:52 PM

kalana dilshan

5 Answers

New Answer


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.


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


I think that decompiling can never give you back the original source.


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.


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.