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

User Commands (m - o) noft(1)
{-XREFPROC | -XP }{proc-spec | proc-num | * }
[ CALLEDBY | CALLS | BOTH ][{BRIEF | B }|{DETAIL | D }]
Displays a cross-reference listing of procedures.
proc-spec Species 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 specied procedure and subpro-
cedures. If proc-name is not completely specied, noft
resolves the name and lists conforming procedure names
with numbers.
proc-name.subproc-name
Limits the scope to the specied subprocedure. If proc-
name or subproc-name is not completely specied, noft
resolves the name and lists conforming subprocedure
names with numbers.
subproc-name
Limits the scope to the specied subprocedure. If
subproc-name is not completely specied, noft resolves
the name and lists conforming subprocedure names with
numbers.
proc-num Species the procedure number. This number species the order-
ing in the object les procedure table. Use the -LISTPROC ag
to list each procedure number.
* Species all procedures in the current scope. If the -XREFPROC
ag is used on an OSS shell command line, the ag specication
must be enclosed in quotation marks when the * specier 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 le is non-PIC, references to functions that might be
used for calls (for example, function pointers passed as parameters)
are identied by the word "reference".
The virtual addresses of the call sites are shown with the DETAIL option
specied. A SORT setting affects both lists and sublists of procedures.
527188-003 Hewlett-Packard Company 683