mirror of
https://github.com/Estom/notes.git
synced 2026-04-27 20:11:48 +08:00
linux 命令和教程补充
This commit is contained in:
29
Linux/command/nm.md
Normal file
29
Linux/command/nm.md
Normal file
@@ -0,0 +1,29 @@
|
||||
nm
|
||||
===
|
||||
|
||||
显示二进制目标文件的符号表
|
||||
|
||||
## 补充说明
|
||||
|
||||
**nm命令** 被用于显示二进制目标文件的符号表。
|
||||
|
||||
### 语法
|
||||
|
||||
```shell
|
||||
nm(选项)(参数)
|
||||
```
|
||||
|
||||
### 选项
|
||||
|
||||
```shell
|
||||
-A:每个符号前显示文件名;
|
||||
-D:显示动态符号;
|
||||
-g:仅显示外部符号;
|
||||
-r:反序显示符号表。
|
||||
```
|
||||
|
||||
### 参数
|
||||
|
||||
目标文件:二进制目标文件,通常是库文件和可执行文件。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user