Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)

enoft(1) OSS Shell and Utilities Reference Manual
CALLEDBY Lists each procedure and the procedures that call it. A scope set-
ting restricts the procedures that are the children of the given pro-
cedure. If you omit an option for this flag, this is the default action.
CALLS Lists each procedure and the procedures that it calls. A scope set-
ting restricts the procedures that are the parents of the given pro-
cedure.
BOTH Lists the information for both CALLEDBY and CALLS.
DETAIL | D Lists the called or calling procedures referenced by the indicated
procedures and the addresses where the calls are made. For C++
procedures, this option also provides the original external ("deman-
gled") names as well as the internal ("mangled") equivalents used.
The virtual addresses of the call sites are shown with the DETAIL option
specified. A SORT setting affects both lists and sublists of procedures.
Operands
ref_objfile Specifies the target object file. This operand is required unless you use the -FILE
flag.
DESCRIPTION
The enoft utility reads and displays information from TNS/E native object files. enoft enables you
to:
Determine the optimization level of procedures in a file.
Display object code with corresponding source code.
Display specific sections of a loadfile, linkfile, or library. Using this capability requires
knowledge of the structure and content of TNS/E object files, as described in the eld and
rld Manual.
List dynamic-link library (DLL) references in an object file.
List object file attributes.
You can display the following object file components with enoft:
Various le headers
Program text and data segments
Symbol table and relocation tables
These enoft capabilities are useful when developing and debugging programs.
The enoft utility can be used from the command line or interactively to examine object files. To
use enoft interactively, enter the enoft command without specifying any flags; you can then
specify the flags interactively as subcommands in the manner described in the SUBCOMMANDS
subsection of this reference page. Alternatively, enoft launches and runs as an interactive process
if the -NOEXIT flag is specified on the command line.
To use enoft from a command file, capture the flags listed in the FLAGS subsection of this refer-
ence page or the subcommands listed in the SUBCOMMANDS subsection of this reference page.
Capture one flag or subcommand per line in the command file and then specify the command file
as the standard input file to the enoft command using a redirection operator. Output can also be
redirected to a file. The effective syntax for the enoft command in this instance is:
3102 Hewlett-Packard Company 527188-021