Symbol table in the .data section of ELF

230

The .data section contains the data itself, i.e. the four bytes which hold the int value 5. The .symtab section contains the symbols, i.e. the names given to various parts of the binary; the var_global_init symbol name points to the four bytes of storage in the .data section.

That’s why you only see one entry: there is only one symbol, in the symbol table. But you do need both sections if you want to go from a name to a value: the symbol table tells you where to find the value corresponding to the var_global_init symbol, and the data section contains the storage for the value.

Share:
230

Related videos on Youtube

spogebob92
Author by

spogebob92

Updated on September 18, 2022

Comments

  • spogebob92
    spogebob92 over 1 year

    Is there any way at all to remove the alpha selection style of a UITableView. I want to keep the enlargement of the cell, but the colour change makes the text contained in the cell unreadable. I can remove the selection altogether by using self.focusStyle = .custom on the cell, but that also removes the enlargmententer image description here