Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
noft(1) OSS Shell and Utilities Reference Manual
{-XREFPROC | -XP }{proc-spec | proc-num | * }
[ CALLEDBY | CALLS | BOTH ][{BRIEF | B }|{DETAIL | D }]
Displays a cross-reference listing of procedures.
proc-spec Specifies the procedure name. Procedure names are case-sensitive
in C and C++ but not in pTAL. proc-spec is one of the following:
proc-name
Limits the scope to the specified procedure and subpro-
cedures. If proc-name is not completely specified, noft
resolves the name and lists conforming procedure names
with numbers.
proc-name.subproc-name
Limits the scope to the specified subprocedure. If proc-
name or subproc-name is not completely specified, noft
resolves the name and lists conforming subprocedure
names with numbers.
subproc-name
Limits the scope to the specified subprocedure. If
subproc-name is not completely specified, noft resolves
the name and lists conforming subprocedure names with
numbers.
proc-num Specifies the procedure number. This number specifies the order-
ing in the object file’s procedure table. Use the -LISTPROC flag
to list each procedure number.
* Specifies all procedures in the current scope. If the -XREFPROC
flag is used on an OSS shell command line, the flag specification
must be enclosed in quotation marks when the * specifier is used.
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.
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.
BRIEF | B Lists the called or calling procedures referenced by the indicated
procedures.
DETAIL | D Lists the called or calling procedures referenced by the indicated
procedures and the addresses where the calls are made. If the tar-
get object file is non-PIC, references to functions that might be
used for calls (for example, function pointers passed as parameters)
are identified by the word "reference".
The virtual addresses of the call sites are shown with the DETAIL option
specified. A SORT setting affects both lists and sublists of procedures.
6−84 Hewlett-Packard Company 527188-007