Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Disassembling Clipper EXE`s?!

341 views
Skip to first unread message

kwu...@wst.edvz.sbg.ac.at

unread,
Jan 24, 1994, 9:48:14 AM1/24/94
to

Well, some time ago I heard of a prog. which can disassemble
clipper 5.01 .EXE files into complete source-code including variable
names and even labels. I personally dont know if this is true an
even possible in this way, but if yes, will this also work if
I use clipper 5.2c and blinker? (would be a kind of nightmare...)

\Klaus\

Tom - Leylan

unread,
Jan 25, 1994, 12:56:50 AM1/25/94
to
<kwu...@wst.edvz.sbg.ac.at > wrote:
>
>Well, some time ago I heard of a prog. which can disassemble
>clipper 5.01 .EXE files into complete source-code including variable
>names and even labels.

Klaus: You likely heard about a S'87 de-compiler of which there are a few
to choose. Disassembling is easy load it into debug and see all the ASM
code you want...

I'd personally label the chances of a 5.01 .EXE file de-compiler at around
0 out of 100. Unless we're being duped the LOCAL variables are converted
to addresses, they ought to be pushed onto the stack or I don't see how they
disappear on their own when one leaves a function. That means of course that
no names exist for them to uncompile.

The way that C de-compilers traditionally work (I understand) is that they
"invent" names and labels along the way so while you get something, you do not
get the original source. In the case of Clipper it seems quite conceivable
that various collections of source code would compile into identical chunks
of object code in which case there is no way to tell which one you would have
used.

tom

Tom - Leylan

unread,
Jan 25, 1994, 5:10:17 AM1/25/94
to
In article <CK68I...@unix.portal.com>,

Tom - Leylan <tle...@shell.portal.com> wrote:
>
>I'd personally label the chances of a 5.01 .EXE file de-compiler at around
>0 out of 100.

Well perhaps I spoke too soon <g> No sooner did I post the response than I
saw an ad for Valkyrie 5. A new version of Valkyrie that does indeed claim
to de-compile 5.0 code including codeblocks, LOCAL and STATIC variables, etc.

I know the author so I'll check out the story and try to post a followup
here.

tom


Klaus Wuerflinger

unread,
Jan 25, 1994, 8:45:31 AM1/25/94
to

In article <CK68I...@unix.portal.com>, tle...@shell.portal.com (Tom - Leylan) writes:
|>
|> Klaus: You likely heard about a S'87 de-compiler of which there are a few
|> to choose. Disassembling is easy load it into debug and see all the ASM
|> code you want...
|>

Sorry about the vocabulary mistake, I meant de-compile ofcourse.

|> Well perhaps I spoke too soon <g> No sooner did I post the response than I
|> saw an ad for Valkyrie 5. A new version of Valkyrie that does indeed claim
|> to de-compile 5.0 code including codeblocks, LOCAL and STATIC variables, etc.
|>
|> I know the author so I'll check out the story and try to post a followup
|> here.
|>
|> tom
|>

Would be nice to get some more info about this product...


\Klaus\

Will Watts

unread,
Jan 25, 1994, 12:51:47 PM1/25/94
to

> Well, some time ago I heard of a prog. which can disassemble
> clipper 5.01 .EXE files into complete source-code including variable

> names and even labels...

We distribute a UK manufactured product called `Rescue', which is a
decompiler for Clipper 5.X. Handles PUBLICS and PRIVATES, requires
debug info for STATICs and LOCALs, otherwise `guesses'. Price 269
pounds sterling + shipping. For further info, please email your fax
no to me.

--
Will Watts QBS Software Ltd Voice +44 81 994 4842
Distributors of Programmers' S/w

Foo Say How

unread,
Jan 25, 1994, 1:11:34 PM1/25/94
to
Klaus

Yes... for both CLIP501 and CLP52.


To protect your software, add the following line in your errorsys.prg

ERRORSYS=9876543210

This is the agreed to standadrd by the the disassermbler maker.

The decompiler is in the final stages of beta-testing.


Foo Sayhow
Singapore
---------------

kwu...@wst.edvz.sbg.ac.at wrote:

: Well, some time ago I heard of a prog. which can disassemble

James Collins

unread,
Jan 25, 1994, 10:29:03 PM1/25/94
to

You are probably thinking of Valkyrie. From what I understand of it, it
will decompile Clipper exe's into what is basically PPO code. I assume
you might get more if you used the /B switch while compiling. As for the
linker, it does Blinker (although I don't know about the new version 3.0
with the Dos extender). Incidentally, they also have a way of protecting
your code from being decompiled by Valkyrie...

James

Darrel Davis

unread,
Jan 26, 1994, 9:21:05 PM1/26/94
to
tle...@shell.portal.com (Tom - Leylan) writes:

>tom

If you could possibly post anything you find out about Valkyrie, I'd
appreciate it. I, just today, found out that I _NEED_ something like
this. What is the company's name who developed or distributes it?

Any info appreciated..

-> Darrel <-
--
--------------------------------------------------------------
* Darrel L. Davis - dar...@access.digex.net (301)840-9023 *
* *
--------------------------------------------------------------

cosb...@cerf.net

unread,
Jan 27, 1994, 2:23:45 PM1/27/94
to

I got a catalog in the other day you might want to get. It is:
ZAC Catalog
106 Access Rd.
Norwood, MA 02062
800-254-7737
There are dozens of interesting commercial programs in it, including
Valkyrie for $289 (#1010).

Hope this helps!

Carl Osborne III cosb...@cerf.net

Foo Say How

unread,
Jan 28, 1994, 12:20:24 PM1/28/94
to
Darrel,

Valkyrie for Clipper S87 works. Beta copy of Valkyrie works. Buy it.

Foo Sayhow

Darrel Davis (dar...@access3.digex.net) wrote:

Tom - Leylan

unread,
Jan 28, 1994, 11:17:43 PM1/28/94
to
In article <2i94c1$a...@stargate.promus.com>, <cosb...@cerf.net> wrote:
>
>I got a catalog in the other day you might want to get. It is:
> ZAC Catalog
> 106 Access Rd.
> Norwood, MA 02062
> 800-254-7737
>There are dozens of interesting commercial programs in it, including
>Valkyrie for $289 (#1010).

Spoke to the Valkyrie folks today and Valkyrie 5 is not shipping at this
time. I didn't get in touch with the programmer yet so technical specs
will be posted later...

I will (until I'm proven wrong) stick with my original assessment that
LOCAL and STATIC variables exist solely as addresses in the final .EXE
which makes it difficult if not impossible to restore to their original
name (unless of course you make a habit of compiling with /b and leave
the debug code in the system).

tom
.

Will Watts

unread,
Jan 29, 1994, 11:54:33 AM1/29/94
to
In article <CKDIL...@unix.portal.com>

tle...@shell.portal.com "Tom - Leylan" writes:
> ...
> I will (until I'm proven wrong) stick with my original assessment that
> LOCAL and STATIC variables exist solely as addresses in the final .EXE
> which makes it difficult if not impossible to restore to their original
> name (unless of course you make a habit of compiling with /b and leave
> the debug code in the system).

Agreed. `Rescue', the 5.x decompiler which we sell, can only retrieve
LOCAL and STATIC names from .EXEs which include debug information. Where
this is absent, it generates names using an extended form of Hungarian
notation indicating variable type, scope, context and iteration; eg
`nlRow6' is the 6th LOCAL in the current scope, is a number and contains
information relating to a screen row (and was, in all probablility,
called `I' in the original code <g>).

Larry Rappaport

unread,
Jan 29, 1994, 1:20:26 PM1/29/94
to
> If you could possibly post anything you find out about Valkyrie, I'd
> appreciate it. I, just today, found out that I _NEED_ something like
> this. What is the company's name who developed or distributes it?

While tom is checking, Valkyrie is published by CodeWorks at 1-800-358-6936.
Their address is Codeworks, 249 North Brand Blvd., Suite 522, Glendale, CA
91230. It sells for $395 with a 30 day money-back guarrantee.

I'm curious how it can support Clipper 5 too!

Larry

-----------------------------------------------------------------------------
L. M. Rappaport & Associates, Inc. ra...@lmr.mv.com voice +1 603 237 8400
Colebrook, NH 03576-0158 CIS 72427,2567 fax +1 603 237 8430

0 new messages