Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: decompile |
| Date | 2012-06-08 14:53 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <jqthnj$vji$1@dont-email.me> (permalink) |
| References | <4fd245b6$1@news.usenet4you.net> |
On 06/08/2012 02:34 PM, Fred wrote: > Hello > > it is possible to decompile a program to c? It's possible to generate a C program which would behave the same as the program you're decompiling; I believe that some people may have even created such things. However, the output will, in general, be nearly unintelligible. That's because the process of compiling a C program tends to discard a large portion of the information needed for a human to understand the program. First of all, it drops all of the comments. Secondly, identifiers with internal linkage or no linkage (which is the vast majority the identifiers in your program) are, in effect, converted into other forms that are meaningful only to the hardware. Any information stored in the identifier's spelling is just plain lost. Finally, most modern compilers optimize your code by rearranging your code extensively. It's possible to write C code that does the same thing as the optimized code, but it's generally not possible to reconstruct what the original code looked like before optimization.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
decompile "Fred" <you@your.domain> - 2012-06-08 20:34 +0200
Re: decompile gazelle@shell.xmission.com (Kenny McCormack) - 2012-06-08 18:48 +0000
Re: decompile "Rowan K. Fullack III" <nospam@nospam.com> - 2012-06-09 19:03 +0000
Re: decompile James Kuyper <jameskuyper@verizon.net> - 2012-06-08 14:53 -0400
Re: decompile Jean-Christophe <5.d@free.fr> - 2012-06-08 12:00 -0700
Re: decompile Keith Thompson <kst-u@mib.org> - 2012-06-08 14:15 -0700
Re: decompile Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-06-08 17:38 -0400
Re: decompile Jean-Christophe <5.d@free.fr> - 2012-06-08 14:46 -0700
Re: decompile Datesfat Chicks <datesfat.chicks@gmail.com> - 2012-06-08 21:27 -0400
Re: decompile Kenneth Brody <kenbrody@spamcop.net> - 2012-06-09 10:47 -0400
Re: decompile Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-06-09 19:10 +0100
Re: decompile "BartC" <bc@freeuk.com> - 2012-06-09 19:22 +0100
Re: decompile Kenneth Brody <kenbrody@spamcop.net> - 2012-06-11 09:17 -0400
Re: decompile pete <pfiland@mindspring.com> - 2012-06-11 22:45 -0400
Re: decompile Geoff <geoff@invalid.invalid> - 2012-06-09 08:26 -0700
Re: decompile gwowen <gwowen@gmail.com> - 2012-06-11 02:01 -0700
Re: decompile "Fred" <you@your.domain> - 2012-06-09 20:43 +0200
Re: decompile Jean-Christophe <5.d@free.fr> - 2012-06-09 13:09 -0700
Re: decompile Sorry you're right "Fred" <you@your.domain> - 2012-06-09 23:12 +0200
Re: decompile John Bode <jfbode1029@gmail.com> - 2012-06-11 07:53 -0700
Re: decompile Michael Angelo Ravera <maravera@prodigy.net> - 2012-06-13 13:20 -0700
Re: decompile Dann Corbit <dcorbit@connx.com> - 2012-06-13 16:46 -0700
Re: decompile gordonb.v9y2l@burditt.org (Gordon Burditt) - 2012-06-18 19:42 -0500
csiph-web