Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
enoft(1) OSS Shell and Utilities Reference Manual
or
enoft "file /usr/subdir/hello.out; set format innerlist; dumpcode"
EXAMPLES
1. To find the names of procedures in a source file named sample.c:
enoft -FILE sample.o -SET SCOPESOURCE sample.c
"-LISTPROC *"
or
enoft -F sample.o -SSS sample.c "-LP *"
2. To find all the procedures that are called by source file sample.c:
enoft -FILE sample.o -SET SCOPESOURCE sample.c
"-XREFPROC * CALLEDBY"
or
enoft -F sample.o -SSS sample.c "-XP * CALLEDBY"
3. To look at the optimization levels for source file sample.c:
enoft -FILE sample.o -SET SCOPESOURCE sample.c
"-LISTOPTIMIZE *"
or
enoft -F sample.o -SSS sample.c "-LO *"
4. To look at the optimization level for a single procedure:
enoft -FILE sample.o -SET SCOPEPROC procedure-name
"-LISTOPTIMIZE *"
or
enoft -F sample.o -SSP procedure-name "-LO *"
or
enoft -FILE sample.o -LISTPROC procedure-name DETAIL
or
enoft -F sample.o -LP procedure-name D
5. To look at source file numbers for sample.o:
enoft -FILE sample.o "-LISTSOURCE *"
6. To look at procedure numbers:
enoft -F sample.o "-LP *"
7. To see the instructions for a procedure:
enoft -FILE sample.o
-DUMPPROC procedure-name IN ICODE
or
enoft -F sample.o -DP procedure-name IN IC
8. To look at a particular 20 bytes referenced by one of those instructions in hexadecimal:
enoft -FILE sample.o
-DUMPADDRESS 0x00000390 FOR 20 BYTES IN HEX
or
enoft -F sample.o -0x00000390 FOR 20 B IN H
3−104 Hewlett-Packard Company 527188-021