Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
636
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 1.23 KB | None | 0 0
  1. (gdb) disas welcome
  2. Dump of assembler code for function welcome:
  3.    0x08048609 <+0>:     push   %ebp
  4.    0x0804860a <+1>:     mov    %esp,%ebp
  5.    0x0804860c <+3>:     sub    $0x88,%esp
  6.    0x08048612 <+9>:     mov    %gs:0x14,%eax
  7.    0x08048618 <+15>:    mov    %eax,-0xc(%ebp)
  8.    0x0804861b <+18>:    xor    %eax,%eax
  9.    0x0804861d <+20>:    mov    $0x80487cb,%eax
  10.    0x08048622 <+25>:    mov    %eax,(%esp)
  11.    0x08048625 <+28>:    call   0x8048420 <printf@plt>
  12.    0x0804862a <+33>:    mov    $0x80487dd,%eax
  13.    0x0804862f <+38>:    lea    -0x70(%ebp),%edx
  14.    0x08048632 <+41>:    mov    %edx,0x4(%esp)
  15.    0x08048636 <+45>:    mov    %eax,(%esp)
  16.    0x08048639 <+48>:    call   0x80484a0 <__isoc99_scanf@plt>
  17.    0x0804863e <+53>:    mov    $0x80487e3,%eax
  18.    0x08048643 <+58>:    lea    -0x70(%ebp),%edx
  19.    0x08048646 <+61>:    mov    %edx,0x4(%esp)
  20.    0x0804864a <+65>:    mov    %eax,(%esp)
  21.    0x0804864d <+68>:    call   0x8048420 <printf@plt>
  22.    0x08048652 <+73>:    mov    -0xc(%ebp),%eax
  23.    0x08048655 <+76>:    xor    %gs:0x14,%eax
  24.    0x0804865c <+83>:    je     0x8048663 <welcome+90>
  25.    0x0804865e <+85>:    call   0x8048440 <__stack_chk_fail@plt>
  26.    0x08048663 <+90>:    leave
  27.    0x08048664 <+91>:    ret
  28. End of assembler dump.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement