| sysenter instruction | (gdb) disass Dump of assembler code for function __kernel_vsyscall: 0xb780b414 : push %ecx 0xb780b415 : push %edx 0xb780b416 : push %ebp 0xb780b417 : mov %esp,%ebp 0xb780b419 : sysenter 0xb780b41b : nop 0xb780b41c : nop 0xb780b41d : nop 0xb780b41e : nop 0xb780b41f : nop 0xb780b420 : nop 0xb780b421 : nop 0xb780b422 : …
Category Archives: computer software/architecture
push instruction.. push %rbx
| push instruction | (gdb) disass Dump of assembler code for function _IO_default_uflow: 0x00007f7c1e9964d0 : mov 0xd8(%rdi),%rax => 0x00007f7c1e9964d7 : push %rbx 0x00007f7c1e9964d8 : mov %rdi,%rbx 0x00007f7c1e9964db : callq *0x20(%rax) 0x00007f7c1e9964de : cmp $0xffffffffffffffff,%eax 0x00007f7c1e9964e1 : je 0x7f7c1e9964f2 0x00007f7c1e9964e3 : mov 0x8(%rbx),%rdx 0x00007f7c1e9964e7 : movzbl (%rdx),%eax 0x00007f7c1e9964ea : add $0x1,%rdx 0x00007f7c1e9964ee : mov %rdx,0x8(%rbx) 0x00007f7c1e9964f2 …
eip in 32-bit mode,, and rip in 64-bit mode
software | Windows | The instruction pointer is called ip in 16-bit mode, eip in 32-bit mode,, and rip in 64-bit mode. The instruction pointer register points to the memory address which the processor will next attempt to execute; it cannot be directly accessed in 16-bit or 32-bit mode, but a sequence like the following …
Continue reading “eip in 32-bit mode,, and rip in 64-bit mode”