SHARE
TWEET

Untitled

a guest Jun 19th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (gdb) disass main
  2. Dump of assembler code for function main:
  3.    0x0000118d <+0>: lea    ecx,[esp+0x4]
  4.    0x00001191 <+4>: and    esp,0xfffffff0
  5.    0x00001194 <+7>: push   DWORD PTR [ecx-0x4]
  6.    0x00001197 <+10>:    push   ebp
  7.    0x00001198 <+11>:    mov    ebp,esp
  8.    0x0000119a <+13>:    push   ebx
  9.    0x0000119b <+14>:    push   ecx
  10.    0x0000119c <+15>:    sub    esp,0x10
  11.    0x0000119f <+18>:    call   0x1090 <__x86.get_pc_thunk.bx>
  12.    0x000011a4 <+23>:    add    ebx,0x2e5c
  13.    0x000011aa <+29>:    mov    DWORD PTR [ebp-0xc],0x0
  14.    0x000011b1 <+36>:    jmp    0x11c9 <main+60>
  15.    0x000011b3 <+38>:    sub    esp,0xc
  16.    0x000011b6 <+41>:    lea    eax,[ebx-0x1ff8]
  17.    0x000011bc <+47>:    push   eax
  18.    0x000011bd <+48>:    call   0x1030 <puts@plt>
  19.    0x000011c2 <+53>:    add    esp,0x10
  20.    0x000011c5 <+56>:    add    DWORD PTR [ebp-0xc],0x1
  21.    0x000011c9 <+60>:    cmp    DWORD PTR [ebp-0xc],0x9
  22.    0x000011cd <+64>:    jle    0x11b3 <main+38>
  23. --Type <RET> for more, q to quit, c to continue without paging--
  24.    0x000011cf <+66>:    mov    eax,0x0
  25.    0x000011d4 <+71>:    lea    esp,[ebp-0x8]
  26.    0x000011d7 <+74>:    pop    ecx
  27.    0x000011d8 <+75>:    pop    ebx
  28.    0x000011d9 <+76>:    pop    ebp
  29.    0x000011da <+77>:    lea    esp,[ecx-0x4]
  30.    0x000011dd <+80>:    ret    
  31. End of assembler dump.
  32.      
  33. (gdb) info register eip
  34. eip            0x565561aa          0x565561aa <main+29>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top