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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
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: 0x25ff0
Start of program headers: 64 (bytes into file)
Start of section headers: 11542968 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 14
Size of section headers: 64 (bytes)
Number of section headers: 72
Section header string table index: 71
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.pr[...] NOTE 0000000000000350 00000350
0000000000000030 0000000000000000 A 0 0 8
[ 2] .note.gnu.bu[...] NOTE 0000000000000380 00000380
0000000000000024 0000000000000000 A 0 0 4
[ 3] .note.ABI-tag NOTE 00000000000003a4 000003a4
0000000000000020 0000000000000000 A 0 0 4
[ 4] .gnu.hash GNU_HASH 00000000000003c8 000003c8
00000000000050d4 0000000000000000 A 5 0 8
[ 5] .dynsym DYNSYM 00000000000054a0 000054a0
00000000000127e0 0000000000000018 A 6 1 8
[ 6] .dynstr STRTAB 0000000000017c80 00017c80
0000000000008870 0000000000000000 A 0 0 1
[ 7] .gnu.version VERSYM 00000000000204f0 000204f0
00000000000018a8 0000000000000002 A 5 0 2
[ 8] .gnu.version_d VERDEF 0000000000021d98 00021d98
00000000000005ac 0000000000000000 A 6 41 8
[ 9] .gnu.version_r VERNEED 0000000000022348 00022348
0000000000000040 0000000000000000 A 6 1 8
[10] .rela.dyn RELA 0000000000022388 00022388
0000000000000810 0000000000000018 A 5 0 8
[11] .rela.plt RELA 0000000000022b98 00022b98
0000000000000558 0000000000000018 AI 5 29 8
[12] .relr.dyn RELR 00000000000230f0 000230f0
0000000000000108 0000000000000008 A 0 0 8
[13] .plt PROGBITS 0000000000024000 00024000
00000000000003a0 0000000000000010 AX 0 0 16
[14] .plt.got PROGBITS 00000000000243a0 000243a0
0000000000000020 0000000000000010 AX 0 0 16
[15] .plt.sec PROGBITS 00000000000243c0 000243c0
0000000000000390 0000000000000010 AX 0 0 16
[16] .text PROGBITS 0000000000024780 00024780
000000000015853d 0000000000000000 AX 0 0 64
[17] .rodata PROGBITS 000000000017d000 0017d000
0000000000026100 0000000000000000 A 0 0 32
[18] rodata.cst32 PROGBITS 00000000001a3100 001a3100
0000000000000060 0000000000000020 AM 0 0 32
[19] .interp PROGBITS 00000000001a3160 001a3160
0000000000000039 0000000000000000 A 0 0 32
[20] .eh_frame_hdr PROGBITS 00000000001a319c 001a319c
000000000000794c 0000000000000000 A 0 0 4
[21] .eh_frame PROGBITS 00000000001aaae8 001aaae8
0000000000027c70 0000000000000000 A 0 0 8
[22] .gcc_except_table PROGBITS 00000000001d2758 001d2758
00000000000005df 0000000000000000 A 0 0 1
[23] .tdata PROGBITS 00000000001d3de0 001d2de0
0000000000000010 0000000000000000 WAT 0 0 8
[24] .tbss NOBITS 00000000001d3df0 001d2df0
0000000000000078 0000000000000000 WAT 0 0 8
[25] .init_array INIT_ARRAY 00000000001d3df0 001d2df0
0000000000000010 0000000000000008 WA 0 0 8
[26] .data.rel.ro PROGBITS 00000000001d3e00 001d2e00
0000000000002d60 0000000000000000 WA 0 0 32
[27] .dynamic DYNAMIC 00000000001d6b60 001d5b60
0000000000000220 0000000000000010 WA 6 0 8
[28] .got PROGBITS 00000000001d6d80 001d5d80
0000000000000268 0000000000000008 WA 0 0 8
[29] .got.plt PROGBITS 00000000001d6fe8 001d5fe8
00000000000001e0 0000000000000008 WA 0 0 8
[30] .data PROGBITS 00000000001d71e0 001d61e0
00000000000016c8 0000000000000000 WA 0 0 32
[31] .bss NOBITS 00000000001d88c0 001d78a8
000000000000d6b0 0000000000000000 WA 0 0 32
[32] .comment PROGBITS 0000000000000000 001d78a8
000000000000005a 0000000000000001 MS 0 0 1
[33] .gnu.warning[...] PROGBITS 0000000000000000 001d7920
000000000000004d 0000000000000000 0 0 32
[34] .gnu.warning[...] PROGBITS 0000000000000000 001d7980
0000000000000032 0000000000000000 0 0 32
[35] .gnu.warning[...] PROGBITS 0000000000000000 001d79c0
0000000000000039 0000000000000000 0 0 32
[36] .gnu.warning[...] PROGBITS 0000000000000000 001d7a00
0000000000000038 0000000000000000 0 0 32
[37] .gnu.warning[...] PROGBITS 0000000000000000 001d7a40
0000000000000037 0000000000000000 0 0 32
[38] .gnu.warning[...] PROGBITS 0000000000000000 001d7a80
0000000000000039 0000000000000000 0 0 32
[39] .gnu.warning.gets PROGBITS 0000000000000000 001d7ac0
0000000000000039 0000000000000000 0 0 32
[40] .gnu.warning[...] PROGBITS 0000000000000000 001d7b00
0000000000000052 0000000000000000 0 0 32
[41] .gnu.warning[...] PROGBITS 0000000000000000 001d7b60
0000000000000052 0000000000000000 0 0 32
[42] .gnu.warning[...] PROGBITS 0000000000000000 001d7bc0
000000000000003d 0000000000000000 0 0 32
[43] .gnu.warning[...] PROGBITS 0000000000000000 001d7c00
000000000000003a 0000000000000000 0 0 32
[44] .gnu.warning[...] PROGBITS 0000000000000000 001d7c40
0000000000000030 0000000000000000 0 0 32
[45] .gnu.warning[...] PROGBITS 0000000000000000 001d7c80
0000000000000031 0000000000000000 0 0 32
[46] .gnu.warning.gtty PROGBITS 0000000000000000 001d7cc0
000000000000002d 0000000000000000 0 0 32
[47] .gnu.warning[...] PROGBITS 0000000000000000 001d7d00
0000000000000044 0000000000000000 0 0 32
[48] .gnu.warning[...] PROGBITS 0000000000000000 001d7d60
000000000000002f 0000000000000000 0 0 32
[49] .gnu.warning.stty PROGBITS 0000000000000000 001d7da0
000000000000002d 0000000000000000 0 0 32
[50] .gnu.warning[...] PROGBITS 0000000000000000 001d7de0
0000000000000039 0000000000000000 0 0 32
[51] .gnu.warning[...] PROGBITS 0000000000000000 001d7e20
0000000000000039 0000000000000000 0 0 32
[52] .gnu.warning[...] PROGBITS 0000000000000000 001d7e60
000000000000003a 0000000000000000 0 0 32
[53] .gnu.warning[...] PROGBITS 0000000000000000 001d7ea0
000000000000003c 0000000000000000 0 0 32
[54] .gnu.warning[...] PROGBITS 0000000000000000 001d7ee0
000000000000003b 0000000000000000 0 0 32
[55] .gnu.warning[...] PROGBITS 0000000000000000 001d7f20
000000000000003d 0000000000000000 0 0 32
[56] .gnu.warning[...] PROGBITS 0000000000000000 001d7f60
000000000000003c 0000000000000000 0 0 32
[57] .gnu.warning[...] PROGBITS 0000000000000000 001d7fa0
000000000000003b 0000000000000000 0 0 32
[58] .gnu.warning[...] PROGBITS 0000000000000000 001d7fe0
000000000000003b 0000000000000000 0 0 32
[59] .gnu.warning[...] PROGBITS 0000000000000000 001d8020
000000000000003a 0000000000000000 0 0 32
[60] .gnu.warning[...] PROGBITS 0000000000000000 001d8060
0000000000000031 0000000000000000 0 0 32
[61] .debug_aranges PROGBITS 0000000000000000 001d80a0
0000000000019d80 0000000000000000 0 0 16
[62] .debug_info PROGBITS 0000000000000000 001f1e20
00000000004aeb65 0000000000000000 0 0 1
[63] .debug_abbrev PROGBITS 0000000000000000 006a0985
00000000000e6ea8 0000000000000000 0 0 1
[64] .debug_line PROGBITS 0000000000000000 0078782d
000000000015d16f 0000000000000000 0 0 1
[65] .debug_str PROGBITS 0000000000000000 008e499c
0000000000032436 0000000000000001 MS 0 0 1
[66] .debug_line_str PROGBITS 0000000000000000 00916dd2
000000000000c3bf 0000000000000001 MS 0 0 1
[67] .debug_loclists PROGBITS 0000000000000000 00923191
0000000000159ea8 0000000000000000 0 0 1
[68] .debug_rnglists PROGBITS 0000000000000000 00a7d039
0000000000025d15 0000000000000000 0 0 1
[69] .symtab SYMTAB 0000000000000000 00aa2d50
000000000003cc30 0000000000000018 70 7215 8
[70] .strtab STRTAB 0000000000000000 00adf980
00000000000223a5 0000000000000000 0 0 1
[71] .shstrtab STRTAB 0000000000000000 00b01d25
000000000000048e 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
PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
0x0000000000000310 0x0000000000000310 R 0x8
INTERP 0x00000000001a3160 0x00000000001a3160 0x00000000001a3160
0x0000000000000039 0x0000000000000039 R 0x20
[Requesting program interpreter: /root/glibc/glibc/build/install/lib/ld-linux-x86-64.so.2]
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x00000000000231f8 0x00000000000231f8 R 0x1000
LOAD 0x0000000000024000 0x0000000000024000 0x0000000000024000
0x0000000000158cbd 0x0000000000158cbd R E 0x1000
LOAD 0x000000000017d000 0x000000000017d000 0x000000000017d000
0x0000000000055d37 0x0000000000055d37 R 0x1000
LOAD 0x00000000001d2de0 0x00000000001d3de0 0x00000000001d3de0
0x0000000000004ac8 0x0000000000012190 RW 0x1000
DYNAMIC 0x00000000001d5b60 0x00000000001d6b60 0x00000000001d6b60
0x0000000000000220 0x0000000000000220 RW 0x8
NOTE 0x0000000000000350 0x0000000000000350 0x0000000000000350
0x0000000000000030 0x0000000000000030 R 0x8
NOTE 0x0000000000000380 0x0000000000000380 0x0000000000000380
0x0000000000000044 0x0000000000000044 R 0x4
TLS 0x00000000001d2de0 0x00000000001d3de0 0x00000000001d3de0
0x0000000000000010 0x0000000000000088 R 0x8
GNU_PROPERTY 0x0000000000000350 0x0000000000000350 0x0000000000000350
0x0000000000000030 0x0000000000000030 R 0x8
GNU_EH_FRAME 0x00000000001a319c 0x00000000001a319c 0x00000000001a319c
0x000000000000794c 0x000000000000794c R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x00000000001d2de0 0x00000000001d3de0 0x00000000001d3de0
0x0000000000003220 0x0000000000003220 R 0x1
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .note.gnu.property .note.gnu.build-id .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .gnu.version_r .rela.dyn .rela.plt .relr.dyn
03 .plt .plt.got .plt.sec .text
04 .rodata rodata.cst32 .interp .eh_frame_hdr .eh_frame .gcc_except_table
05 .tdata .init_array .data.rel.ro .dynamic .got .got.plt .data .bss
06 .dynamic
07 .note.gnu.property
08 .note.gnu.build-id .note.ABI-tag
09 .tdata .tbss
10 .note.gnu.property
11 .eh_frame_hdr
12
13 .tdata .init_array .data.rel.ro .dynamic .got
Dynamic section at offset 0x1d5b60 contains 29 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x000000000000000e (SONAME) Library soname: [libc.so.6]
0x0000000000000019 (INIT_ARRAY) 0x1d3df0
0x000000000000001b (INIT_ARRAYSZ) 16 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x3c8
0x0000000000000005 (STRTAB) 0x17c80
0x0000000000000006 (SYMTAB) 0x54a0
0x000000000000000a (STRSZ) 34928 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000070000000 (Processor Specific: 70000000) 0x243c0
0x0000000070000001 (Processor Specific: 70000001) 0x390
0x0000000070000003 (Processor Specific: 70000003) 0x10
0x0000000000000003 (PLTGOT) 0x1d6fe8
0x0000000000000002 (PLTRELSZ) 1368 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x22b98
0x0000000000000007 (RELA) 0x22388
0x0000000000000008 (RELASZ) 2064 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffc (VERDEF) 0x21d98
0x000000006ffffffd (VERDEFNUM) 41
0x000000000000001e (FLAGS) STATIC_TLS
0x000000006ffffffe (VERNEED) 0x22348
0x000000006fffffff (VERNEEDNUM) 1
0x000000006ffffff0 (VERSYM) 0x204f0
0x0000000000000024 (RELR) 0x230f0
0x0000000000000023 (RELRSZ) 264 (bytes)
0x0000000000000025 (RELRENT) 8 (bytes)
0x0000000000000000 (NULL) 0x0