Skip to content

Instantly share code, notes, and snippets.

@math314
Created May 26, 2014 15:49
Show Gist options
  • Save math314/d7ac95e507fe11d6bf36 to your computer and use it in GitHub Desktop.
Save math314/d7ac95e507fe11d6bf36 to your computer and use it in GitHub Desktop.
.......
.......
8049c21: 8d 44 24 2c lea eax,[esp+0x2c];
8049c25: 83 c0 05 add eax,0x5;
8049c28: 89 04 24 mov DWORD PTR [esp],eax;
8049c2b: e8 15 f9 ff ff call 8049545 <calloc@plt+0xd05>;
8049c30: eb 0c jmp 8049c3e <calloc@plt+0x13fe>;
8049c32: c7 04 24 c1 a0 04 08 mov DWORD PTR [esp],0x804a0c1;
8049c39: e8 2b ed ff ff call 8048969 <calloc@plt+0x129>;
8049c3e: 83 7c 24 28 00 cmp DWORD PTR [esp+0x28],0x0;
8049c43: 0f 85 25 fd ff ff jne 804996e <calloc@plt+0x112e>;
['end loop']
8049c60: e9 09 fd ff ff jmp 804996e <calloc@plt+0x112e>;
['jump to return address(destination)']
8049c49: b8 00 00 00 00 mov eax,0x0;
8049c4e: 8b b4 24 2c 01 00 00 mov esi,DWORD PTR [esp+0x12c];
8049c55: 65 33 35 14 00 00 00 xor esi,DWORD PTR gs:0x14;
8049c5c: 74 0c je 8049c6a <calloc@plt+0x142a>;
8049c5e: eb 05 jmp 8049c65 <calloc@plt+0x1425>;
['stack check']
8049c65: e8 a6 ea ff ff call 8048710 <__stack_chk_fail@plt>;
['return']
8049c6a: 8d 65 f4 lea esp,[ebp-0xc];
8049c6d: 5b pop ebx;
8049c6e: 5e pop esi;
8049c6f: 5f pop edi;
8049c70: 5d pop ebp;
8049c71: c3 ret ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment