diff --git a/pages/linux/nm.md b/pages/linux/nm.md index 031baee5a..f2cfecdd6 100644 --- a/pages/linux/nm.md +++ b/pages/linux/nm.md @@ -2,18 +2,18 @@ > List symbol names in object files. -- List global (extern) functions in a file (prefixed with T: +- List global (extern) functions in a file (prefixed with T): `nm -g {{file.o}}` -- Demangle C++ symbols (make them readable: +- Demangle C++ symbols (make them readable): `nm --demangle {{file.o}}` -- List only undefined symbols in a fil: +- List only undefined symbols in a file: `nm -u {{file.o}}` -- List all symbols, even debugging symbol: +- List all symbols, even debugging symbols: `nm -a {{file.o}}` diff --git a/pages/osx/nm.md b/pages/osx/nm.md index eaa41e0c7..28f78fbdc 100644 --- a/pages/osx/nm.md +++ b/pages/osx/nm.md @@ -2,14 +2,14 @@ > List symbol names in object files (see c++filt). -- List global (extern) functions in a file (prefixed with T: +- List global (extern) functions in a file (prefixed with T): `nm -g {{file.o}}` -- List only undefined symbols in a fil: +- List only undefined symbols in a file: `nm -u {{file.o}}` -- List all symbols, even debugging symbol: +- List all symbols, even debugging symbols: `nm -a {{file.o}}`