Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .section __TEXT,__text,regular,pure_instructions
- .globl _pre_main
- .align 4, 0x90
- _pre_main:
- pushl %ebp
- movl %esp, %ebp
- subl $24, %esp
- call L1$pb
- L1$pb:
- popl %eax
- leal ___func__.1863-L1$pb(%eax), %eax
- movl %eax, (%esp)
- call _puts
- call _getchar
- movl $0, -8(%ebp)
- movl -8(%ebp), %eax
- movl %eax, -4(%ebp)
- movl -4(%ebp), %eax
- addl $24, %esp
- popl %ebp
- ret
- .globl _after_main
- .align 4, 0x90
- _after_main:
- pushl %ebp
- movl %esp, %ebp
- subl $24, %esp
- call L2$pb
- L2$pb:
- popl %eax
- leal ___func__.1869-L2$pb(%eax), %eax
- movl %eax, (%esp)
- call _puts
- movl $0, -8(%ebp)
- movl -8(%ebp), %eax
- movl %eax, -4(%ebp)
- movl -4(%ebp), %eax
- addl $24, %esp
- popl %ebp
- ret
- .globl _main
- .align 4, 0x90
- _main:
- pushl %ebp
- movl %esp, %ebp
- subl $24, %esp
- call L3$pb
- L3$pb:
- popl %eax
- leal ___func__.1875-L3$pb(%eax), %eax
- movl %eax, (%esp)
- call _puts
- movl $0, -8(%ebp)
- movl -8(%ebp), %eax
- movl %eax, -4(%ebp)
- movl -4(%ebp), %eax
- addl $24, %esp
- popl %ebp
- ret
- .section __TEXT,__cstring,cstring_literals
- .align 2
- ___func__.1863:
- .asciz "pre_main"
- .align 2
- ___func__.1869:
- .asciz "after_main"
- .align 2
- ___func__.1875:
- .asciz "main"
- .section __DATA,__mod_init_func,mod_init_funcs
- .align 2
- .long _pre_main
- .section __DATA,__mod_term_func,mod_term_funcs
- .align 2
- .long _after_main
- .subsections_via_symbols
Add Comment
Please, Sign In to add comment