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
| .file "main.cpp"
.text
.globl __Z4funcPf
.def __Z4funcPf; .scl 2; .type 32; .endef
__Z4funcPf:
LFB2:
pushl %ebp
LCFI0:
movl %esp, %ebp
LCFI1:
movl 8(%ebp), %edx
movl $0x00000000, %eax
movl %eax, (%edx)
leave
ret
LFE2:
.globl __Z3foov
.def __Z3foov; .scl 2; .type 32; .endef
__Z3foov: /* ce qui suit est la fonction foo() */
LFB3:
pushl %ebp
LCFI2:
movl %esp, %ebp
LCFI3:
subl $16, %esp
LCFI4:
leal -12(%ebp), %eax
pushl %eax
LCFI5:
call __Z4funcPf /* premier appel de la fonction */
addl $4, %esp
leal -12(%ebp), %eax
pushl %eax
call __Z4funcPf /* deuxieme appel de la fonction */
addl $4, %esp
leave
ret
LFE3: |
Partager