nm

nm is the abbreviation of names, function symbols are listed in the list of target files, used to view the functions in the dynamic link library.

nm Options

              -a man according to the manual, lists only debugging information, but it is actually normal debugging information +

              -A increase a display object file has no real meaning

              -C symbol encoding information into a low-level for easy viewing of user information, the final result is a list of symbols showing information class :: memberfunction forms, the most common options

              -D Display dynamic symbols to the destination file is so, for example, shows the symbol information so the increase of information and so symbolic references so the

              -f specify a different output format, the output format change command

              -g Display only external symbols, measurements and -D option to output almost the same

              -L line number displaying symbols, additional symbols are as defined in one display line xx xx file, more commonly

              -n symbols sorted in accordance with addresses

              -p Do not sort symbols output after using this option does not and can not sorted by symbol name by address

              -r reverse output symbols

              -u Display only undefined symbols, found listed in GLIBC memset, memcpy the like, specific role is unclear

              -h Display help

              -V version information

example:

  nm –D libcap.so

Guess you like

Origin www.cnblogs.com/tongyishu/p/12374282.html
nm
NM