(gdb) disas /m main Dump of assembler code for function main: 0x0804843b <+0>: lea 0x4(%esp),%ecx 0x0804843f <+4>: and $0xfffffff0,%esp 0x08048442 <+7>: pushl -0x4(%ecx) 0x08048445 <+10>: push %ebp 0x08048446 <+11>: mov %esp,%ebp 0x08048448 <+13>: push %ecx 0x08048449 <+14>: sub $0x54,%esp 0x0804844c <+17>: mov %ecx,%eax 0x0804844e <+19>: mov 0x4(%eax),%eax 0x08048451 <+22>: mov %eax,-0x4c(%ebp) 0x08048454 <+25>: mov %gs:0x14,%eax 0x0804845a <+31>: mov %eax,-0xc(%ebp) 0x0804845d <+34>: xor %eax,%eax 0x0804845f <+36>: movl $0x8048570,-0x48(%ebp) 0x08048466 <+43>: movl $0x3,-0x44(%ebp) 0x0804846d <+50>: movl $0x9,-0x40(%ebp) 0x08048474 <+57>: movl $0xe,-0x3c(%ebp) 0x0804847b <+64>: movl $0x2,-0x38(%ebp) 0x08048482 <+71>: movl $0x9,-0x34(%ebp) 0x08048489 <+78>: movl $0x8,-0x30(%ebp) 0x08048490 <+85>: movl $0xb,-0x2c(%ebp) 0x08048497 <+92>: movl $0x15,-0x28(%ebp) ---Type to continue, or q to quit--- 0x0804849e <+99>: movl $0x13,-0x24(%ebp) 0x080484a5 <+106>: movl $0x3,-0x20(%ebp) 0x080484ac <+113>: movl $0x1,-0x1c(%ebp) 0x080484b3 <+120>: movl $0x2,-0x18(%ebp) 0x080484ba <+127>: movl $0x5,-0x14(%ebp) 0x080484c1 <+134>: movl $0x5,-0x10(%ebp) 0x080484c8 <+141>: mov $0x0,%eax 0x080484cd <+146>: mov -0xc(%ebp),%edx 0x080484d0 <+149>: xor %gs:0x14,%edx 0x080484d7 <+156>: je 0x80484de 0x080484d9 <+158>: call 0x8048310 <__stack_chk_fail@plt> 0x080484de <+163>: add $0x54,%esp 0x080484e1 <+166>: pop %ecx 0x080484e2 <+167>: pop %ebp 0x080484e3 <+168>: lea -0x4(%ecx),%esp 0x080484e6 <+171>: ret End of assembler dump. (gdb)