Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.68 KB | None | 0 0
  1. (gdb) disass main
  2. Dump of assembler code for function main:
  3.    0x080483a4 <+0>: push   %ebp
  4.    0x080483a5 <+1>: mov    %esp,%ebp
  5.    0x080483a7 <+3>: sub    $0x208,%esp
  6.    0x080483ad <+9>: cmpl   $0x1,0x8(%ebp)
  7.    0x080483b1 <+13>:    jle    0x80483cd <main+41>
  8.    0x080483b3 <+15>:    mov    0xc(%ebp),%eax
  9.    0x080483b6 <+18>:    add    $0x4,%eax
  10.    0x080483b9 <+21>:    mov    (%eax),%eax
  11.    0x080483bb <+23>:    mov    %eax,0x4(%esp)
  12.    0x080483bf <+27>:    lea    -0x200(%ebp),%eax
  13.    0x080483c5 <+33>:    mov    %eax,(%esp)
  14.    0x080483c8 <+36>:    call   0x80482d4 <strcpy@plt>
  15.    0x080483cd <+41>:    mov    $0x0,%eax
  16.    0x080483d2 <+46>:    leave  
  17.    0x080483d3 <+47>:    ret    
  18. End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement