I looking for a decompiler for Turbo Basic / 1987
I have a program that i need to decompile because
i lost the real source.
who wants to help me out of this problem.
Best regards
Leander
Can't be done. The compiling process is "one-way". Just as you can not
run hamburger backwards through a meat grinder to get steak, you cannot
de-compile "true compiled" executables from languages like PowerBASIC,
Turbo Basic, QuickBasic (the compiler, not the QBASIC interpreter),
C/C++, Delphi, etc.
You can "disassemble" them into assembler/machine code, but unless
you're a *REALLY GREAT* assembler programmer, the code isn't going to
help you much.
--Dave
I hate to break the bad news to you, but you won't find a decompiler
for TurboBasic (or PowerBASIC for that mattter) - thre has never been
one to the best of our knowledge.
This is becaise the compiled code is pure machine code and there are
no symbol tables to restore variable, sub, function or label names.
Further, calls to the runtime library and code optimization makes
decomilation almost impossible.
If you'll excuse the old adage, It is akin to converting the hamburger
back into the cow. <ouch!>
I'm afraid you'll have to face the task of rewriting the app again.
Sorry!
"Le@nder" <prive...@home.nl> wrote:
Lance
PowerBASIC Support
-------------------------------------------------------------------------
PowerBASIC, Inc. | 800-780-7707 Sales | "We put the Power in Basic!"
316 Mid Valley Center | 831-659-8000 Voice | http://www.powerbasic.com
Carmel, CA 93923 | 831-659-8008 Fax | mailto:in...@powerbasic.com
Le@nder
Le@nder
Le@nder
Or, learning how to "back up."
> Sorry!
You know, I am not sorry. Those who don't back up, or license custom
software without access to the source code are just asking for trouble.
(Sheesh, am I a tight-ass, or what?)
You may not need the source code when the software is delivered, but it's
MANDATORY to secure the RIGHT to obtain the source code. I used to write
contracts, and at a minimum there was always a provision to secure the
source code if the vendor went out-of-business, or could not honor a
modification request within some time frame. Sure, when you take delivery of
source code, you generally lose any warranty features; but given "no
warranty" or "no source code", I'll take "no warranty" in a New Yprk
minute.
MCM
>In article <y_CJ6.20303$y7.1...@dbsch1.home.nl>, prive...@home.nl
>says...
>> I looking for a decompiler for Turbo Basic / 1987
>> I have a program that i need to decompile because
>> i lost the real source.
>>
YEA His dog ate it.
>> who wants to help me out of this problem.
>
>Can't be done. The compiling process is "one-way". Just as you can not
>run hamburger backwards through a meat grinder to get steak, you cannot
>de-compile "true compiled" executables from languages like PowerBASIC,
>Turbo Basic, QuickBasic (the compiler, not the QBASIC interpreter),
>C/C++, Delphi, etc.
>
>You can "disassemble" them into assembler/machine code, but unless
>you're a *REALLY GREAT* assembler programmer, the code isn't going to
>help you much.
>
>--Dave
Ken Sims
HOME PAGE Detroit-MI. U.S.A. "http://www.megsinet.net/~mrken/mrken.html"
E-mail : mr...@megsinet.net
All in a day's work for..."Confuse-a-Cat"!
Signature data created by SIG.EXE rel 1.0 (c) 1999-2000 KASA Entertainment-Presents
On 05-08-2001 at 14:24:30 For Ken Sims
"Impossible" isn't quite the right word. Compilers generally do produce
quite regular and predictable output. However, the results would not be
particularly comprehensible, as you'd presumably lose all symbol names
(variable names, labels, function names, etc). It would also require a vast
amount of effort by a master programmer with an appropriate background.
Chances are, you'd rather spend your money on a nice house and rewrite the
software from scratch.
FWIW, the calls to the runtime library actually make it easier, and Turbo
BASIC didn't do the kind of code optimization that would make decompilation
difficult.
mov [trash], concept ; oh well !
phil :)
ps for any critics (gosh not here on a newsgroup hehe) who say that will not
assemble (x86), it will if above it resides: trash EQU eax :p