.file "execls.c" .version "01.01" gcc2_compiled.: .globl args .data .align 4 .type args,@object args: .long .LC0 .long 0 .section .rodata .LC0: .string "/bin/ls" .size args,8 .LC1: .string "I'm not printed\n" .text .align 4 .globl execls .type execls,@function execls: pushl %ebp movl %esp,%ebp pushl $args pushl $.LC0 call execv addl $8,%esp pushl $.LC1 call printf addl $4,%esp .L1: leave ret .Lfe1: .size execls,.Lfe1-execls .align 4 .globl main .type main,@function main: pushl %ebp movl %esp,%ebp call execls xorl %eax,%eax jmp .L2 .align 4 .L2: leave ret .Lfe2: .size main,.Lfe2-main .ident "GCC: (GNU) 2.7.2.3"