What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » C++ Decompiler

C++ Decompiler
Author: Message:
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: C++ Decompiler
The cause why there isn't any program of that type isn't because the code of the programs of big companies would be known, the cause is because it's very very very complex doing that kind of program because there's no a unique sollution to the problem.

I mean: you have an EXE, that's the same as if you have some ASM code. Well, from the ASM code you can't decide what the original C code was, because several C codes can give as result the same ASM code and also the C code may have been so optimized that once you have the ASM it's impossible to know the original code.

Also, suppose the program can "extract" the C code: As you know, the C language uses variables (as most of all high-level programming languages). Well, what would the name of those variables be? Note that the names of variables are only nemonics (<- dodgy spelling :P). The only thing that the supposed decompiler could do is assing names like v0001, v0002, and so.. and with those names you wouldn't be able to understand the code. Similar things would happen with inline functions, global optimizations, calling conventions, etc... The code would be unreadable.

In short: there are some things in high-level languages that help the programmer in doing his/her job, and those things exists only in high-level languages. They're lost when you compile a program and they can't be restored in a decompilation. That's why, in case that kind of tool exists, it'd be useless.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
07-25-2004 07:31 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
C++ Decompiler - by DJeX on 07-25-2004 at 04:46 PM
RE: C++ Decompiler - by RaceProUK on 07-25-2004 at 05:05 PM
RE: C++ Decompiler - by Choli on 07-25-2004 at 05:36 PM
RE: C++ Decompiler - by aNILEator on 07-25-2004 at 06:55 PM
RE: C++ Decompiler - by Anubis on 07-25-2004 at 07:03 PM
RE: C++ Decompiler - by Choli on 07-25-2004 at 07:31 PM
RE: C++ Decompiler - by RaceProUK on 07-25-2004 at 08:12 PM
RE: C++ Decompiler - by Choli on 07-25-2004 at 09:12 PM
RE: C++ Decompiler - by RaceProUK on 07-25-2004 at 09:42 PM
RE: C++ Decompiler - by DJeX on 07-26-2004 at 06:47 AM
RE: C++ Decompiler - by Maniac on 07-26-2004 at 08:07 AM
RE: C++ Decompiler - by Kryptonate on 07-26-2004 at 10:20 AM
RE: C++ Decompiler - by Anubis on 07-26-2004 at 12:07 PM
RE: C++ Decompiler - by DJeX on 07-26-2004 at 05:07 PM
RE: C++ Decompiler - by Choli on 07-26-2004 at 07:28 PM
RE: C++ Decompiler - by DJeX on 07-26-2004 at 07:34 PM
RE: C++ Decompiler - by CookieRevised on 07-26-2004 at 07:52 PM
RE: C++ Decompiler - by DJeX on 07-26-2004 at 09:29 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On