nm: update page (#7758)

feature/windows-fix-syntax-2
Emily Grace Seville 2022-02-14 03:43:27 -08:00 committed by GitHub
parent 692469016e
commit b14c67fd89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -1,19 +1,20 @@
# nm
> List symbol names in object files.
> More information: <https://manned.org/nm>.
- List global (extern) functions in a file (prefixed with T):
`nm -g {{file.o}}`
`nm -g {{path/to/file.o}}`
- List only undefined symbols in a file:
`nm -u {{file.o}}`
`nm -u {{path/to/file.o}}`
- List all symbols, even debugging symbols:
`nm -a {{file.o}}`
`nm -a {{path/to/file.o}}`
- Demangle C++ symbols (make them readable):
`nm --demangle {{file.o}}`
`nm --demangle {{path/to/file.o}}`