Short: findline 37.2 - Find Enforcer/Mungwall hit in program
Uploader: mbs@adastra.cvl.va.us (Michael B. Smith)

Yes, this is legal. From the public area on BIX.

Easiest to just include the doc file.

                            FindLine 37.2
                   Copyright © 1993 David N. Junod
                      Written by David N. Junod


INTRODUCTION

This little utility was inspired by HitMe, written by Doug Walker of
SAS Institute.  It is used to find the source file (and line number)
of an Enforcer hit.

One major difference between this utility and HitMe, is that FindLine
looks into the executable for symbol and debugging information to
obtain the source file and line number.  This version does not
require a map file, object files or source files---it only requires
an executable that contains symbols or LINE (and SRC6) debugging
information.


USAGE

FindLine takes the following arguments:

  MODNAME/A,OFFSET/A,HUNK

Following is a description of the arguments.

  MODNAME/A
  Name of the application.  First looks in <modname>.ld.

  OFFSET
  The hexidecimal offset of the Enforcer hit.

  HUNK
  The hexidecimal hunk number of the Enforcer hit.  Defaults to zero.


REQUIREMENTS

Your C files must be compiled with SAS/C 5.x or beyond, with LINE
debugging turned on.  Best results are obtained with SAS/C 6.x and
beyond.

Assembly files must be compiled with CAPE (or HX68) with DEBUG turned
on.

This utility should work with any compiler or assembler that produces
standard LINE debugging hunks.

When using Enforcer (and MungWall) you should be using SegTracker for
best results.


CHANGES

37.2 (11-Mar-93)

No longer requires a map file.  Uses asyncio to access the executable
(greatly speeds access).


~DNJ~



============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    5104    3262 36.0% 11-Mar-93 00:33:18  FindLine
    1538     834 45.7% 11-Mar-93 01:10:10  FindLine.doc
     468     221 52.7% 11-Mar-93 01:10:36  FindLine.doc.info
-------- ------- ----- --------- --------
    7110    4317 39.2% 20-Feb-94 05:09:38   3 files
