home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!crcnis1.unl.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!usc!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!sics.se!eua.ericsson.se!ericom!etlxd10h!etljmme
- From: etljmme@etlxd30.ericsson.se (Jim)
- Newsgroups: comp.lang.pascal
- Subject: Re: There is no decompile on Turbo is ther
- Message-ID: <1993Jan7.111150.14153@ericsson.se>
- Date: 7 Jan 93 11:11:50 GMT
- Sender: news@ericsson.se
- Reply-To: etljmme@etlxd30.ericsson.se
- Organization: Ericsson
- Lines: 24
- Nntp-Posting-Host: etlxd10h.ericsson.se
-
- In article <1ifihbINNe4e@usenet.INS.CWRU.Edu> ah157@cleveland.Freenet.Edu (Rob Henry) writes:
- >I can't take a trubo pascal compiled program and reverse it to get
- >the source code can I?
-
-
- There's something in a similar vein floating around the C groups too.
- Technically yes, it's possible to do. In fact there's a C program called
- Sourcerer which translates binary to asm and then attempts to translate
- clumps of associated asm into corresponding C. It, and other similar
- programs, just don't work.
-
- 1. The "source" generated is very inaccurate and is usually just plain
- wrong. Not to mention back-translating pointers, variables etc.
-
- 2. It's just too much hassle! Don't forget, to dissassemble to source
- code you have to undo all sorts of compiler optimizations (like
- loop unfolding, for example).
-
- The only thing you could reliably re-create are things like clrscr and halt()
- because they tend to be obvious and unaltered at the asm level. So in theory
- it's possible but I wouldn't waste your time trying to do it!
-
- Cheerio,
- Jim.
-