NTOBJANL - NT Object Module Analyzer                           4 October 1994

Copyright 1994 Digital Equipment Corporation.  All Rights Reserved.

Author recognition Paul S. Winalski


The NT Object Module Analyzer produces a formatted dump of the contents of
a Windows NT object (.obj) file.  The link -dump command produces dumps of
object file contents, but the Object Module Analyzer includes information not
obtainable from link -dump, such as the position in the object file of the
information being dumped and its uninterpreted form.  Also, whereas link -dump
merely shows you what is there, the NT Object Module Analyzer also performs
integrity checks and will catch many syntactic and semantic errors in object
files.  This information can be very useful to compiler writers trying to
troubleshoot problems with bad object files that their compiler has produced.

The program consists of one file, ntobjanl.c.  To build the executable image,
use the cl command to compile and link it:

        cl ntobjanl.c libc.lib kernel32.lib

To run the analyzer, give the command:

        ntobjanl obj-file-pathname

where obj-file-pathname is the pathname of the .obj file to be analyzed.
For example:

        ntobjanl xxx.obj

The analyzer produces a file with the same name as the .obj file but with a
file type of .anl.  The example command thus will produce a file xxx.anl.

If the analyzer detects syntax or semantic errors in the object file, it will
display on standard output the number of such errors that were found.  Within
the .anl file, error messages start with three question marks (???), so you
can search the file for ??? to find the errors.

