(gdb) disas main
Dump of assembler code for function main:
0x0804975f <main+0>: push %ebp
0x08049760 <main+1>: mov %esp,%ebp
0x08049762 <main+3>: and $0xfffffff0,%esp
0x08049765 <main+6>: push %ebx
0x08049766 <main+7>: sub $0x2c,%esp
0x08049769 <main+10>: call 0x8048c9c <getgid@plt>
0x0804976e <main+15>: mov %eax,%ebx
0x08049770 <main+17>: call 0x8048b9c <getuid@plt>
0x08049775 <main+22>: mov %ebx,0x8(%esp)
0x08049779 <main+26>: mov %eax,0x4(%esp)
0x0804977d <main+30>: movl $0x8049ba4,(%esp)
0x08049784 <main+37>: call 0x8048e58 <background_process>
0x08049789 <main+42>: movl $0x450,(%esp)
0x08049790 <main+49>: call 0x80492f5 <serve_forever>
0x08049795 <main+54>: mov %eax,0x18(%esp)
0x08049799 <main+58>: movl $0x0,(%esp)
0x080497a0 <main+65>: call 0x8048bec <time@plt>
0x080497a5 <main+70>: mov %eax,(%esp)
0x080497a8 <main+73>: call 0x8048bac <srandom@plt>
0x080497ad <main+78>: mov 0x18(%esp),%eax
0x080497b1 <main+82>: mov %eax,(%esp)
0x080497b4 <main+85>: call 0x804975a <run>
0x080497b9 <main+90>: add $0x2c,%esp
0x080497bc <main+93>: pop %ebx
0x080497bd <main+94>: mov %ebp,%esp
0x080497bf <main+96>: pop %ebp
0x080497c0 <main+97>: ret
End of assembler dump.
(gdb) disas run
Dump of assembler code for function run:
0x0804975a <run+0>: push %ebp
0x0804975b <run+1>: mov %esp,%ebp
0x0804975d <run+3>: pop %ebp
0x0804975e <run+4>: ret
End of assembler dump.