c程序部分代码如下:
int g(int x)
.file
"main.c"
.text
.globlg
.typeg, @function
g:
.LFB0:
.cfi_startproc
pushl%ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl%esp, %ebp
.cfi_def_cfa_register 5
movl8(%ebp), %eax
addl$5, %eax
popl%ebp
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE0:
.sizeg, .-g
.globlf
.typef, @function
f:
.LFB1:
.cfi_startproc
pushl%ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl%esp, %ebp
.cfi_def_cfa_register 5
subl$4, %esp
movl8(%ebp), %eax
movl%eax, (%esp)
callg
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE1:
.sizef, .-f
.globlmain
.typemain, @function
main:
.LFB2:
.cfi_startproc
pushl%ebp
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl%esp, %ebp
.cfi_def_cfa_register 5
subl$4, %esp
movl$9, (%esp)
callf
addl$1, %eax
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
.LFE2:
.sizemain, .-main
.ident"GCC: (Ubuntu 4.8.2-19ubuntu1) 4.8.2"
.section.note.GNU-stack,"",@progbits