08048440 <frame_dummy>:
8048440: b8 10 9f 04 08 mov $0x8049f10,%eax
8048445: 8b 10 mov (%eax),%edx
8048447: 85 d2 test %edx,%edx
8048449: 75 05 jne 8048450 <frame_dummy+0x10>
804844b: eb 93 jmp 80483e0 <register_tm_clones>
804844d: 8d 76 00 lea 0x0(%esi),%esi
8048450: ba 00 00 00 00 mov $0x0,%edx
8048455: 85 d2 test %edx,%edx
8048457: 74 f2 je 804844b <frame_dummy+0xb>
8048459: 55 push %ebp
804845a: 89 e5 mov %esp,%ebp
804845c: 83 ec 14 sub $0x14,%esp
804845f: 50 push %eax
8048460: ff d2 call *%edx
8048462: 83 c4 10 add $0x10,%esp
8048465: c9 leave
8048466: e9 75 ff ff ff jmp 80483e0 <register_tm_clones>
0804846b <main>:
#include<stdio.h>
int main()
{
804846b: 8d 4c 24 04 lea 0x4(%esp),%ecx
804846f: 83 e4 f0 and $0xfffffff0,%esp
8048472: ff 71 fc pushl -0x4(%ecx)
8048475: 55 push %ebp
8048476: 89 e5 mov %esp,%ebp
8048478: 51 push %ecx
8048479: 83 ec 24 sub $0x24,%esp
804847c: 65 a1 14 00 00 00 mov %gs:0x14,%eax
8048482: 89 45 f4 mov %eax,-0xc(%ebp)
8048485: 31 c0 xor %eax,%eax
int a[5]={1,9,6,4,5};
8048487: c7 45 e0 01 00 00 00 movl $0x1,-0x20(%ebp)
804848e: c7 45 e4 09 00 00 00 movl $0x9,-0x1c(%ebp)
8048495: c7 45 e8 06 00 00 00 movl $0x6,-0x18(%ebp)
804849c: c7 45 ec 04 00 00 00 movl $0x4,-0x14(%ebp)
80484a3: c7 45 f0 05 00 00 00 movl $0x5,-0x10(%ebp)
int maxm=0;
80484aa: c7 45 d8 00 00 00 00 movl $0x0,-0x28(%ebp)
for(int i=0;i<5;i++)
80484b1: c7 45 dc 00 00 00 00 movl $0x0,-0x24(%ebp)
80484b8: eb 1a jmp 80484d4 <main+0x69>
{
if(a[i]>maxm)
80484ba: 8b 45 dc mov -0x24(%ebp),%eax
80484bd: 8b 44 85 e0 mov -0x20(%ebp,%eax,4),%eax
80484c1: 3b 45 d8 cmp -0x28(%ebp),%eax
80484c4: 7e 0a jle 80484d0 <main+0x65>
maxm=a[i];
80484c6: 8b 45 dc mov -0x24(%ebp),%eax
80484c9: 8b 44 85 e0 mov -0x20(%ebp,%eax,4),%eax
80484cd: 89 45 d8 mov %eax,-0x28(%ebp)
#include<stdio.h>
int main()
{
int a[5]={1,9,6,4,5};
int maxm=0;
for(int i=0;i<5;i++)
80484d0: 83 45 dc 01 addl $0x1,-0x24(%ebp)
80484d4: 83 7d dc 04 cmpl $0x4,-0x24(%ebp)
80484d8: 7e e0 jle 80484ba <main+0x4f>
{
if(a[i]>maxm)
maxm=a[i];
}
printf("%d",maxm);
80484da: 83 ec 08 sub $0x8,%esp
80484dd: ff 75 d8 pushl -0x28(%ebp)
80484e0: 68 90 85 04 08 push $0x8048590
80484e5: e8 46 fe ff ff call 8048330 <printf@plt>
80484ea: 83 c4 10 add $0x10,%esp
return 0;
80484ed: b8 00 00 00 00 mov $0x0,%eax
}
80484f2: 8b 55 f4 mov -0xc(%ebp),%edx
80484f5: 65 33 15 14 00 00 00 xor %gs:0x14,%edx
80484fc: 74 05 je 8048503 <main+0x98>
80484fe: e8 3d fe ff ff call 8048340 <__stack_chk_fail@plt>
8048503: 8b 4d fc mov -0x4(%ebp),%ecx
8048506: c9 leave
8048507: 8d 61 fc lea -0x4(%ecx),%esp
804850a: c3 ret
804850b: 66 90 xchg %ax,%ax
804850d: 66 90 xchg %ax,%ax
804850f: 90 nop
08048510 <__libc_csu_init>:
8048510: 55 push %ebp
8048511: 57 push %edi
8048512: 56 push %esi
8048513: 53 push %ebx
8048514: e8 87 fe ff ff call 80483a0 <__x86.get_pc_thunk.bx>
8048519: 81 c3 e7 1a 00 00 add $0x1ae7,%ebx
804851f: 83 ec 0c sub $0xc,%esp
8048522: 8b 6c 24 20 mov 0x20(%esp),%ebp
8048526: 8d b3 0c ff ff ff lea -0xf4(%ebx),%esi
804852c: e8 bf fd ff ff call 80482f0 <_init>
8048531: 8d 83 08 ff ff ff lea -0xf8(%ebx),%eax
8048537: 29 c6 sub %eax,%esi
8048539: c1 fe 02 sar $0x2,%esi
804853c: 85 f6 test %esi,%esi
804853e: 74 25 je 8048565 <__libc_csu_init+0x55>
8048540: 31 ff xor %edi,%edi
8048542: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
8048548: 83 ec 04 sub $0x4,%esp
804854b: ff 74 24 2c pushl 0x2c(%esp)
804854f: ff 74 24 2c pushl 0x2c(%esp)
8048553: 55 push %ebp
8048554: ff 94 bb 08 ff ff ff call *-0xf8(%ebx,%edi,4)
804855b: 83 c7 01 add $0x1,%edi
804855e: 83 c4 10 add $0x10,%esp
8048561: 39 f7 cmp %esi,%edi
8048563: 75 e3 jne 8048548 <__libc_csu_init+0x38>
8048565: 83 c4 0c add $0xc,%esp
8048568: 5b pop %ebx
8048569: 5e pop %esi
804856a: 5f pop %edi
804856b: 5d pop %ebp
804856c: c3 ret
804856d: 8d 76 00 lea 0x0(%esi),%esi
08048570 <__libc_csu_fini>:
8048570: f3 c3 repz ret
Disassembly of section .fini:
08048574 <_fini>:
8048574: 53 push %ebx
8048575: 83 ec 08 sub $0x8,%esp
8048578: e8 23 fe ff ff call 80483a0 <__x86.get_pc_thunk.bx>
804857d: 81 c3 83 1a 00 00 add $0x1a83,%ebx
8048583: 83 c4 08 add $0x8,%esp
8048586: 5b pop %ebx
8048587: c3 ret