Subject: | |
From: | |
Reply To: | |
Date: | Wed, 19 Sep 2001 10:54:19 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Linked XLs are listed in the "XL LIST" part of listprog output, but AFAIK the
only way to determine which RLs you linked with is to examine all that
voluminous symbol table stuff Tom snipped to see if you recognize any of the
function names as being from specific RLs.
If you were ambitious, you could automate this task by doing LISTRL on all of
your RLs and then take the LISTPROG symbol output and try to match it back to a
specific RL. The POSIX "join" command might be useful here -- patchman uses it
heavily in a similar technique.
- Mark B.
Tom Emerson wrote:
>
> On Wed, 19 Sep 2001 12:11:31 -0500, Born, Ken <[log in to unmask]>
> wrote:
>
> >Greetings,
> >I have an executable program that has never been compiled in a long time.
> > [...] My question is: how do I determine the xl or rl libraries it might
> > be pointing to?
>
> Actually, MPE does this by itself. The linker (linkedit) has a "listprog"
> command which will show a wealth of information about a program. Here is
> an example of one of my programs:
>
> :linkedit listprog tstmod10.exec
> HP Link Editor/iX (HP30315A.06.14) Copyright Hewlett-Packard Co 1986
>
> LinkEd> listprog tstmod10.exec
>
> PROGRAM : TSTMOD10.EXEC
> XL LIST : SOCKETXL.NET.SYS
> CAPABILITIES : BA, IA
> NMHEAP SIZE :
> NMSTACK SIZE :
> ENTRY NAME :
> UNSAT NAME :
> PRIORITY :
> MAX PRIORITY :
> POSIX : NO
> SHARED DATA : YES
> TEXT SIZE : 00001BA4
> DATA SIZE : 00000060
> VERSION : 85082112
>
> [then symbol table/entry point/module info appears here -- warning, this
> can be quite lengthy...]
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|