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
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: DYN (Position-Independent Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x488000
Start of program headers: 64 (bytes into file)
Start of section headers: 36119464 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 12
Size of section headers: 64 (bytes)
Number of section headers: 35
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] .interp PROGBITS 00000000000002e0 000002e0
000000000000001c 0000000000000000 A 0 0 1
[ 2] .note.ABI-tag NOTE 00000000000002fc 000002fc
0000000000000020 0000000000000000 A 0 0 4
[ 3] .note.gnu.bu[...] NOTE 000000000000031c 0000031c
0000000000000018 0000000000000000 A 0 0 4
[ 4] .dynsym DYNSYM 0000000000000338 00000338
0000000000001b48 0000000000000018 A 8 1 8
[ 5] .gnu.version VERSYM 0000000000001e80 00001e80
0000000000000246 0000000000000002 A 4 0 2
[ 6] .gnu.version_r VERNEED 00000000000020c8 000020c8
0000000000000160 0000000000000000 A 8 5 4
[ 7] .gnu.hash GNU_HASH 0000000000002228 00002228
00000000000000d4 0000000000000000 A 4 0 8
[ 8] .dynstr STRTAB 00000000000022fc 000022fc
0000000000000e63 0000000000000000 A 0 0 1
[ 9] .rela.dyn RELA 0000000000003160 00003160
00000000000df020 0000000000000018 A 4 0 8
[10] .rela.plt RELA 00000000000e2180 000e2180
0000000000001788 0000000000000018 AI 4 26 8
[11] .rodata PROGBITS 00000000000e3920 000e3920
0000000000179b64 0000000000000000 AMS 0 0 32
[12] .gcc_except_table PROGBITS 000000000025d484 0025d484
00000000000032e4 0000000000000000 A 0 0 4
[13] .eh_frame_hdr PROGBITS 0000000000260768 00260768
0000000000054f54 0000000000000000 A 0 0 4
[14] .eh_frame PROGBITS 00000000002b56c0 002b56c0
00000000001d1644 0000000000000000 A 0 0 8
[15] .text PROGBITS 0000000000488000 00487000
00000000012edc4e 0000000000000000 AXo 0 0 4096
[16] .init PROGBITS 0000000001775c50 01774c50
0000000000000017 0000000000000000 AX 0 0 4
[17] .fini PROGBITS 0000000001775c68 01774c68
0000000000000009 0000000000000000 AX 0 0 4
[18] .plt PROGBITS 0000000001775c80 01774c80
0000000000000fc0 0000000000000000 AX 0 0 16
[19] .tdata PROGBITS 0000000001777c40 01775c40
000000000000000c 0000000000000000 WAT 0 0 4
[20] .tbss NOBITS 0000000001777c50 01775c4c
0000000000000098 0000000000000000 WAT 0 0 8
[21] .fini_array FINI_ARRAY 0000000001777c50 01775c50
0000000000000008 0000000000000008 WA 0 0 8
[22] .init_array INIT_ARRAY 0000000001777c58 01775c58
0000000000000018 0000000000000000 WA 0 0 8
[23] .data.rel.ro PROGBITS 0000000001777c70 01775c70
0000000000056c40 0000000000000000 WA 0 0 16
[24] .dynamic DYNAMIC 00000000017ce8b0 017cc8b0
00000000000001f0 0000000000000010 WA 8 0 8
[25] .got PROGBITS 00000000017ceaa0 017ccaa0
00000000000000e8 0000000000000000 WA 0 0 8
[26] .got.plt PROGBITS 00000000017ceb88 017ccb88
00000000000007f0 0000000000000000 WA 0 0 8
[27] .relro_padding NOBITS 00000000017cf378 017cd378
0000000000000c88 0000000000000000 WA 0 0 1
[28] .data PROGBITS 00000000017d1000 017ce000
0000000000019214 0000000000000000 WA 0 0 4096
[29] .tm_clone_table PROGBITS 00000000017ea218 017e7218
0000000000000000 0000000000000000 WA 0 0 8
[30] .bss NOBITS 00000000017ea220 017e7218
000000000002e5e0 0000000000000000 WA 0 0 16
[31] .comment PROGBITS 0000000000000000 017e7218
000000000000003a 0000000000000001 MS 0 0 1
[32] .symtab SYMTAB 0000000000000000 017e7258
00000000001b28f8 0000000000000018 34 73875 8
[33] .shstrtab STRTAB 0000000000000000 01999b50
0000000000000153 0000000000000000 0 0 1
[34] .strtab STRTAB 0000000000000000 01999ca3
00000000008d8705 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),
D (mbind), l (large), p (processor specific)
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
0x00000000000002a0 0x00000000000002a0 R 0x8
INTERP 0x00000000000002e0 0x00000000000002e0 0x00000000000002e0
0x000000000000001c 0x000000000000001c R 0x1
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000486d04 0x0000000000486d04 R 0x1000
LOAD 0x0000000000487000 0x0000000000488000 0x0000000000488000
0x00000000012eec40 0x00000000012eec40 R E 0x1000
LOAD 0x0000000001775c40 0x0000000001777c40 0x0000000001777c40
0x0000000000057738 0x00000000000583c0 RW 0x1000
LOAD 0x00000000017ce000 0x00000000017d1000 0x00000000017d1000
0x0000000000019218 0x0000000000047800 RW 0x1000
TLS 0x0000000001775c40 0x0000000001777c40 0x0000000001777c40
0x000000000000000c 0x00000000000000a8 R 0x8
DYNAMIC 0x00000000017cc8b0 0x00000000017ce8b0 0x00000000017ce8b0
0x00000000000001f0 0x00000000000001f0 RW 0x8
GNU_RELRO 0x0000000001775c40 0x0000000001777c40 0x0000000001777c40
0x0000000000057738 0x00000000000583c0 R 0x1
GNU_EH_FRAME 0x0000000000260768 0x0000000000260768 0x0000000000260768
0x0000000000054f54 0x0000000000054f54 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x0
NOTE 0x00000000000002fc 0x00000000000002fc 0x00000000000002fc
0x0000000000000038 0x0000000000000038 R 0x4
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .interp .note.ABI-tag .note.gnu.build-id .dynsym .gnu.version .gnu.version_r .gnu.hash .dynstr .rela.dyn .rela.plt .rodata .gcc_except_table .eh_frame_hdr .eh_frame
03 .text .init .fini .plt
04 .tdata .fini_array .init_array .data.rel.ro .dynamic .got .got.plt .relro_padding
05 .data .bss
06 .tdata .tbss
07 .dynamic
08 .tdata .fini_array .init_array .data.rel.ro .dynamic .got .got.plt .relro_padding
09 .eh_frame_hdr
10
11 .note.ABI-tag .note.gnu.build-id
Dynamic section at offset 0x17cc8b0 contains 31 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x000000000000001e (FLAGS) BIND_NOW
0x000000006ffffffb (FLAGS_1) Flags: NOW PIE
0x0000000000000015 (DEBUG) 0x0
0x0000000000000007 (RELA) 0x3160
0x0000000000000008 (RELASZ) 913440 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffff9 (RELACOUNT) 38039
0x0000000000000017 (JMPREL) 0xe2180
0x0000000000000002 (PLTRELSZ) 6024 (bytes)
0x0000000000000003 (PLTGOT) 0x17ceb88
0x0000000000000014 (PLTREL) RELA
0x0000000000000006 (SYMTAB) 0x338
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000005 (STRTAB) 0x22fc
0x000000000000000a (STRSZ) 3683 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x2228
0x0000000000000019 (INIT_ARRAY) 0x1777c58
0x000000000000001b (INIT_ARRAYSZ) 24 (bytes)
0x000000000000001a (FINI_ARRAY) 0x1777c50
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000000000000c (INIT) 0x1775c50
0x000000000000000d (FINI) 0x1775c68
0x000000006ffffff0 (VERSYM) 0x1e80
0x000000006ffffffe (VERNEED) 0x20c8
0x000000006fffffff (VERNEEDNUM) 5
0x0000000000000000 (NULL) 0x0