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
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: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x401640
Start of program headers: 64 (bytes into file)
Start of section headers: 747696 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 10
Size of section headers: 64 (bytes)
Number of section headers: 28
Section header string table index: 27
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 0000000000400270 00000270
0000000000000040 0000000000000000 A 0 0 8
[ 2] .note.gnu.bu[...] NOTE 00000000004002b0 000002b0
0000000000000024 0000000000000000 A 0 0 4
[ 3] .note.ABI-tag NOTE 00000000004002d4 000002d4
0000000000000020 0000000000000000 A 0 0 4
[ 4] .rela.plt RELA 00000000004002f8 000002f8
0000000000000210 0000000000000018 AI 0 20 8
[ 5] .init PROGBITS 0000000000401000 00001000
000000000000001b 0000000000000000 AX 0 0 4
[ 6] .plt PROGBITS 0000000000401020 00001020
0000000000000090 0000000000000000 AX 0 0 8
[ 7] .text PROGBITS 00000000004010c0 000010c0
0000000000073f26 0000000000000000 AX 0 0 64
[ 8] .fini PROGBITS 0000000000474fe8 00074fe8
000000000000000d 0000000000000000 AX 0 0 4
[ 9] .rodata PROGBITS 0000000000475000 00075000
000000000001b994 0000000000000000 A 0 0 32
[10] .stapsdt.base PROGBITS 0000000000490994 00090994
0000000000000001 0000000000000000 A 0 0 1
[11] rodata.cst32 PROGBITS 00000000004909a0 000909a0
0000000000000060 0000000000000020 AM 0 0 32
[12] .eh_frame PROGBITS 0000000000490a00 00090a00
000000000000b5d0 0000000000000000 A 0 0 8
[13] .gcc_except_table PROGBITS 000000000049bfd0 0009bfd0
00000000000000d6 0000000000000000 A 0 0 1
[14] .tdata PROGBITS 000000000049d2d0 0009c2d0
0000000000000018 0000000000000000 WAT 0 0 8
[15] .tbss NOBITS 000000000049d2e8 0009c2e8
0000000000000040 0000000000000000 WAT 0 0 8
[16] .init_array INIT_ARRAY 000000000049d2e8 0009c2e8
0000000000000008 0000000000000008 WA 0 0 8
[17] .fini_array FINI_ARRAY 000000000049d2f0 0009c2f0
0000000000000010 0000000000000008 WA 0 0 8
[18] .data.rel.ro PROGBITS 000000000049d300 0009c300
0000000000003c28 0000000000000000 WA 0 0 32
[19] .got PROGBITS 00000000004a0f28 0009ff28
00000000000000c0 0000000000000000 WA 0 0 8
[20] .got.plt PROGBITS 00000000004a0fe8 0009ffe8
00000000000000a8 0000000000000008 WA 0 0 8
[21] .data PROGBITS 00000000004a10a0 000a00a0
00000000000019e8 0000000000000000 WA 0 0 32
[22] .bss NOBITS 00000000004a2aa0 000a1a88
0000000000005888 0000000000000000 WA 0 0 32
[23] .comment PROGBITS 0000000000000000 000a1a88
000000000000001b 0000000000000001 MS 0 0 1
[24] .note.stapsdt NOTE 0000000000000000 000a1aa4
00000000000014bc 0000000000000000 0 0 4
[25] .symtab SYMTAB 0000000000000000 000a2f60
000000000000bf40 0000000000000018 26 735 8
[26] .strtab STRTAB 0000000000000000 000aeea0
0000000000007903 0000000000000000 0 0 1
[27] .shstrtab STRTAB 0000000000000000 000b67a3
000000000000010c 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
DYNAMIC 0x0000000000000000 0x0000000000400000 0x0000000000400000
0x0000000000000000 0x0000000000000000 R 0x1000
DYNAMIC 0x0000000000001000 0x0000000000401000 0x0000000000401000
0x0000000000073ff5 0x0000000000073ff5 R E 0x1000
DYNAMIC 0x0000000000075000 0x0000000000475000 0x0000000000475000
0x00000000000270a6 0x00000000000270a6 R 0x1000
DYNAMIC 0x000000000009c2d0 0x000000000049d2d0 0x000000000049d2d0
0x00000000000057b8 0x000000000000b058 RW 0x1000
NOTE 0x0000000000000270 0x0000000000400270 0x0000000000400270
0x0000000000000040 0x0000000000000040 R 0x8
NOTE 0x00000000000002b0 0x00000000004002b0 0x00000000004002b0
0x0000000000000044 0x0000000000000044 R 0x4
TLS 0x000000000009c2d0 0x000000000049d2d0 0x000000000049d2d0
0x0000000000000018 0x0000000000000058 R 0x8
GNU_PROPERTY 0x0000000000000270 0x0000000000400270 0x0000000000400270
0x0000000000000040 0x0000000000000040 R 0x8
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x10
GNU_RELRO 0x000000000009c2d0 0x000000000049d2d0 0x000000000049d2d0
0x0000000000003d30 0x0000000000003d30 R 0x1
Section to Segment mapping:
Segment Sections...
00
01 .init .plt .text .fini
02 .rodata .stapsdt.base rodata.cst32 .eh_frame .gcc_except_table
03 .init_array .fini_array .data.rel.ro .got .got.plt .data .bss
04 .note.gnu.property
05 .note.gnu.build-id .note.ABI-tag
06 .tdata .tbss
07 .note.gnu.property
08
09 .tdata .init_array .fini_array .data.rel.ro .got
Dynamic section at offset 0x9c2d0 contains 5 entries:
Tag Type Name/Value
0x00000000004a2980 (: 4a2980) 0x4a2988
0x00000000004a2980 (: 4a2980) 0x401730
0x00000000004016f0 (: 4016f0) 0x4015f0
0x00000000004759a5 (: 4759a5) 0x103ae75f6
0x0000000000000000 (NULL) 0x0