parrotcode: Display symbol table information | |
Contents | Tools |
tools/dev/nm.pl - Display symbol table information
% perl tools/dev/nm.pl [options] file
To list all the symbols in Parrot:
% perl tools/dev/nm.pl parrot
Portable frontend for nm(1)
; by default lists all the code and data symbols in the object or archive files.
The following options can be used to limit the symbols:
--code
--data
--init
--uninit
--const
nm
if you want this feature.--undef
--def
--file
If more than one of all the above options are given, they are AND
ed. They can also be negated with a "no", for example --noconst
.
--objectname
--t
B - uninitialised data symbol
D - initialised data symbol
F - file name symbol
R - read-only data symbol
T - code/text symbol
U - undefined symbol
--type=bsd
--t
.--type=long
--help
--version
All the options can be shortened to their unique prefixes, and one leading dash ("-") can be used instead of two ("--").
Author: Jarkko Hietaniemi.
|