[comp.sys.ibm.pc] Object file Symbol Table Dumper

egs@killer.DALLAS.TX.US (Eric Schnoebelen) (11/30/88)

Net.PC.Guru's:

	I am in need of a program to dump the symbol table of an MS-DOS
object file, like unix's nm.  The symbols that I wish to see are the
exported and imported functions/procedures/external variable.  Does
anyone have such a critter?

	I need it to help hack an object library that I don't have
source for.  If no one has such a critter, I guess I can write one (
with the help of the MS-DOS Encyclopedia ), but I have no desire to
reinvent the wheel ( honestly, I'm incredibly lazy :-)

	Thanks in Advance
		Eric

ps.  e-mail is preferred

egs@killer.DALLAS.TX.US (Eric Schnoebelen) (11/30/88)

Oops, forgot the .signature
	my addresses are :
		egs@u-word.dallas.tx.us
		...!killer!u-word!egs
		...!texbell!egsner!eric
-- 
Eric Schnoebelen,  John W. Bridges & Associates, Inc., Lewisville, Tx.
egs@u-word.dallas.tx.us			...!killer!u-word!egs
texbell!egsner!eric@bellcore.com	...!texbell!egsner!eric

bobmon@iuvax.cs.indiana.edu (RAMontante) (12/01/88)

The LIB.EXE utility will provide a listing of the externally-available
symbols in an object library.  (Of course, it must be a Microsoft-
compatible library format.)  Check the documentation for syntax.

carl@hpcvlx.HP.COM (Carl Thomsen) (12/02/88)

The MKS toolkit contains a work-alike of the unix command nm.
(This command is used to display the symbol table of a file)

It recognizes .obj files as well as .exe files.
I have not used it much so I can't say much about it's
limitations but the manual states that is does not understand
libraries.  MKS also includes a size command which understands
.exe files.  These comments apply to version 2.2.

MKS is: Mortice Kern Systems Inc.
        43 Bridgeport Road East,
        Waterloo, Ontario
        Canada   N2J2J4
        (519) 884-2251

Carl "just a satisfied customer" Thomsen