资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

nm命令

最好是阅读 man nm

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:域名注册、虚拟空间、营销软件、网站建设、浉河网站维护、网站推广。


nm - list symbols from object files


If lowercase, the symbol is local; if uppercase, the symbol is global (external)


其输出结果:

  "A" The symbol’s value is absolute, and will not be changed by further linking.


  "B"/"b" The symbol is in the uninitialized data section (known as BSS).


   "C" The symbol is common.  Common symbols are uninitialized data.  When linking, multiple common symbols may appear with the same name.  If the symbol is defined anywhere, the common symbols are treated as undefined references.


"D"/"d" The symbol is in the initialized data section.

 "T"/"t" The symbol is in the text (code) section.

"U" The symbol is undefined.

"u" The symbol is a unique global symbol.  This is a GNU extension to the standard set of ELF symbol bindings.  For such a symbol the dynamic linker will make sure that in the entire process there is just one symbol with this name and type in use.

"S"/"s" The symbol is in an uninitialized data section for small objects.

AGlobal absolute 符号。
aLocal absolute 符号。
BGlobal bss 符号。
bLocal bss 符号。
DGlobal data 符号。
dLocal data 符号。
f源文件名称符号。
TGlobal text 符号。
tLocal text 符号。
U未定义符号。

分享文章:nm命令
分享网址:http://cdkjz.cn/article/pochoo.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220