Advertisement
bueddl

Untitled

Jul 29th, 2013
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (gdb) disass /r 0x400500,+40
  2. Dump of assembler code from 0x400500 to 0x400528:
  3.    0x0000000000400500 <fopen@plt+0>:    ff 25 da 05 20 00   jmp    QWORD PTR [rip+0x2005da]        # 0x600ae0 <fopen@got.plt>
  4.    0x0000000000400506 <fopen@plt+6>:    68 01 00 00 00  push   0x1
  5.    0x000000000040050b <fopen@plt+11>:   e9 d0 ff ff ff  jmp    0x4004e0
  6.    0x0000000000400510 <__libc_start_main@plt+0>:    ff 25 d2 05 20 00   jmp    QWORD PTR [rip+0x2005d2]        # 0x600ae8 <__libc_start_main@got.plt>
  7.    0x0000000000400516 <__libc_start_main@plt+6>:    68 02 00 00 00  push   0x2
  8.    0x000000000040051b <__libc_start_main@plt+11>:   e9 c0 ff ff ff  jmp    0x4004e0
  9.    0x0000000000400520 <_start+0>:   31 ed   xor    ebp,ebp
  10.    0x0000000000400522 <_start+2>:   49 89 d1    mov    r9,rdx
  11.    0x0000000000400525 <_start+5>:   5e  pop    rsi
  12.    0x0000000000400526 <_start+6>:   48 89 e2    mov    rdx,rsp
  13. End of assembler dump.
  14.  
  15. (gdb) x 0x600ae0
  16. 0x600ae0 <fopen@got.plt>:   0x00400506
  17.  
  18. (gdb) disass /r 0x4004e0,+10
  19. Dump of assembler code from 0x4004e0 to 0x4004ea:
  20.    0x00000000004004e0:  ff 35 e2 05 20 00   push   QWORD PTR [rip+0x2005e2]        # 0x600ac8 <_GLOBAL_OFFSET_TABLE_+8>
  21.    0x00000000004004e6:  ff 25 e4 05 20 00   jmp    QWORD PTR [rip+0x2005e4]        # 0x600ad0 <_GLOBAL_OFFSET_TABLE_+16>
  22. End of assembler dump.
  23.  
  24. (gdb) x 0x600ac8
  25. 0x600ac8 <_GLOBAL_OFFSET_TABLE_+8>: 0xf7ffe1c8
  26.  
  27. (gdb) x 0x600ad0
  28. 0x600ad0 <_GLOBAL_OFFSET_TABLE_+16>:    0xf7df0a20
  29.  
  30. (gdb) disass 0xf7df0a20+0x4004e6,+20
  31. Dump of assembler code from 0xf81f0f06 to 0xf81f0f1a:
  32.    0x00000000f81f0f06:  Cannot access memory at address 0xf81f0f06
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement