What does each column of objdump's Symbol table mean?

前端 未结 5 1290
南旧
南旧 2021-01-30 16:26
SYMBOL TABLE:
0000000000000000  w      *UND*  0000000000000000              __gmon_start__

I\'ve man objdump but there\'s no such info.

5条回答
  •  温柔的废话
    2021-01-30 17:02

    Since none of the previous answers seem to be correct, here's what you are actually looking for:

    Here's a snippet from this link that might help:

    "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."

提交回复
热议问题