rtb3@rtb:~$ objdump -d year year: file format elf32-i386 Disassembly of section .init: 080482a0 <_init>: 80482a0: 55 push %ebp 80482a1: 89 e5 mov %esp,%ebp 80482a3: 83 ec 08 sub $0x8,%esp 80482a6: e8 99 00 00 00 call 8048344 80482ab: e8 f0 00 00 00 call 80483a0 80482b0: e8 fb 02 00 00 call 80485b0 <__do_global_ctors_aux> 80482b5: c9 leave 80482b6: c3 ret Disassembly of section .plt: 080482b8 : 80482b8: ff 35 0c 97 04 08 pushl 0x804970c 80482be: ff 25 10 97 04 08 jmp *0x8049710 80482c4: 00 00 add %al,(%eax) ... 080482c8 : 80482c8: ff 25 14 97 04 08 jmp *0x8049714 80482ce: 68 00 00 00 00 push $0x0 80482d3: e9 e0 ff ff ff jmp 80482b8 <_init+0x18> 080482d8 <__libc_start_main@plt>: 80482d8: ff 25 18 97 04 08 jmp *0x8049718 80482de: 68 08 00 00 00 push $0x8 80482e3: e9 d0 ff ff ff jmp 80482b8 <_init+0x18> 080482e8 : 80482e8: ff 25 1c 97 04 08 jmp *0x804971c 80482ee: 68 10 00 00 00 push $0x10 80482f3: e9 c0 ff ff ff jmp 80482b8 <_init+0x18> 080482f8 : 80482f8: ff 25 20 97 04 08 jmp *0x8049720 80482fe: 68 18 00 00 00 push $0x18 8048303: e9 b0 ff ff ff jmp 80482b8 <_init+0x18> 08048308 <__gmon_start__@plt>: 8048308: ff 25 24 97 04 08 jmp *0x8049724 804830e: 68 20 00 00 00 push $0x20 8048313: e9 a0 ff ff ff jmp 80482b8 <_init+0x18> Disassembly of section .text: 08048320 <_start>: 8048320: 31 ed xor %ebp,%ebp 8048322: 5e pop %esi 8048323: 89 e1 mov %esp,%ecx 8048325: 83 e4 f0 and $0xfffffff0,%esp 8048328: 50 push %eax 8048329: 54 push %esp 804832a: 52 push %edx 804832b: 68 00 85 04 08 push $0x8048500 8048330: 68 50 85 04 08 push $0x8048550 8048335: 51 push %ecx 8048336: 56 push %esi 8048337: 68 c4 83 04 08 push $0x80483c4 804833c: e8 97 ff ff ff call 80482d8 <__libc_start_main@plt> 8048341: f4 hlt 8048342: 90 nop 8048343: 90 nop 08048344 : 8048344: 55 push %ebp 8048345: 89 e5 mov %esp,%ebp 8048347: 53 push %ebx 8048348: 83 ec 04 sub $0x4,%esp 804834b: e8 00 00 00 00 call 8048350 8048350: 5b pop %ebx 8048351: 81 c3 b8 13 00 00 add $0x13b8,%ebx 8048357: 8b 93 fc ff ff ff mov 0xfffffffc(%ebx),%edx 804835d: 85 d2 test %edx,%edx 804835f: 74 05 je 8048366 8048361: e8 a2 ff ff ff call 8048308 <__gmon_start__@plt> 8048366: 58 pop %eax 8048367: 5b pop %ebx 8048368: c9 leave 8048369: c3 ret 804836a: 90 nop 804836b: 90 nop 804836c: 90 nop 804836d: 90 nop 804836e: 90 nop 804836f: 90 nop 08048370 <__do_global_dtors_aux>: 8048370: 55 push %ebp 8048371: 89 e5 mov %esp,%ebp 8048373: 83 ec 08 sub $0x8,%esp 8048376: 80 3d 34 97 04 08 00 cmpb $0x0,0x8049734 804837d: 74 0c je 804838b <__do_global_dtors_aux+0x1b> 804837f: eb 1c jmp 804839d <__do_global_dtors_aux+0x2d> 8048381: 83 c0 04 add $0x4,%eax 8048384: a3 30 97 04 08 mov %eax,0x8049730 8048389: ff d2 call *%edx 804838b: a1 30 97 04 08 mov 0x8049730,%eax 8048390: 8b 10 mov (%eax),%edx 8048392: 85 d2 test %edx,%edx 8048394: 75 eb jne 8048381 <__do_global_dtors_aux+0x11> 8048396: c6 05 34 97 04 08 01 movb $0x1,0x8049734 804839d: c9 leave 804839e: c3 ret 804839f: 90 nop 080483a0 : 80483a0: 55 push %ebp 80483a1: 89 e5 mov %esp,%ebp 80483a3: 83 ec 08 sub $0x8,%esp 80483a6: a1 38 96 04 08 mov 0x8049638,%eax 80483ab: 85 c0 test %eax,%eax 80483ad: 74 12 je 80483c1 80483af: b8 00 00 00 00 mov $0x0,%eax 80483b4: 85 c0 test %eax,%eax 80483b6: 74 09 je 80483c1 80483b8: c7 04 24 38 96 04 08 movl $0x8049638,(%esp) 80483bf: ff d0 call *%eax 80483c1: c9 leave 80483c2: c3 ret 80483c3: 90 nop 080483c4
: 80483c4: 8d 4c 24 04 lea 0x4(%esp),%ecx 80483c8: 83 e4 f0 and $0xfffffff0,%esp 80483cb: ff 71 fc pushl 0xfffffffc(%ecx) 80483ce: 55 push %ebp 80483cf: 89 e5 mov %esp,%ebp 80483d1: 57 push %edi 80483d2: 51 push %ecx 80483d3: 81 ec 10 04 00 00 sub $0x410,%esp 80483d9: 89 8d 00 fc ff ff mov %ecx,0xfffffc00(%ebp) 80483df: 8b 85 00 fc ff ff mov 0xfffffc00(%ebp),%eax 80483e5: 83 38 01 cmpl $0x1,(%eax) 80483e8: 0f 8e cd 00 00 00 jle 80484bb 80483ee: 8d 85 0c fc ff ff lea 0xfffffc0c(%ebp),%eax 80483f4: c7 00 2f 75 73 72 movl $0x7273752f,(%eax) 80483fa: c7 40 04 2f 62 69 6e movl $0x6e69622f,0x4(%eax) 8048401: c7 40 08 2f 63 61 6c movl $0x6c61632f,0x8(%eax) 8048408: 66 c7 40 0c 20 22 movw $0x2220,0xc(%eax) 804840e: c6 40 0e 00 movb $0x0,0xe(%eax) 8048412: 8b 95 00 fc ff ff mov 0xfffffc00(%ebp),%edx 8048418: 8b 42 04 mov 0x4(%edx),%eax 804841b: 83 c0 04 add $0x4,%eax 804841e: 8b 00 mov (%eax),%eax 8048420: 89 44 24 04 mov %eax,0x4(%esp) 8048424: 8d 85 0c fc ff ff lea 0xfffffc0c(%ebp),%eax 804842a: 89 04 24 mov %eax,(%esp) 804842d: e8 b6 fe ff ff call 80482e8 8048432: c7 45 f4 00 00 00 00 movl $0x0,0xfffffff4(%ebp) 8048439: eb 2a jmp 8048465 804843b: 8b 8d 00 fc ff ff mov 0xfffffc00(%ebp),%ecx 8048441: 8b 41 04 mov 0x4(%ecx),%eax 8048444: 83 c0 04 add $0x4,%eax 8048447: 8b 10 mov (%eax),%edx 8048449: 8b 45 f4 mov 0xfffffff4(%ebp),%eax 804844c: 8d 04 02 lea (%edx,%eax,1),%eax 804844f: 0f b6 00 movzbl (%eax),%eax 8048452: 3c 22 cmp $0x22,%al 8048454: 75 0c jne 8048462 8048456: c7 85 04 fc ff ff 01 movl $0x1,0xfffffc04(%ebp) 804845d: 00 00 00 8048460: eb 7e jmp 80484e0 8048462: ff 45 f4 incl 0xfffffff4(%ebp) 8048465: 8b 55 f4 mov 0xfffffff4(%ebp),%edx 8048468: 8b bd 00 fc ff ff mov 0xfffffc00(%ebp),%edi 804846e: 8b 47 04 mov 0x4(%edi),%eax 8048471: 83 c0 04 add $0x4,%eax 8048474: 8b 00 mov (%eax),%eax 8048476: b9 ff ff ff ff mov $0xffffffff,%ecx 804847b: 89 85 fc fb ff ff mov %eax,0xfffffbfc(%ebp) 8048481: b0 00 mov $0x0,%al 8048483: fc cld 8048484: 8b bd fc fb ff ff mov 0xfffffbfc(%ebp),%edi 804848a: f2 ae repnz scas %es:(%edi),%al 804848c: 89 c8 mov %ecx,%eax 804848e: f7 d0 not %eax 8048490: 48 dec %eax 8048491: 39 c2 cmp %eax,%edx 8048493: 72 a6 jb 804843b 8048495: c7 44 24 04 08 86 04 movl $0x8048608,0x4(%esp) 804849c: 08 804849d: 8d 85 0c fc ff ff lea 0xfffffc0c(%ebp),%eax 80484a3: 89 04 24 mov %eax,(%esp) 80484a6: e8 3d fe ff ff call 80482e8 80484ab: 8d 85 0c fc ff ff lea 0xfffffc0c(%ebp),%eax 80484b1: 89 04 24 mov %eax,(%esp) 80484b4: e8 0f fe ff ff call 80482c8 80484b9: eb 1b jmp 80484d6 80484bb: 8b 95 00 fc ff ff mov 0xfffffc00(%ebp),%edx 80484c1: 8b 42 04 mov 0x4(%edx),%eax 80484c4: 8b 00 mov (%eax),%eax 80484c6: 89 44 24 04 mov %eax,0x4(%esp) 80484ca: c7 04 24 0a 86 04 08 movl $0x804860a,(%esp) 80484d1: e8 22 fe ff ff call 80482f8 80484d6: c7 85 04 fc ff ff 00 movl $0x0,0xfffffc04(%ebp) 80484dd: 00 00 00 80484e0: 8b 85 04 fc ff ff mov 0xfffffc04(%ebp),%eax 80484e6: 81 c4 10 04 00 00 add $0x410,%esp 80484ec: 59 pop %ecx 80484ed: 5f pop %edi 80484ee: 5d pop %ebp 80484ef: 8d 61 fc lea 0xfffffffc(%ecx),%esp 80484f2: c3 ret 80484f3: 90 nop 80484f4: 90 nop 80484f5: 90 nop 80484f6: 90 nop 80484f7: 90 nop 80484f8: 90 nop 80484f9: 90 nop 80484fa: 90 nop 80484fb: 90 nop 80484fc: 90 nop 80484fd: 90 nop 80484fe: 90 nop 80484ff: 90 nop 08048500 <__libc_csu_fini>: 8048500: 55 push %ebp 8048501: 89 e5 mov %esp,%ebp 8048503: 57 push %edi 8048504: 56 push %esi 8048505: 53 push %ebx 8048506: e8 98 00 00 00 call 80485a3 <__i686.get_pc_thunk.bx> 804850b: 81 c3 fd 11 00 00 add $0x11fd,%ebx 8048511: 83 ec 0c sub $0xc,%esp 8048514: 8d 83 20 ff ff ff lea 0xffffff20(%ebx),%eax 804851a: 8d bb 20 ff ff ff lea 0xffffff20(%ebx),%edi 8048520: 29 f8 sub %edi,%eax 8048522: c1 f8 02 sar $0x2,%eax 8048525: 8d 70 ff lea 0xffffffff(%eax),%esi 8048528: 83 fe ff cmp $0xffffffff,%esi 804852b: 74 0c je 8048539 <__libc_csu_fini+0x39> 804852d: 8d 76 00 lea 0x0(%esi),%esi 8048530: ff 14 b7 call *(%edi,%esi,4) 8048533: 4e dec %esi 8048534: 83 fe ff cmp $0xffffffff,%esi 8048537: 75 f7 jne 8048530 <__libc_csu_fini+0x30> 8048539: 8d b4 26 00 00 00 00 lea 0x0(%esi),%esi 8048540: e8 9f 00 00 00 call 80485e4 <_fini> 8048545: 83 c4 0c add $0xc,%esp 8048548: 5b pop %ebx 8048549: 5e pop %esi 804854a: 5f pop %edi 804854b: 5d pop %ebp 804854c: c3 ret 804854d: 8d 76 00 lea 0x0(%esi),%esi 08048550 <__libc_csu_init>: 8048550: 55 push %ebp 8048551: 89 e5 mov %esp,%ebp 8048553: 57 push %edi 8048554: 56 push %esi 8048555: 53 push %ebx 8048556: e8 48 00 00 00 call 80485a3 <__i686.get_pc_thunk.bx> 804855b: 81 c3 ad 11 00 00 add $0x11ad,%ebx 8048561: 83 ec 0c sub $0xc,%esp 8048564: e8 37 fd ff ff call 80482a0 <_init> 8048569: 8d 83 20 ff ff ff lea 0xffffff20(%ebx),%eax 804856f: 8d 93 20 ff ff ff lea 0xffffff20(%ebx),%edx 8048575: 29 d0 sub %edx,%eax 8048577: c1 f8 02 sar $0x2,%eax 804857a: 89 45 f0 mov %eax,0xfffffff0(%ebp) 804857d: 74 1c je 804859b <__libc_csu_init+0x4b> 804857f: 31 ff xor %edi,%edi 8048581: 89 d6 mov %edx,%esi 8048583: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 8048589: 8d bc 27 00 00 00 00 lea 0x0(%edi),%edi 8048590: 47 inc %edi 8048591: ff 16 call *(%esi) 8048593: 83 c6 04 add $0x4,%esi 8048596: 39 7d f0 cmp %edi,0xfffffff0(%ebp) 8048599: 75 f5 jne 8048590 <__libc_csu_init+0x40> 804859b: 83 c4 0c add $0xc,%esp 804859e: 5b pop %ebx 804859f: 5e pop %esi 80485a0: 5f pop %edi 80485a1: 5d pop %ebp 80485a2: c3 ret 080485a3 <__i686.get_pc_thunk.bx>: 80485a3: 8b 1c 24 mov (%esp),%ebx 80485a6: c3 ret 80485a7: 90 nop 80485a8: 90 nop 80485a9: 90 nop 80485aa: 90 nop 80485ab: 90 nop 80485ac: 90 nop 80485ad: 90 nop 80485ae: 90 nop 80485af: 90 nop 080485b0 <__do_global_ctors_aux>: 80485b0: 55 push %ebp 80485b1: 89 e5 mov %esp,%ebp 80485b3: 53 push %ebx 80485b4: bb 28 96 04 08 mov $0x8049628,%ebx 80485b9: 83 ec 04 sub $0x4,%esp 80485bc: a1 28 96 04 08 mov 0x8049628,%eax 80485c1: 83 f8 ff cmp $0xffffffff,%eax 80485c4: 74 16 je 80485dc <__do_global_ctors_aux+0x2c> 80485c6: 8d 76 00 lea 0x0(%esi),%esi 80485c9: 8d bc 27 00 00 00 00 lea 0x0(%edi),%edi 80485d0: 83 eb 04 sub $0x4,%ebx 80485d3: ff d0 call *%eax 80485d5: 8b 03 mov (%ebx),%eax 80485d7: 83 f8 ff cmp $0xffffffff,%eax 80485da: 75 f4 jne 80485d0 <__do_global_ctors_aux+0x20> 80485dc: 58 pop %eax 80485dd: 5b pop %ebx 80485de: 5d pop %ebp 80485df: 90 nop 80485e0: c3 ret 80485e1: 90 nop 80485e2: 90 nop 80485e3: 90 nop Disassembly of section .fini: 080485e4 <_fini>: 80485e4: 55 push %ebp 80485e5: 89 e5 mov %esp,%ebp 80485e7: 53 push %ebx 80485e8: 83 ec 04 sub $0x4,%esp 80485eb: e8 00 00 00 00 call 80485f0 <_fini+0xc> 80485f0: 5b pop %ebx 80485f1: 81 c3 18 11 00 00 add $0x1118,%ebx 80485f7: e8 74 fd ff ff call 8048370 <__do_global_dtors_aux> 80485fc: 59 pop %ecx 80485fd: 5b pop %ebx 80485fe: c9 leave 80485ff: c3 re