Skip to content

Instantly share code, notes, and snippets.

@bhelyer
Forked from FeepingCreature/gist:805833
Created February 1, 2011 13:20
Show Gist options
  • Select an option

  • Save bhelyer/805837 to your computer and use it in GitHub Desktop.

Select an option

Save bhelyer/805837 to your computer and use it in GitHub Desktop.
[bla bla sys module omitted]
.text
.globl module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int
.type module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int, @function
module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int:
pushl %ebp
movl %esp, %ebp #mov4.2
.L106_entry:
pushl $0
addl $4, %esp # sfree
.L106_exit:
module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int_exit_label:
movl %ebp, %esp #mov4.2
popl %ebp
ret
.globl module_test7__fcc_main_of_function_to_sys_int
.type module_test7__fcc_main_of_function_to_sys_int, @function
module_test7__fcc_main_of_function_to_sys_int:
pushl %ebp
movl %esp, %ebp #mov4.2
.L107_entry:
pushl $module_test7_add_of_function_to_sys_int_of_sys_int_and_sys_int
pushl $0
subl $8, %esp # salloc
pushl $2
pushl $30
call *20(%esp)
addl $20, %esp # sfree
jmp module_test7__fcc_main_of_function_to_sys_int_exit_label
.L107_exit:
addl $4, %esp # sfree
module_test7__fcc_main_of_function_to_sys_int_exit_label:
movl %ebp, %esp #mov4.2
popl %ebp
ret
[bla bla shit omitted]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment