打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
objdump -tT
userphoto

2015.09.01

关注
在官网找到了
The other common output format, usually seen with ELF based files, looks like this:

          00000000 l    d  .bss   00000000 .bss
          00000000 g       .text  00000000 fred
     
Here the first number is the symbol's value (sometimes refered to as its address). The next field is actually a set of characters and spaces indicating the flag bits that are set on the symbol. These characters are described below. Next is the section with which the symbol is associated or *ABS* if the section is absolute (ie not connected with any section), or *UND* if the section is referenced in the file being dumped, but not defined there.

After the section name comes another field, a number, which for common symbols is the alignment and for other symbol is the size. Finally the symbol's name is displayed.

The flag characters are divided into 7 groups as follows:

l
g
u
!
The symbol is a local (l), global (g), unique global (u), neither global nor local (a space) or both global and local (!). A symbol can be neither local or global for a variety of reasons, e.g., because it is used for debugging, but it is probably an indication of a bug if it is ever both local and global. Unique global symbols are 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.

w
The symbol is weak (w) or strong (a space).

C
The symbol denotes a constructor (C) or an ordinary symbol (a space).

W
The symbol is a warning (W) or a normal symbol (a space). A warning symbol's name is a message to be displayed if the symbol following the warning symbol is ever referenced.

I

i
The symbol is an indirect reference to another symbol (I), a function to be evaluated during reloc processing (i) or a normal symbol (a space).

d
D
The symbol is a debugging symbol (d) or a dynamic symbol (D) or a normal symbol (a space).

F

f

O
The symbol is the name of a function (F) or a file (f) or an object (O) or just a normal symbol (a space).
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Keil C 编译器常见警告与错误信息的解决方法
System.map详解
写了个批量替换字符串的批处理(replaceChar.bat) - 一月三十一日
Investigating linking with COMMON symbols in ELF – Binary Dodo
Dr. Dobb's | Dynamic Plug-Ins for C++ | July ...
Cadence网表文件解析
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服