NM.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH NM 1
- .SH NAME
- nm - print name list
- .SH SYNOPSIS
- fBnmfR [fB-dgnoprufR]fR [fIfilefR] ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-d" "Print the offsets in decimal instead of in hex"
- .FL "-g" "Print only external symbols"
- .FL "-n" "Sort numerically rather than alphabetically"
- .FL "-o" "Prepend file name to each line rather than only once"
- .FL "-p" "Do not sort, print in symbol-table order"
- .FL "-r" "Sort in reverse order"
- .FL "-u" "Print only undefined symbols"
- .SH EXAMPLES
- .EX "nm -n a.out" "Print all symbols in numerical order"
- .EX "nm -dg a.out" "Print globals alphabetically in decimal"
- .SH DESCRIPTION
- .PP
- fINmfR prints the symbol table of executable files when it is available.
- If no file is given, the symbols in fIa.outfR are used.
- The format of the table
- is somewhat compatible with the one produced by fIasldfR when used with
- the fB-sfR option. The symbol table can be added with fIastfR.
- Assembly language files do not have symbol tables.
- .SH "SEE ALSO"
- .BR anm (1),
- .BR asize (1),
- .BR ar (1),
- .BR size (1).