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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
|
.file "environment.cc"
.section .text._ZN15EnvironmentImpl6GetVarEPKcPc,"axG",@progbits,_ZN15EnvironmentImpl6GetVarEPKcPc,comdat
.align 2
.weak _ZN15EnvironmentImpl6GetVarEPKcPc
.type _ZN15EnvironmentImpl6GetVarEPKcPc, @function
_ZN15EnvironmentImpl6GetVarEPKcPc:
.LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl $1, %eax
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size _ZN15EnvironmentImpl6GetVarEPKcPc, .-_ZN15EnvironmentImpl6GetVarEPKcPc
.text
.align 2
.globl _ZN11EnvironmentD2Ev
.type _ZN11EnvironmentD2Ev, @function
_ZN11EnvironmentD2Ev:
.LFB2:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq _ZTV11Environment@GOTPCREL(%rip), %rdx
leaq 16(%rdx), %rdx
movq %rdx, (%rax)
movl $0, %eax
testl %eax, %eax
je .L3
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZdlPv@PLT
.L3:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE2:
.size _ZN11EnvironmentD2Ev, .-_ZN11EnvironmentD2Ev
.globl _ZN11EnvironmentD1Ev
.set _ZN11EnvironmentD1Ev,_ZN11EnvironmentD2Ev
.align 2
.globl _ZN11EnvironmentD0Ev
.type _ZN11EnvironmentD0Ev, @function
_ZN11EnvironmentD0Ev:
.LFB4:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZN11EnvironmentD1Ev@PLT
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZdlPv@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE4:
.size _ZN11EnvironmentD0Ev, .-_ZN11EnvironmentD0Ev
.section .text._ZN11EnvironmentC2Ev,"axG",@progbits,_ZN11EnvironmentC5Ev,comdat
.align 2
.weak _ZN11EnvironmentC2Ev
.type _ZN11EnvironmentC2Ev, @function
_ZN11EnvironmentC2Ev:
.LFB8:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq _ZTV11Environment@GOTPCREL(%rip), %rdx
leaq 16(%rdx), %rdx
movq %rdx, (%rax)
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE8:
.size _ZN11EnvironmentC2Ev, .-_ZN11EnvironmentC2Ev
.weak _ZN11EnvironmentC1Ev
.set _ZN11EnvironmentC1Ev,_ZN11EnvironmentC2Ev
.section .text._ZN15EnvironmentImplC2Ev,"axG",@progbits,_ZN15EnvironmentImplC5Ev,comdat
.align 2
.weak _ZN15EnvironmentImplC2Ev
.type _ZN15EnvironmentImplC2Ev, @function
_ZN15EnvironmentImplC2Ev:
.LFB10:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZN11EnvironmentC2Ev@PLT
movq -8(%rbp), %rax
movq _ZTV15EnvironmentImpl@GOTPCREL(%rip), %rdx
leaq 16(%rdx), %rdx
movq %rdx, (%rax)
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE10:
.size _ZN15EnvironmentImplC2Ev, .-_ZN15EnvironmentImplC2Ev
.weak _ZN15EnvironmentImplC1Ev
.set _ZN15EnvironmentImplC1Ev,_ZN15EnvironmentImplC2Ev
.text
.align 2
.globl _ZN11Environment6CreateEv
.type _ZN11Environment6CreateEv, @function
_ZN11Environment6CreateEv:
.LFB5:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
pushq %rbx
subq $8, %rsp
.cfi_offset 3, -24
movl $8, %edi
call _Znwm@PLT
movq %rax, %rbx
movq $0, (%rbx)
movq %rbx, %rdi
call _ZN15EnvironmentImplC1Ev@PLT
movq %rbx, %rax
addq $8, %rsp
popq %rbx
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE5:
.size _ZN11Environment6CreateEv, .-_ZN11Environment6CreateEv
.section .rodata
.LC0:
.string "%p\n"
.text
.globl main
.type main, @function
main:
.LFB12:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movq $0, -8(%rbp)
call _ZN11Environment6CreateEv@PLT
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq (%rax), %rax
movq %rax, %rsi
leaq _ZN4_VTVI11EnvironmentE12__vtable_mapE(%rip), %rdi
call _Z24__VLTVerifyVtablePointerPPvPKv@PLT
addq $16, %rax
movq (%rax), %rax
movq -8(%rbp), %rdx
movq -16(%rbp), %rcx
movl $0, %esi
movq %rcx, %rdi
call *%rax
movq -16(%rbp), %rax
movq %rax, %rsi
leaq .LC0(%rip), %rdi
movl $0, %eax
call printf@PLT
movl $0, %eax
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE12:
.size main, .-main
.weak _ZTV11Environment
.section .data.rel.ro._ZTV11Environment,"awG",@progbits,_ZTV11Environment,comdat
.align 32
.type _ZTV11Environment, @object
.size _ZTV11Environment, 40
_ZTV11Environment:
.quad 0
.quad _ZTI11Environment
.quad _ZN11EnvironmentD1Ev
.quad _ZN11EnvironmentD0Ev
.quad __cxa_pure_virtual
.weak _ZTV15EnvironmentImpl
.section .data.rel.ro._ZTV15EnvironmentImpl,"awG",@progbits,_ZTV15EnvironmentImpl,comdat
.align 32
.type _ZTV15EnvironmentImpl, @object
.size _ZTV15EnvironmentImpl, 40
_ZTV15EnvironmentImpl:
.quad 0
.quad _ZTI15EnvironmentImpl
.quad _ZN15EnvironmentImplD1Ev
.quad _ZN15EnvironmentImplD0Ev
.quad _ZN15EnvironmentImpl6GetVarEPKcPc
.section .text._ZN15EnvironmentImplD2Ev,"axG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
.align 2
.weak _ZN15EnvironmentImplD2Ev
.type _ZN15EnvironmentImplD2Ev, @function
_ZN15EnvironmentImplD2Ev:
.LFB14:
.cfi_startproc
.cfi_personality 0x9b,DW.ref.__gxx_personality_v0
.cfi_lsda 0x1b,.LLSDA14
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq _ZTV15EnvironmentImpl@GOTPCREL(%rip), %rdx
leaq 16(%rdx), %rdx
movq %rdx, (%rax)
movq -8(%rbp), %rax
movq %rax, %rdi
.LEHB0:
call _ZN11EnvironmentD2Ev@PLT
.LEHE0:
movl $0, %eax
testl %eax, %eax
je .L19
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZdlPv@PLT
jmp .L19
.L18:
movq %rax, %rdi
.LEHB1:
call _Unwind_Resume@PLT
.LEHE1:
.L19:
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE14:
.globl __gxx_personality_v0
.section .gcc_except_table._ZN15EnvironmentImplD2Ev,"aG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
.LLSDA14:
.byte 0xff
.byte 0xff
.byte 0x1
.uleb128 .LLSDACSE14-.LLSDACSB14
.LLSDACSB14:
.uleb128 .LEHB0-.LFB14
.uleb128 .LEHE0-.LEHB0
.uleb128 .L18-.LFB14
.uleb128 0
.uleb128 .LEHB1-.LFB14
.uleb128 .LEHE1-.LEHB1
.uleb128 0
.uleb128 0
.LLSDACSE14:
.section .text._ZN15EnvironmentImplD2Ev,"axG",@progbits,_ZN15EnvironmentImplD5Ev,comdat
.size _ZN15EnvironmentImplD2Ev, .-_ZN15EnvironmentImplD2Ev
.weak _ZN15EnvironmentImplD1Ev
.set _ZN15EnvironmentImplD1Ev,_ZN15EnvironmentImplD2Ev
.section .text._ZN15EnvironmentImplD0Ev,"axG",@progbits,_ZN15EnvironmentImplD0Ev,comdat
.align 2
.weak _ZN15EnvironmentImplD0Ev
.type _ZN15EnvironmentImplD0Ev, @function
_ZN15EnvironmentImplD0Ev:
.LFB16:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZN15EnvironmentImplD1Ev@PLT
movq -8(%rbp), %rax
movq %rax, %rdi
call _ZdlPv@PLT
leave
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE16:
.size _ZN15EnvironmentImplD0Ev, .-_ZN15EnvironmentImplD0Ev
.weak _ZTS15EnvironmentImpl
.section .rodata._ZTS15EnvironmentImpl,"aG",@progbits,_ZTS15EnvironmentImpl,comdat
.align 16
.type _ZTS15EnvironmentImpl, @object
.size _ZTS15EnvironmentImpl, 18
_ZTS15EnvironmentImpl:
.string "15EnvironmentImpl"
.weak _ZTI15EnvironmentImpl
.section .data.rel.ro._ZTI15EnvironmentImpl,"awG",@progbits,_ZTI15EnvironmentImpl,comdat
.align 16
.type _ZTI15EnvironmentImpl, @object
.size _ZTI15EnvironmentImpl, 24
_ZTI15EnvironmentImpl:
.quad _ZTVN10__cxxabiv120__si_class_type_infoE+16
.quad _ZTS15EnvironmentImpl
.quad _ZTI11Environment
.weak _ZTI11Environment
.section .data.rel.ro._ZTI11Environment,"awG",@progbits,_ZTI11Environment,comdat
.align 16
.type _ZTI11Environment, @object
.size _ZTI11Environment, 16
_ZTI11Environment:
.quad _ZTVN10__cxxabiv117__class_type_infoE+16
.quad _ZTS11Environment
.weak _ZTS11Environment
.section .rodata._ZTS11Environment,"aG",@progbits,_ZTS11Environment,comdat
.type _ZTS11Environment, @object
.size _ZTS11Environment, 14
_ZTS11Environment:
.string "11Environment"
.hidden _ZN4_VTVI11EnvironmentE12__vtable_mapE
.weak _ZN4_VTVI11EnvironmentE12__vtable_mapE
.section .vtable_map_vars,"awG",@progbits,_ZN4_VTVI11EnvironmentE12__vtable_mapE,comdat
.align 8
.type _ZN4_VTVI11EnvironmentE12__vtable_mapE, @gnu_unique_object
.size _ZN4_VTVI11EnvironmentE12__vtable_mapE, 8
_ZN4_VTVI11EnvironmentE12__vtable_mapE:
.zero 8
.hidden _ZN4_VTVI15EnvironmentImplE12__vtable_mapE
.weak _ZN4_VTVI15EnvironmentImplE12__vtable_mapE
.section .vtable_map_vars,"awG",@progbits,_ZN4_VTVI15EnvironmentImplE12__vtable_mapE,comdat
.align 8
.type _ZN4_VTVI15EnvironmentImplE12__vtable_mapE, @gnu_unique_object
.size _ZN4_VTVI15EnvironmentImplE12__vtable_mapE, 8
_ZN4_VTVI15EnvironmentImplE12__vtable_mapE:
.zero 8
.section .data.rel.ro,"aw",@progbits
.align 16
.type __vptr_array_11Environment, @object
.size __vptr_array_11Environment, 16
__vptr_array_11Environment:
.quad _ZTV11Environment+16
.quad _ZTV15EnvironmentImpl+16
.section .rodata
.align 8
.LC1:
.string "&"
.string ""
.string ""
.ascii "\224\tl\022_ZN4_VTVI11EnvironmentE12__vtable_mapE"
.align 8
.LC2:
.string "*"
.string ""
.string ""
.ascii "N\225\r\334_ZN4_VTVI15EnvironmentImplE12__vtable_mapE"
.text
.type _GLOBAL__sub_I.00099_environment.cc, @function
_GLOBAL__sub_I.00099_environment.cc:
.LFB17:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
leaq __vptr_array_11Environment(%rip), %r8
movl $2, %ecx
movl $2, %edx
leaq .LC1(%rip), %rsi
leaq _ZN4_VTVI11EnvironmentE12__vtable_mapE(%rip), %rdi
movq _ZTV15EnvironmentImpl@GOTPCREL(%rip), %rax
leaq 16(%rax), %rcx
movl $1, %edx
leaq .LC2(%rip), %rsi
leaq _ZN4_VTVI15EnvironmentImplE12__vtable_mapE(%rip), %rdi
call _Z17__VLTRegisterPairPPvPKvmS2_@PLT
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE17:
.size _GLOBAL__sub_I.00099_environment.cc, .-_GLOBAL__sub_I.00099_environment.cc
.section .init_array.00099,"aw"
.align 8
.quad _GLOBAL__sub_I.00099_environment.cc
.hidden DW.ref.__gxx_personality_v0
.weak DW.ref.__gxx_personality_v0
.section .data.DW.ref.__gxx_personality_v0,"awG",@progbits,DW.ref.__gxx_personality_v0,comdat
.align 8
.type DW.ref.__gxx_personality_v0, @object
.size DW.ref.__gxx_personality_v0, 8
DW.ref.__gxx_personality_v0:
.quad __gxx_personality_v0
.ident "GCC: (GNU) 4.9.0 20130616 (experimental)"
.section .note.GNU-stack,"",@progbits
|