blob: 4933f7817b7398df29a12e1b524dab5df1cadd8a (
plain)
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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
|
c
x 0x7f4854db6b40
c
x 0x7f4854db6b40
x main_arena
x &main_arena
x &__malloc_hook
x main_arena.top
db main_arena.top
c
c
c
q
print __malloc_hook
print __malloc_hook
fastbins
c
fastbins
c
vis_heap_chunks
c
fastbins
r
c
fastbins
print main_arena
vis_heap
c
fastbins
fastbins
c
fastbins
r
c
quit
db main_arena
db &main_arena.fastbinsY
q
r
c
c
fastbins
print &main_arena
print main_arena
c
print main_arena
db main_arena
db &main_arena
db &main_arena/100
db &main_arena 100
db &main_arena 1000
q
db main_arena.bins
db &main_arena.fastbinsY
run
c
c
q
r
c
fastbins
c
fastbins
c
fastbins
r
c
c
r
1
c
c
print main_arena
x __malloc_hook
x &__malloc_hook
x 0x7ffff7dd0bc0
x &main_arena
q
print &main_arena
print main_arena
db main_arena
db &main_arena 100
print main_arena
print &main_arena
db &main_arena
db &main_arena + 1
db &main_arena+1
find_fake_fast main_arena.fastbinsY
find_fake_fast &main_arena.fastbinsY
x &main_arena.fastbinsY
db main_arena
db &main_arena
db &main_arena+1
db &main_arena+0
dq &main_arena+0
dq &main_arena+1
x/x 00007fc130a1cb60
x/x 0x00007fc130a1cb60
x/x 0x7fc130a1cb69
x main_arena
x &main_arena
x 0x0x7fc130a1cb68
x 0x7fc130a1cb68
x 0x7fc130a1cb68+1
x/10x 0x7fc130a1cb68+1
x/10x 0x7fc130a1cb68+0
x/10x 0x7fc130a1cb68+1
x/10x 0x7fc130a1cb69
db 0x7fc130a1cb69
db 0x7fc130a1cb71
db 0x7fc130a1cb70
x main_arena
print &main_arena
db &main_arena+1
dq &main_arena+1
q
x 0x7f7151e3cb70
db 0x7f7151e3cb70
db main_arena
db &main_arena
print main_arena
x main_arena
print &main_arena
db 0x7f7151e3cb69
db 0x7f7151e3cb68
db 0x7f7151e3cb67
db 0x7f7151e3cb68
db 0x7f7151e3cb69
dq 0x7f7151e3cb69
db 0x7f7151e3cb69
db 0x7f7151e3cb67
db 0x7f7151e3cb69
db 0x7f7151e3cb68
find_fake_fast main_arena
find_fake_fast &main_arena
db 0x7f7151e3cb68
db 0x7f7151e3cb69
db 0x7f7151e3cb67
db 0x7f7151e3cb68
db 0x7f7151e3cb70
db 0x7fc130a1cb69
db 0x7f7151e3cb70
db 0x7f7151e3cb69
find_fake_fast &__free_hook
find_fake_fast &__realloc_hook
find_fake_fast &__memalign_hook
find_fake_fast &__malloc_initialize_hook
find_fake_fast &__after_morecore_hook
find_fake_fast q
q
quit
q
fastbins
c
frame 4
context code
x 0x7fd533e9cb68
db 0x7fd533e9cb68
x fastbins
print main_heap
print &main_heap
print &main_arena
print main_arena
db 0x7fee89f0ee10
db 0x7fee89f0ee10 10
db 0x7fee89f0ee10 48
db 0x7fee89f0ee10-3 48
db 0x7fee89f0ee10-3 (16*4)
db 0x7fee89f0ee10
db 0x7fee89f0ee10 - 1
db 0x7fee89f0ee10-1
db 0x7fee89f0ee10-1 1
db 0x7fee89f0ee10-1 32
db 0x7fee89f0ee10-1 (48)
db 0x7fee89f0ee10-1 (48 * 3)
db 0x7fee89f0ee10-1 (48*3)
db 0x7fee89f0ee10-1
db 0x7fee89f0ee10
q
print main_arena
x 0x7fdb92f8ee10
c
find_fake_fast &malloc_hook
find_fake_fast &__malloc_hook
x __malloc_hook
x &__malloc_hook
x &__malloc_hook
x &__malloc_hook - 16
x &__malloc_hook
db &__malloc_hook-100
db &__malloc_hook-100 100
db &__malloc_hook-1
db &__malloc_hook
db &__malloc_hook-48 48
db &__malloc_hook-48 48 * 8
db &__malloc_hook-48 48*8
db &__malloc_hook-48*8 48
db &__malloc_hook-80*8 80
db &__malloc_hook-160*8 80
db &__malloc_hook-160 80
db -h
db &__malloc_hook
x __malloc_hook
x &__malloc_hook
x __malloc_hook-100
x &__malloc_hook-100
x &__malloc_hook-100 100
x &__malloc_hook-100 100
db &__malloc_hook-100 100
db &__malloc_hook-100 100*8
print (void*)&malloc_hook
print (void*)&__malloc_hook
db &__malloc_hook-100 101*8
db &__malloc_hook-100 101*8
db &__malloc_hook-100 100*8
db &__malloc_hook-100
db &__malloc_hook-(16*9)
db &__malloc_hook-(16*9) 16*9
db &__malloc_hook-(10) (10*16)
db &__malloc_hook-(10) (10*8)
db &__malloc_hook-(1) (10*8)
db &__malloc_hook-(11
db &__malloc_hook
db &__malloc_hook-1
db &__malloc_hook-8
db &__malloc_hook
db &__malloc_hook-32
db &__malloc_hook-(32/8)
db &__malloc_hook-(32/8) 1
db &__malloc_hook-(32/8) 10
db 0x7f5575614b2a 1
db 0x7f5575614b2a
db 0x7f5575614b20
db &__malloc_loc
db &__malloc_hook-(16) (16*8)
print (void*)__malloc_hook
print (void*)&__malloc_hook
db 0x7f5575614b36
0x7f5575614b2a
find_fake_fast
find_fake_fast &__malloc_hook
print (void*)&__malloc_hook
exit
quit
print main_arena
x 0x7f265fd4cb2d
x 0x7f265fd4cb2d
db 0x7f265fd4cb2d
print (void*)&__malloc_hook
find_fake_fast &__malloc_hook
db 0x7f265fd4cb2d
db 0x7f265fd4cb2d - 1
db 0x7f265fd4cb2d-1
db
c
db &__malloc_hook-(16) (16*8)
|