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
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: 0x0
Start of program headers: 64 (bytes into file)
Start of section headers: 950632 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 11
Size of section headers: 64 (bytes)
Number of section headers: 31
Section header string table index: 30
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 00000000000002a8 000002a8
0000000000000030 0000000000000000 A 0 0 8
[ 2] .note.gnu.bu[...] NOTE 00000000000002d8 000002d8
0000000000000024 0000000000000000 A 0 0 4
[ 3] .note.ABI-tag NOTE 00000000000002fc 000002fc
0000000000000020 0000000000000000 A 0 0 4
[ 4] .hash HASH 0000000000000320 00000320
00000000000022a8 0000000000000004 A 6 0 8
[ 5] .gnu.hash GNU_HASH 00000000000025c8 000025c8
0000000000002658 0000000000000000 A 6 0 8
[ 6] .dynsym DYNSYM 0000000000004c20 00004c20
0000000000007218 0000000000000018 A 7 1 8
[ 7] .dynstr STRTAB 000000000000be38 0000be38
0000000000002863 0000000000000000 A 0 0 1
[ 8] .gnu.version VERSYM 000000000000e69c 0000e69c
0000000000000982 0000000000000002 A 6 0 2
[ 9] .gnu.version_d VERDEF 000000000000f020 0000f020
0000000000000254 0000000000000000 A 7 17 8
[10] .gnu.version_r VERNEED 000000000000f278 0000f278
0000000000000080 0000000000000000 A 7 2 8
[11] .rela.dyn RELA 000000000000f2f8 0000f2f8
00000000000000f0 0000000000000018 A 6 0 8
[12] .rela.plt RELA 000000000000f3e8 0000f3e8
00000000000002e8 0000000000000018 AI 6 26 8
[13] .relr.dyn RELR 000000000000f6d0 0000f6d0
0000000000000018 0000000000000008 A 0 0 8
[14] .init PROGBITS 0000000000010000 00010000
000000000000001b 0000000000000000 AX 0 0 4
[15] .plt PROGBITS 0000000000010020 00010020
0000000000000200 0000000000000010 AX 0 0 16
[16] .plt.got PROGBITS 0000000000010220 00010220
0000000000000010 0000000000000010 AX 0 0 16
[17] .plt.sec PROGBITS 0000000000010230 00010230
00000000000001f0 0000000000000010 AX 0 0 16
[18] .text PROGBITS 0000000000010420 00010420
000000000007dff8 0000000000000000 AX 0 0 16
[19] .fini PROGBITS 000000000008e418 0008e418
000000000000000d 0000000000000000 AX 0 0 4
[20] .rodata PROGBITS 000000000008f000 0008f000
000000000004e2a0 0000000000000000 A 0 0 32
[21] .eh_frame_hdr PROGBITS 00000000000dd2a0 000dd2a0
0000000000001b7c 0000000000000000 A 0 0 4
[22] .eh_frame PROGBITS 00000000000dee20 000dee20
000000000000817c 0000000000000000 A 0 0 8
[23] .init_array INIT_ARRAY 00000000000e7c00 000e7c00
0000000000000008 0000000000000008 WA 0 0 8
[24] .fini_array FINI_ARRAY 00000000000e7c08 000e7c08
0000000000000008 0000000000000008 WA 0 0 8
[25] .dynamic DYNAMIC 00000000000e7c10 000e7c10
0000000000000290 0000000000000010 WA 7 0 8
[26] .got PROGBITS 00000000000e7ea0 000e7ea0
0000000000000160 0000000000000008 WA 0 0 8
[27] .data PROGBITS 00000000000e8000 000e8000
000000000000000c 0000000000000000 WA 0 0 8
[28] .bss NOBITS 00000000000e800c 000e800c
000000000000000c 0000000000000000 WA 0 0 4
[29] .gnu_debuglink PROGBITS 0000000000000000 000e800c
0000000000000034 0000000000000000 0 0 4
[30] .shstrtab STRTAB 0000000000000000 000e8040
0000000000000121 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
0x000000000000f6e8 0x000000000000f6e8 R 0x1000
LOAD 0x0000000000010000 0x0000000000010000 0x0000000000010000
0x000000000007e425 0x000000000007e425 R E 0x1000
LOAD 0x000000000008f000 0x000000000008f000 0x000000000008f000
0x0000000000057f9c 0x0000000000057f9c R 0x1000
LOAD 0x00000000000e7c00 0x00000000000e7c00 0x00000000000e7c00
0x000000000000040c 0x0000000000000418 RW 0x1000
DYNAMIC 0x00000000000e7c10 0x00000000000e7c10 0x00000000000e7c10
0x0000000000000290 0x0000000000000290 RW 0x8
NOTE 0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
0x0000000000000030 0x0000000000000030 R 0x8
NOTE 0x00000000000002d8 0x00000000000002d8 0x00000000000002d8
0x0000000000000044 0x0000000000000044 R 0x4
GNU_PROPERTY 0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
0x0000000000000030 0x0000000000000030 R 0x8
GNU_EH_FRAME 0x00000000000dd2a0 0x00000000000dd2a0 0x00000000000dd2a0
0x0000000000001b7c 0x0000000000001b7c R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x00000000000e7c00 0x00000000000e7c00 0x00000000000e7c00
0x0000000000000400 0x0000000000000400 R 0x1
Section to Segment mapping:
Segment Sections...
00 .note.gnu.property .note.gnu.build-id .note.ABI-tag .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .gnu.version_r .rela.dyn .rela.plt .relr.dyn
01 .init .plt .plt.got .plt.sec .text .fini
02 .rodata .eh_frame_hdr .eh_frame
03 .init_array .fini_array .dynamic .got .data .bss
04 .dynamic
05 .note.gnu.property
06 .note.gnu.build-id .note.ABI-tag
07 .note.gnu.property
08 .eh_frame_hdr
09
10 .init_array .fini_array .dynamic .got
Dynamic section at offset 0xe7c10 contains 36 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x000000000000000e (SONAME) Library soname: [libm.so.6]
0x000000000000000c (INIT) 0x10000
0x000000000000000d (FINI) 0x8e418
0x0000000000000019 (INIT_ARRAY) 0xe7c00
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0xe7c08
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x0000000000000004 (HASH) 0x320
0x000000006ffffef5 (GNU_HASH) 0x25c8
0x0000000000000005 (STRTAB) 0xbe38
0x0000000000000006 (SYMTAB) 0x4c20
0x000000000000000a (STRSZ) 10339 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000070000000 (Processor Specific: 70000000) 0x10230
0x0000000070000001 (Processor Specific: 70000001) 0x1f0
0x0000000070000003 (Processor Specific: 70000003) 0x10
0x0000000000000003 (PLTGOT) 0xe7ea0
0x0000000000000002 (PLTRELSZ) 744 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0xf3e8
0x0000000000000007 (RELA) 0xf2f8
0x0000000000000008 (RELASZ) 240 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffc (VERDEF) 0xf020
0x000000006ffffffd (VERDEFNUM) 17
0x000000000000001e (FLAGS) BIND_NOW STATIC_TLS
0x000000006ffffffb (FLAGS_1) Flags: NOW
0x000000006ffffffe (VERNEED) 0xf278
0x000000006fffffff (VERNEEDNUM) 2
0x000000006ffffff0 (VERSYM) 0xe69c
0x0000000000000024 (RELR) 0xf6d0
0x0000000000000023 (RELRSZ) 24 (bytes)
0x0000000000000025 (RELRENT) 8 (bytes)
0x0000000000000000 (NULL) 0x0