Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: decompile |
| Date | 2012-06-08 14:15 -0700 |
| Organization | None to speak of |
| Message-ID | <lnobotbj53.fsf@nuthaus.mib.org> (permalink) |
| References | <4fd245b6$1@news.usenet4you.net> |
"Fred" <you@your.domain> writes:
> it is possible to decompile a program to c?
It's possible (though it may or may not be practical). In other
words, for any executable, it should be possible to generate C code
that behaves the same way.
But don't expect the resulting C code to be legible or maintainable,
or to have any particular resemblance to the original code that
was compiled to produce the executable. A lot of information,
such as variable names, is discarded during compilation, and you
can't reliably distinguish between a for loop, a while loop, and
a goto statement. You can't unscramble an egg.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
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