Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. Dump of assembler code for function main:
  2. 0x0804844b <+0>: push ebp
  3. 0x0804844c <+1>: mov ebp,esp
  4. 0x0804844e <+3>: add esp,0xffffff80
  5. 0x08048451 <+6>: cmp DWORD PTR [ebp+0x8],0x1
  6. 0x08048455 <+10>: jne 0x8048471 <main+38>
  7. 0x08048457 <+12>: mov eax,DWORD PTR [ebp+0xc]
  8. 0x0804845a <+15>: mov eax,DWORD PTR [eax]
  9. 0x0804845c <+17>: push eax
  10. 0x0804845d <+18>: push 0x8048520
  11. 0x08048462 <+23>: call 0x8048300 <printf@plt>
  12. 0x08048467 <+28>: add esp,0x8
  13. 0x0804846a <+31>: push 0x1
  14. 0x0804846c <+33>: call 0x8048320 <exit@plt>
  15. 0x08048471 <+38>: mov eax,DWORD PTR [ebp+0xc]
  16. 0x08048474 <+41>: add eax,0x4
  17. 0x08048477 <+44>: mov eax,DWORD PTR [eax]
  18. 0x08048479 <+46>: push eax
  19. 0x0804847a <+47>: lea eax,[ebp-0x80]
  20. 0x0804847d <+50>: push eax
  21. 0x0804847e <+51>: call 0x8048310 <strcpy@plt>
  22. 0x08048483 <+56>: add esp,0x8
  23. 0x08048486 <+59>: lea eax,[ebp-0x80]
  24. 0x08048489 <+62>: push eax
  25. 0x0804848a <+63>: push 0x8048534
  26. 0x0804848f <+68>: call 0x8048300 <printf@plt>
  27. 0x08048494 <+73>: add esp,0x8
  28. 0x08048497 <+76>: mov eax,0x0
  29. 0x0804849c <+81>: leave
  30. 0x0804849d <+82>: ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement