Co robi NM użycie. Konsola specified, perform operations on a.out . Output includes each symbol&#.

Czy przydatne?

Polecenie nm

Wykonanie, użycie: Print the symbol table in alphabetical order from one or more object files. If no object files are specified, perform operations on a.out. Output includes each symbol's value, type, size, name, and so on. A key letter categorizing the symbol can also be displayed

Opcje wykonania nm w konsoli

-a, --debug-syms

Print debugger symbols.

--defined-only

Display only defined symbols.

-f format, --format=format

Specify output format (bsd, sysv, or posix). Default is bsd.

-g, --extern-only

Print external symbols only.

--help

Print help message, then exit.

-l, --line-numbers

Print source filenames and line numbers for each symbol from available debugging information.

-n, -v, --numeric-sort

Sort the external symbols by address.

-p, --no-sort

Don't sort the symbols at all.

-r, --reverse-sort

Sort in reverse, alphabetically or numerically.

-s, --print-armap

Include mappings stored by ar and ranlib when printing archive symbols.

--size-sort

Sort by size.

-t radix, --radix=radix

Use the specified radix for printing symbol values. Accepted values are d for decimal, o for octal, and x for hexadecimal.

--target=format

Specify an object code format other than the system default.

-u, --undefined-only

Report only the undefined symbols.

-A, -o, --print-file-name

Print input filenames before each symbol.

-B

Same as --format=bsd.

-C, --demangle[=style]

Translate low-level symbol names into readable versions. You may specify a style to use when demangling symbol names from a foreign compiler.

-D, --dynamic

Print dynamic, not normal, symbols. Useful only when working with dynamic objects (some kinds of shared libraries, for example).

-P, --portability

Same as -f posix.

-S, --print-size

Print the size of defined symbols.

-V, --version

Print nm's version number on standard error.

Przykłady nm działanie w Słownik polecenie N

Przykład NM użycie :
Jak użyć administration command. Assign an interface name to a network device specified by macaddress , the unique serial number that identifies a network card. If no name and macaddress are given, nameif co znaczy.
Przykład NM użycie :
Jak użyć administration command. Launch n kernel threads for the Network File System (NFS) kernel module. The threads will handle client filesystem requests. By default, only one thread is launched. Most krzyżówka.
Przykład NM użycie :
Jak użyć command with its optional command arguments , continuing to run it even after you log out (make command immune to hangups—i.e., no h angup ). Terminal output is appended to the file nohup.out by co to jest.
Przykład NM użycie :
Jak użyć administration command. Create or update system users from entries in file . Each line in file has the same format as an entry in /etc/passwd , except that passwords are unencrypted and group IDs can słownik.
Przykład NM użycie :
Jak użyć Show network status. Print information on active sockets, routing tables, interfaces, masquerade connections, or multicast memberships. By default, netstat lists open sockets. When a delay is czym jest.