-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblock.txt
237 lines (196 loc) · 3.26 KB
/
block.txt
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
<.plt.got>
endbr64
repne jmpq *12157(%rip)
nopl (%rax,%rax)
section .plt.sec:
____________
____________
<.plt.sec>
endbr64
repne jmpq *12077(%rip)
nopl (%rax,%rax)
endbr64
repne jmpq *12069(%rip)
nopl (%rax,%rax)
endbr64
repne jmpq *12061(%rip)
nopl (%rax,%rax)
endbr64
repne jmpq *12053(%rip)
nopl (%rax,%rax)
section .text:
____________
____________
<.plt>
pushq 12162(%rip)
repne jmpq *12163(%rip)
nopl (%rax)
endbr64
repne jmp 0x1020 <.plt>
nop
endbr64
repne jmp 0x1020 <.plt>
nop
endbr64
repne jmp 0x1020 <.plt>
nop
endbr64
repne jmp 0x1020 <.plt>
nop
section .plt.got:
____________
____________
<_Z3funi>
endbr64
pushq %rbp
movq %rsp, %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, %esi
leaq 3648(%rip), %rax
movq %rax, %rdi
movl $0, %eax
callq 0x10a0 <.plt.sec+0x20>
nop
leave
retq
____________
____________
<__do_global_dtors_aux>
endbr64
cmpb $0, 11941(%rip)
jne 0x1198 <__do_global_dtors_aux+0x38>
pushq %rbp
cmpq $0, 11906(%rip)
movq %rsp, %rbp
je 0x1187 <__do_global_dtors_aux+0x27>
movq 11910(%rip), %rdi
callq 0x1070 <.plt.got>
callq 0x10f0 <deregister_tm_clones>
movb $1, 11901(%rip)
popq %rbp
retq
nopl (%rax)
retq
nopl (%rax)
____________
____________
<_fini>
endbr64
subq $8, %rsp
addq $8, %rsp
retq
____________
____________
<_init>
endbr64
subq $8, %rsp
movq 12249(%rip), %rax
testq %rax, %rax
je 0x1016 <_init+0x16>
callq *%rax
addq $8, %rsp
retq
section .plt:
____________
____________
<_start>
endbr64
xorl %ebp, %ebp
movq %rdx, %r9
popq %rsi
movq %rsp, %rdx
andq $-16, %rsp
pushq %rax
pushq %rsp
xorl %r8d, %r8d
xorl %ecx, %ecx
leaq 245(%rip), %rdi
callq *12019(%rip)
hlt
nopw %cs:(%rax,%rax)
____________
____________
<deregister_tm_clones>
leaq 12057(%rip), %rdi
leaq 12050(%rip), %rax
cmpq %rdi, %rax
je 0x1118 <deregister_tm_clones+0x28>
movq 11990(%rip), %rax
testq %rax, %rax
je 0x1118 <deregister_tm_clones+0x28>
jmpq *%rax
nopl (%rax)
retq
nopl (%rax)
____________
____________
<frame_dummy>
endbr64
jmp 0x1120 <register_tm_clones>
____________
____________
<main>
endbr64
pushq %rbp
movq %rsp, %rbp
subq $64, %rsp
movq %fs:40, %rax
movq %rax, -8(%rbp)
xorl %eax, %eax
leaq -56(%rbp), %rax
movq %rax, %rsi
leaq 3591(%rip), %rax
movq %rax, %rdi
movl $0, %eax
callq 0x10b0 <.plt.sec+0x30>
movl -56(%rbp), %eax
movl %eax, %edi
callq 0x11a9 <_Z3funi>
movl -56(%rbp), %eax
cmpl $1, %eax
jle 0x1225 <main+0x51>
movl $100, -56(%rbp)
jmp 0x122c <main+0x58>
movl $1, -56(%rbp)
movl -56(%rbp), %eax
testl %eax, %eax
je 0x123d <main+0x69>
movl $1, %edi
callq 0x11a9 <_Z3funi>
movb $97, -48(%rbp)
leaq -48(%rbp), %rax
movl $0, %ecx
movl $2, %edx
movq %rax, %rsi
movl $1, %edi
callq 0x1090 <.plt.sec+0x10>
movl %eax, -52(%rbp)
movl $0, %eax
movq -8(%rbp), %rdx
subq %fs:40, %rdx
je 0x1278 <main+0xa4>
callq 0x1080 <.plt.sec>
leave
retq
section .fini:
____________
____________
<register_tm_clones>
leaq 12009(%rip), %rdi
leaq 12002(%rip), %rsi
subq %rdi, %rsi
movq %rsi, %rax
shrq $63, %rsi
sarq $3, %rax
addq %rax, %rsi
sarq %rsi
je 0x1158 <register_tm_clones+0x38>
movq 11941(%rip), %rax
testq %rax, %rax
je 0x1158 <register_tm_clones+0x38>
jmpq *%rax
nopw (%rax,%rax)
retq
nopl (%rax)