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
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 (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: 1328976 (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: 27
Section header string table index: 26
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] .gnu.hash GNU_HASH 0000000000000260 00000260
00000000000034bc 0000000000000000 A 3 0 8
[ 3] .dynsym DYNSYM 0000000000003720 00003720
000000000000c4e0 0000000000000018 A 4 1 8
[ 4] .dynstr STRTAB 000000000000fc00 0000fc00
000000000000a1f7 0000000000000000 A 0 0 1
[ 5] .gnu.version VERSYM 0000000000019df8 00019df8
0000000000001068 0000000000000002 A 3 0 2
[ 6] .gnu.version_r VERNEED 000000000001ae60 0001ae60
0000000000000120 0000000000000000 A 4 1 8
[ 7] .rela.dyn RELA 000000000001af80 0001af80
0000000000000f60 0000000000000018 A 3 0 8
[ 8] .rela.plt RELA 000000000001bee0 0001bee0
00000000000015c0 0000000000000018 AI 3 21 8
[ 9] .init PROGBITS 000000000001e000 0001e000
0000000000000017 0000000000000000 AX 0 0 4
[10] .plt PROGBITS 000000000001e020 0001e020
0000000000000e90 0000000000000010 AX 0 0 16
[11] .plt.got PROGBITS 000000000001eeb0 0001eeb0
0000000000000018 0000000000000008 AX 0 0 8
[12] .text PROGBITS 000000000001eed0 0001eed0
00000000000972ce 0000000000000000 AX 0 0 16
[13] .fini PROGBITS 00000000000b61a0 000b61a0
0000000000000009 0000000000000000 AX 0 0 4
[14] .rodata PROGBITS 00000000000b7000 000b7000
000000000006bc54 0000000000000000 A 0 0 32
[15] .eh_frame_hdr PROGBITS 0000000000122c54 00122c54
00000000000049b4 0000000000000000 A 0 0 4
[16] .eh_frame PROGBITS 0000000000127608 00127608
000000000001b540 0000000000000000 A 0 0 8
[17] .init_array INIT_ARRAY 0000000000143388 00143388
0000000000000010 0000000000000008 WA 0 0 8
[18] .fini_array FINI_ARRAY 0000000000143398 00143398
0000000000000008 0000000000000008 WA 0 0 8
[19] .data.rel.ro PROGBITS 00000000001433a0 001433a0
0000000000000240 0000000000000000 WA 0 0 32
[20] .dynamic DYNAMIC 00000000001435e0 001435e0
0000000000000210 0000000000000010 WA 4 0 8
[21] .got PROGBITS 00000000001437f0 001437f0
0000000000000810 0000000000000008 WA 0 0 8
[22] .data PROGBITS 0000000000144000 00144000
00000000000005d0 0000000000000000 WA 0 0 32
[23] .bss NOBITS 00000000001445e0 001445d0
0000000000000be8 0000000000000000 WA 0 0 32
[24] .gnu_debugaltlink PROGBITS 0000000000000000 001445d0
000000000000004c 0000000000000000 0 0 1
[25] .gnu_debuglink PROGBITS 0000000000000000 0014461c
0000000000000034 0000000000000000 0 0 4
[26] .shstrtab STRTAB 0000000000000000 00144650
00000000000000fd 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
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x000000000001d4a0 0x000000000001d4a0 R 0x1000
LOAD 0x000000000001e000 0x000000000001e000 0x000000000001e000
0x00000000000981a9 0x00000000000981a9 R E 0x1000
LOAD 0x00000000000b7000 0x00000000000b7000 0x00000000000b7000
0x000000000008bb48 0x000000000008bb48 R 0x1000
LOAD 0x0000000000143388 0x0000000000143388 0x0000000000143388
0x0000000000001248 0x0000000000001e40 RW 0x1000
DYNAMIC 0x00000000001435e0 0x00000000001435e0 0x00000000001435e0
0x0000000000000210 0x0000000000000210 RW 0x8
NOTE 0x0000000000000238 0x0000000000000238 0x0000000000000238
0x0000000000000024 0x0000000000000024 R 0x4
GNU_EH_FRAME 0x0000000000122c54 0x0000000000122c54 0x0000000000122c54
0x00000000000049b4 0x00000000000049b4 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x0000000000143388 0x0000000000143388 0x0000000000143388
0x0000000000000c78 0x0000000000000c78 R 0x1
Section to Segment mapping:
Segment Sections...
00 .note.gnu.build-id .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rela.dyn .rela.plt
01 .init .plt .plt.got .text .fini
02 .rodata .eh_frame_hdr .eh_frame
03 .init_array .fini_array .data.rel.ro .dynamic .got .data .bss
04 .dynamic
05 .note.gnu.build-id
06 .eh_frame_hdr
07
08 .init_array .fini_array .data.rel.ro .dynamic .got
Dynamic section at offset 0x1435e0 contains 29 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libpcre2-8.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [libglib-2.0.so.0]
0x000000000000000c (INIT) 0x1e000
0x000000000000000d (FINI) 0xb61a0
0x0000000000000019 (INIT_ARRAY) 0x143388
0x000000000000001b (INIT_ARRAYSZ) 16 (bytes)
0x000000000000001a (FINI_ARRAY) 0x143398
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x260
0x0000000000000005 (STRTAB) 0xfc00
0x0000000000000006 (SYMTAB) 0x3720
0x000000000000000a (STRSZ) 41463 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x1437f0
0x0000000000000002 (PLTRELSZ) 5568 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x1bee0
0x0000000000000007 (RELA) 0x1af80
0x0000000000000008 (RELASZ) 3936 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000000000001e (FLAGS) BIND_NOW
0x000000006ffffffb (FLAGS_1) Flags: NOW NODELETE
0x000000006ffffffe (VERNEED) 0x1ae60
0x000000006fffffff (VERNEEDNUM) 1
0x000000006ffffff0 (VERSYM) 0x19df8
0x000000006ffffff9 (RELACOUNT) 136
0x0000000000000000 (NULL) 0x0