2.1.1.3.1.2.1. ELF Sections Example
> readelf --sections /lib/libc.so.6
There are 43 section headers, starting at offset 0x1eab60:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf Al
...
[ 9] .rel.dyn REL 4455f3e4 0143e4 002a18 08 A 4 0 4
[10] .rel.plt REL 44561dfc 016dfc 000058 08 A 4 11 4
[11] .plt PROGBITS 44561e60 016e60 0000c0 04 AX 0 0 16
[12] .text PROGBITS 44561f20 016f20 14010c 00 AX 0 0 16
...
[32] .data PROGBITS 446f9040 1ad040 000e7c 00 WA 0 0 32
[33] .bss NOBITS 446f9ec0 1adebc 002bfc 00 WA 0 0 32
[34] .comment PROGBITS 00000000 1adebc 00002c 01 MS 0 0 1
[35] .note.stapsdt NOTE 00000000 1adee8 0002c4 00 0 0 4
[36] .symtab SYMTAB 00000000 1ae1ac 021880 10 37 6229 4
[37] .strtab STRTAB 00000000 1cfa2c 01a786 00 0 0 1
...
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings)
I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
O (extra OS processing required) o (OS specific), p (processor specific)