INM(10.1) INM(10.1)

inm - Inferno name list (symbol table)

inm [ -aghnsu ] file ...

Inm prints the name list of each executable or object file in the argument list. If the file is an archive (see iar(10.1)), the name list of each file in the archive is printed. If more than one file is given in the argument list, the name of each file is printed at the beginning of each line.

Each symbol name is preceded by its hexadecimal value (blanks if undefined) and one of the letters

text segment symbol
static text segment symbol
leaf function text segment symbol
static leaf function text segment symbol
data segment symbol
static data segment symbol
bss segment symbol
static bss segment symbol
automatic (local) variable symbol
function parameter symbol
source file name
source file line offset
source file name components

The output is sorted alphabetically.

Options are:

Print all symbols; normally only user-defined text, data, and bss segment symbols are printed.
Print only global (T, L, D, B) symbols.
Do not print file name headers with output lines.
Sort according to the address of the symbols.
Don't sort; print in symbol-table order.
Print only undefined symbols.

/utils/nm

iar(10.1), 2l(10.1), acid(10.1), a.out(10.6)