In addition to vlist, if you have the truss command (AIX has it), you can see the system calls as they are made. You need a copy of Steven's "Advanced Programming in the UNIX Environment" handy to decipher it, though (there are a couple of exceptions on this list; people who actually can read this stuff on the fly. Frightening.).


"Our greatest duty in this life is to help others. And please, if you can't help them, could you at least not hurt them?" - H.H. the Dalai Lama "When buying & selling are controlled by legislation, the first thing to be bought & sold are the legislators" - P.J. O'Rourke
Dan Fitzgerald





From: "Stevenson, Charles" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: [U2] Deciphering Pick UniBasic statement
Date: Sat, 10 Dec 2005 01:32:08 -0500

I have not had occasion to use the src4uv.com decompiler service.
Probably worth the price when you really need it.

I am thankful for the wonderful www.src4uv.com freebie download,
SRC.UV.HEADER, that allows access to info about the object file from an
I-descriptor subroutine.

Besides VLIST, but similar to it, RAID has the I & X commands that could
be useful when trying to understand EXACTLY what the program is doing:
  X Displays the current object code instruction and address.
  I Displays and executes the next object code instruction.

cds

> From: Gyle Iverson
>
> Hello, Charles.
>
> >Charles Stevenson wrote...
> >Everyone's going to jump in with the answer, but here's a
> way to figure
> >it out yourself (on UV, but not UD): Use VLIST.
>
> I don't know which is more painful, the original code or the
> VLIST output.
> ;-) I decompiled Caleb's code using the srs4uv.com decompiler
> and got the following result in under a second. A few
> customers use the SRS recovery service for just this reason.
>
> IF P(2) - AR(12) <= 28 THEN
>    CC += 1
>    INS 0 BEFORE AR(14)<1, 1>
>    DEL AR(14)<1, 9>
> END ELSE
>    IF AR(13) = DATE() THEN
>       CC = CC
>    END ELSE
>       INS 1 BEFORE AR(14)<1, 1>
>       DEL AR(14)<1, 9>
>    END
> END
>
> Best regards,
> Gyle
> www.srs4uv.com
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to