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