How to convert .exe files to source files of C++? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to convert .exe files to source files of C++?

we can make. exe files using compiler ide and linker but can anyone tell me how to reverse this and edit an app

7th May 2017, 4:00 PM
Harikrishnan s
Harikrishnan s - avatar
5 Answers
+ 15
it is next to impossible. except if it is open source, so the developer can give the source code. but directly convert exe to C++ is ...yeah next to impossible.
7th May 2017, 4:15 PM
Agus Mei
Agus Mei - avatar
+ 9
You can only revert to asm (barely) if you know how to use a hexadecimal editor and know instruction opcodes in binary.
7th May 2017, 5:15 PM
Karl T.
Karl T. - avatar
7th May 2017, 6:54 PM
Karl T.
Karl T. - avatar
+ 5
you can't decompile c++ to source code because c++ does not have intermediate language. you can convert it to assembly. when i decompile a.simple hello world program it gives me.an assembly file which has more than 1000 line.
7th May 2017, 9:36 PM
MR Programmer
MR Programmer - avatar
0
Yes, indeed you can. There are a few Decompilers available for this very purpose. Examples of these are CodeReflect, and JustDecompile. However, you should be aware that if this is industrial code, or closed source, the source code will be obfuscated. Regards, Will
17th Jan 2023, 8:54 AM
william joe
william joe - avatar