Re: C Decompiler Query (humour)

johnl@ima.UUCP (Compilers moderator)
8 Apr 86 23:21:00 GMT

          From comp.compilers

Related articles
Re: C Decompiler Query (humour) johnl@ima.UUCP (1986-04-08)
| List of all articles for this month |

Relay-Version: version B 2.10.2 9/12/84; site mit-prep.ARPA
From: johnl@ima.UUCP (Compilers moderator)
Newsgroups: mod.compilers
Date: 8 Apr 86 23:21:00 GMT
Article-I.D.: ima.184
Posted: Tue Apr 8 18:21:00 1986
Date-Received: 11 Apr 86 11:28:58 GMT
Organization: GE/Calma, Milpitas CA
Originally-from: decvax!decwrl!sun!calma!radzy (Tim Radzykewycz)
In-Reply-To: <179@ima.UUCP>

In article <179@ima.UUCP> you write:
>has anyone had any experience in writing a C-decompiler? The
>input is assembler source, and the output is C code.


How about:


sed -e 's/^/asm("/' -e 's/$/");/' -e '1i\
main() {' -e '$a\
}' < file.s > file.c


For the record: :-) :-) :-) :-) :-) :-) :-) :-) :-)
--
Tim (radzy) Radzykewycz, The Incredible Radical Cabbage.
ARPA: calma!radzy@ucbvax.berkeley.edu
GEnet: cc5vxa::cc5mxd::calma::radzy
UUCP: {ucbvax,sun,csd-gould}!calma!radzy
VOICE: "Hey! Radzy!"
--
-----------------------------------------------------------------------------
Send submissions to: ima!compilers


ima is reachable as { ucbvax!cbosgd | ihnp4 | cca | bbncca | think |
uiucdcs | allegra | inmet | yale | harvard }!ima!...
Arpa mail may make it to ima!compilers@CCA-UNIX or ima!compilers@BBNCCA



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.