1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
ELF Header:
Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - GNU
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x1a8e0
Start of program headers: 64 (bytes into file)
Start of section headers: 758712 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 9
Size of section headers: 64 (bytes)
Number of section headers: 34
Section header string table index: 33
Section Headers:
[Nr] Name Type Address Offset
Size EntSize Flags Link Info Align
[ 0] NULL 0000000000000000 00000000
0000000000000000 0000000000000000 0 0 0
[ 1] .note.gnu.bu[...] NOTE 0000000000000238 00000238
0000000000000024 0000000000000000 A 0 0 4
[ 2] .hash HASH 0000000000000260 00000260
000000000000013c 0000000000000004 A 4 0 8
[ 3] .gnu.hash GNU_HASH 00000000000003a0 000003a0
0000000000000160 0000000000000000 A 4 0 8
[ 4] .dynsym DYNSYM 0000000000000500 00000500
00000000000003c0 0000000000000018 A 5 1 8
[ 5] .dynstr STRTAB 00000000000008c0 000008c0
00000000000002c1 0000000000000000 A 0 0 1
[ 6] .gnu.version VERSYM 0000000000000b82 00000b82
0000000000000050 0000000000000002 A 4 0 2
[ 7] .gnu.version_d VERDEF 0000000000000bd8 00000bd8
00000000000000ec 0000000000000000 A 5 7 8
[ 8] .rela.dyn RELA 0000000000000cc8 00000cc8
0000000000000048 0000000000000018 A 4 0 8
[ 9] .rela.plt RELA 0000000000000d10 00000d10
0000000000000060 0000000000000018 AI 4 19 8
[10] .relr.dyn RELR 0000000000000d70 00000d70
0000000000000018 0000000000000008 A 0 0 8
[11] .plt PROGBITS 0000000000001000 00001000
0000000000000050 0000000000000010 AX 0 0 16
[12] .text PROGBITS 0000000000001060 00001060
0000000000024cf1 0000000000000000 AX 0 0 32
[13] .rodata PROGBITS 0000000000026000 00026000
0000000000005f78 0000000000000000 A 0 0 32
[14] .eh_frame_hdr PROGBITS 000000000002bf78 0002bf78
0000000000000924 0000000000000000 A 0 0 4
[15] .eh_frame PROGBITS 000000000002c8a0 0002c8a0
0000000000003364 0000000000000000 A 0 0 8
[16] .data.rel.ro PROGBITS 0000000000030900 00030900
0000000000001520 0000000000000000 WA 0 0 32
[17] .dynamic DYNAMIC 0000000000031e20 00031e20
00000000000001a0 0000000000000010 WA 5 0 8
[18] .got PROGBITS 0000000000031fc0 00031fc0
0000000000000010 0000000000000008 WA 0 0 8
[19] .got.plt PROGBITS 0000000000031fe8 00031fe8
0000000000000038 0000000000000008 WA 0 0 8
[20] .data PROGBITS 0000000000032020 00032020
00000000000010e8 0000000000000000 WA 0 0 32
[21] .bss NOBITS 0000000000033110 00033108
00000000000001d8 0000000000000000 WA 0 0 16
[22] .comment PROGBITS 0000000000000000 00033108
000000000000001f 0000000000000001 MS 0 0 1
[23] .debug_aranges PROGBITS 0000000000000000 00033128
000000000000047e 0000000000000000 C 0 0 8
[24] .debug_info PROGBITS 0000000000000000 000335a8
0000000000055770 0000000000000000 C 0 0 8
[25] .debug_abbrev PROGBITS 0000000000000000 00088d18
0000000000004596 0000000000000000 C 0 0 8
[26] .debug_line PROGBITS 0000000000000000 0008d2b0
000000000001008c 0000000000000000 C 0 0 8
[27] .debug_str PROGBITS 0000000000000000 0009d340
00000000000037d9 0000000000000001 MSC 0 0 8
[28] .debug_line_str PROGBITS 0000000000000000 000a0b20
0000000000000706 0000000000000001 MSC 0 0 8
[29] .debug_loclists PROGBITS 0000000000000000 000a1228
000000000000f985 0000000000000000 C 0 0 8
[30] .debug_rnglists PROGBITS 0000000000000000 000b0bb0
00000000000026ca 0000000000000000 C 0 0 8
[31] .symtab SYMTAB 0000000000000000 000b3280
0000000000003e28 0000000000000018 32 624 8
[32] .strtab STRTAB 0000000000000000 000b70a8
00000000000021b9 0000000000000000 0 0 1
[33] .shstrtab STRTAB 0000000000000000 000b9261
0000000000000150 0000000000000000 0 0 1
Key to Flags:
W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
L (link order), O (extra OS processing required), G (group), T (TLS),
C (compressed), x (unknown), o (OS specific), E (exclude),
R (retain), D (mbind), l (large), p (processor specific)
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000d88 0x0000000000000d88 R 0x1000
LOAD 0x0000000000001000 0x0000000000001000 0x0000000000001000
0x0000000000024d51 0x0000000000024d51 R E 0x1000
LOAD 0x0000000000026000 0x0000000000026000 0x0000000000026000
0x0000000000009c04 0x0000000000009c04 R 0x1000
LOAD 0x0000000000030900 0x0000000000030900 0x0000000000030900
0x0000000000002808 0x00000000000029e8 RW 0x1000
DYNAMIC 0x0000000000031e20 0x0000000000031e20 0x0000000000031e20
0x00000000000001a0 0x00000000000001a0 RW 0x8
NOTE 0x0000000000000238 0x0000000000000238 0x0000000000000238
0x0000000000000024 0x0000000000000024 R 0x4
GNU_EH_FRAME 0x000000000002bf78 0x000000000002bf78 0x000000000002bf78
0x0000000000000924 0x0000000000000924 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x0000000000030900 0x0000000000030900 0x0000000000030900
0x0000000000001700 0x0000000000001700 R 0x1
Section to Segment mapping:
Segment Sections...
00 .note.gnu.build-id .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .rela.dyn .rela.plt .relr.dyn
01 .plt .text
02 .rodata .eh_frame_hdr .eh_frame
03 .data.rel.ro .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.gnu.build-id
06 .eh_frame_hdr
07
08 .data.rel.ro .dynamic .got
Dynamic section at offset 0x31e20 contains 21 entries:
Tag Type Name/Value
0x000000000000000e (SONAME) Library soname: [ld-linux-x86-64.so.2]
0x0000000000000004 (HASH) 0x260
0x000000006ffffef5 (GNU_HASH) 0x3a0
0x0000000000000005 (STRTAB) 0x8c0
0x0000000000000006 (SYMTAB) 0x500
0x000000000000000a (STRSZ) 705 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x31fe8
0x0000000000000002 (PLTRELSZ) 96 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0xd10
0x0000000000000007 (RELA) 0xcc8
0x0000000000000008 (RELASZ) 72 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffc (VERDEF) 0xbd8
0x000000006ffffffd (VERDEFNUM) 7
0x000000006ffffff0 (VERSYM) 0xb82
0x0000000000000024 (RELR) 0xd70
0x0000000000000023 (RELRSZ) 24 (bytes)
0x0000000000000025 (RELRENT) 8 (bytes)
0x0000000000000000 (NULL) 0x0