Can programs written in C++ be decompiled?

kenhkan

Baseband Member
Messages
34
Hi all,

I sort of know the answer to this question, but just to make sure if it is right. Say I make a program (a single EXE file) with GUI and the programs deal with password management (just say). Is there anyway other people who obtain the EXE can decompile the file into C/C++ code (or even in any other programming languages)? Just wondering if it can be decompiled.
Thanks. Have a nice one folks.
 
well if its a SFX Zip archive you can... just rename example.exe to example.zip and unzip and if your lucky it wont be password protected and if it is check around for a archive password "recovery" program :D
 
RewtGuy said:
http://www.parashift.com/c++-faq-lite/compiler-dependencies.html#faq-38.4

No. but there are disassembler but it's hard to follow complex code in x86 imo.

Yes, the assembly code is harder to follow. Some compilers and a few specialized translator programs exist that can take the assembly as input and create a C or C++ code output file. If you speak that, you'll at least get a generically reconstituted idea about the code. It still isn't great, since variable names like float_107 and function_3031 are the usual output in these cases. But it is better if you're stuck doing it.
 
only took someone 10 days to point that out... pointless posts now, answered no need to post anymore here...
 
Apparently hextcomm didn't check the date, but at least he found a topic that had his question instead of starting a new one. Props for searching!
 
Back
Top Bottom