中国开发网: 论坛: 程序员情感CBD: 贴子 282357
老玉米
Why I saw lots of mess symbol in linux man?
SYNOPSIS
nm [-a│--debug-syms] [-g│--extern-only]
[-B] [-C│--demangle[=style]] [-D│--dynamic]
[-S│--print-size] [-s│--print-armap]
[-A│-o│--print-file-name]
[-n│-v│--numeric-sort] [-p│--no-sort]
[-r│--reverse-sort] [--size-sort] [-u│--undefined-only]
[-t radix│--radix=radix] [-P│--portability]
[--target=bfdname] [-fformat│--format=format]
[--defined-only] [-l│--line-numbers] [--no-demangle]
[-V│--version] [-X 32_64] [--help] [objfile...]

DESCRIPTION
GNU nm lists the symbols from object files objfile.... If no object files are listed as arguments, nm assumes the
file a.out.

For each symbol, nm shows:

· The symbol value, in the radix selected by options (see below), or hexadecimal by default.

· The symbol type. At least the following types are used; others are, as well, depending on the object file for-
mat. If lowercase, the symbol is local; if uppercase, the symbol is global (external).

"A" The symbol’s value is

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录