rendered paste bodyint main()
{
printf("Woo!\n I can run!\n");
}
(gdb) disas main
Dump of assembler code for function main:
0x080483b0 <main+0>: push %ebp
0x080483b1 <main+1>: mov %esp,%ebp
0x080483b3 <main+3>: sub shx8,%esp
0x080483b6 <main+6>: and shxfffffff0,%esp
0x080483b9 <main+9>: sub shx1c,%esp
0x080483bc <main+12>: push shx80484d4
0x080483c1 <main+17>: call 0x80482a8 <puts@plt>
0x080483c6 <main+22>: leave
0x080483c7 <main+23>: ret
0x080483c8 <main+24>: nop
0x080483c9 <main+25>: nop
0x080483ca <main+26>: nop
0x080483cb <main+27>: nop
0x080483cc <main+28>: nop
0x080483cd <main+29>: nop
0x080483ce <main+30>: nop
0x080483cf <main+31>: nop
End of assembler dump.
0x080483bc <main+12>: push shx80484d4
0x80484d4 <_IO_stdin_used+4>: Woo!n I can run!
0x080483c1 <main+17>: call 0x80482a8 <puts@plt>
Dump of assembler code for function puts@plt:
0x080482a8 <puts@plt+0>: jmp *0x80495d8
0x080482ae <puts@plt+6>: push $0x0
0x080482b3 <puts@plt+11>: jmp 0x8048298 <_init+24>
End of assembler dump.