.file "main.c" .section .rodata .align 4 .LC0: .string "hello assembler world, %d arguments given\n" .text .globl main .type main, @function main: pushl %ebp movl %esp, %ebp andl $-16, %esp pushl %ebx subl $60, %esp call __i686.get_pc_thunk.bx addl $_GLOBAL_OFFSET_TABLE_, %ebx movl 8(%ebp), %eax movl %eax, 28(%esp) movl 12(%ebp), %eax movl %eax, 24(%esp) movl %gs:20, %eax movl %eax, 44(%esp) xorl %eax, %eax leal .LC0@GOTOFF(%ebx), %eax movl 28(%esp), %edx movl %edx, 4(%esp) movl %eax, (%esp) call printf@PLT movl $0, %eax movl 44(%esp), %edx xorl %gs:20, %edx je .L3 call __stack_chk_fail_local .L3: addl $60, %esp popl %ebx movl %ebp, %esp popl %ebp ret .size main, .-main .hidden __stack_chk_fail_local .ident "GCC: (Gentoo Hardened 4.4.4-r2 p1.2, pie-0.4.5) 4.4.4" .section .text.__i686.get_pc_thunk.bx,"axG",@progbits,__i686.get_pc_thunk.bx,comdat .globl __i686.get_pc_thunk.bx .hidden __i686.get_pc_thunk.bx .type __i686.get_pc_thunk.bx, @function __i686.get_pc_thunk.bx: movl (%esp), %ebx ret .section .note.GNU-stack,"",@progbits