Computing.Net > Forums > Programming > C/C++ decompiler

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C/C++ decompiler

Reply to Message Icon

Name: hafeez
Date: November 7, 2003 at 23:12:29 Pacific
OS: win98
CPU/Ram: 32MB
Comment:

please tell me from where i can download c, c++ decompilers



Sponsored Link
Ads by Google

Response Number 1
Name: CompSavy
Date: November 8, 2003 at 02:02:17 Pacific
Reply:

Im sorry the is

www.bloodshed.net


0

Response Number 2
Name: Sord
Date: November 8, 2003 at 19:30:06 Pacific
Reply:

CompSavy, he asked for a decompiler not compiler.

hafeez, there are no C/C++ decompilers. This is because all of the C and C++ compilers compile differently. Even if you tried making a decompiler for a specific compiler, you would have to make sure it wasn't linked with any extra lib files or any other 3rd party thing other than source.

There are disassemblers though. Every computer program, whether its on Mac, Windows, Linux, Unix, etc. all can be disassembled because assembly is what is actually sent to the processor. I'm guessing would want one for Windows as you are running Windows 98. Win32dasm is a very nice one, though not free. Just search for disassemblers. Just to let you know though, assembly is much different then the C/C++ high level language you are used to, especially if it was for a PowerPC. If you are determined or have the time then go ahead and learn assembly and disassemble whatever it is you want, though you'll never get the actual code.


0

Response Number 3
Name: anonproxy
Date: November 8, 2003 at 22:41:40 Pacific
Reply:

"there are no C/C++ decompilers. This is because all of the C and C++ compilers compile differently."

No. There are C decompilers (C++ adds some stuff that makes the process harder).

Reverse engineering (a general term, here we mean looking at assembly code from a binary's execution) does not make perfect source copies. You can't make those from any reasonably complex program. The compiler throws a lot out, even without using many arguments and optimizations. But a lot of compilers and libraries are open source, so decompiling can be done fairly accurately (but, nobody has that kind of time, so it's always a hack job). Instead, just dump the assembly (with a debugger, which usually has a disassembler) and work through that. If you want, try decompiling that into C source, maybe with dcc or REC.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C/C++ decompiler

C++ Decompiler www.computing.net/answers/programming/c-decompiler/4044.html

C++ decompiler www.computing.net/answers/programming/c-decompiler/1729.html

EXE Decompiler www.computing.net/answers/programming/exe-decompiler/8571.html