Discussion:
decompiler?
(too old to reply)
Scott
2005-05-06 20:33:13 UTC
Permalink
We have an older Turbo Pascal program written and can't find the source code. Has anyone heard of or know if a decompiler is available? All I've found is disassemblers, which might be an option.

Thanks,
Scott
Timo Salmi
2005-05-06 21:16:10 UTC
Permalink
Post by Scott
We have an older Turbo Pascal program written and can't find the
source code. Has anyone heard of or know if a decompiler is
available? All I've found is disassemblers, which might be an
option.
I am afraid you are out of luck.

56) How can I reverse a TP .EXE or .TPU back into source code?

169462 Oct 27 2004 ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip
tsfaqp.zip Common Turbo Pascal Questions and Timo's answers

All the best, Timo
--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
mailto:***@uwasa.fi <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland
Timo's FAQ materials at http://www.uwasa.fi/~ts/http/tsfaq.html
Robert Prins
2005-05-09 07:17:10 UTC
Permalink
Post by Scott
We have an older Turbo Pascal program written and can't find
the source code. Has anyone heard of or know if a decompiler
is available? All I've found is disassemblers, which might be
an option.
Not 'an option', the only option. Your best bet is IDA <http://www.datarescue.com/>, which uses FLIRT, enabling you to find calls to the RTL, which may make your life a bit easier, provided the program is written in TP5 or later.

Robert
Paul Dolen
2005-05-09 15:28:19 UTC
Permalink
Post by Robert Prins
Not 'an option', the only option. Your best bet is IDA <http://www.datarescue.com/>, which uses FLIRT,
Well, I can think of at least two more options:

1. Rewrite from scratch.
2. Live with whatever limitations exist in the current executable
that you had hopes of addressing.

<g>

People who go looking for a decompiler usually wind up going for one
of those options...
Marco van de Voort
2005-05-10 12:30:18 UTC
Permalink
Post by Paul Dolen
Post by Robert Prins
Not 'an option', the only option. Your best bet is IDA <http://www.datarescue.com/>, which uses FLIRT,
1. Rewrite from scratch.
2. Live with whatever limitations exist in the current executable
that you had hopes of addressing.
3. Find source
Iain Macmillan
2005-05-11 17:21:20 UTC
Permalink
Post by Scott
We have an older Turbo Pascal program written and can't find the source
code.
I had some money but it fell through a hole in my pocket.
How can I get it back?

Loading...