註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

tetsuo
@tetsuoai
C and Assembly • Grok • @a_g_e_n_c //: 👾
加入 November 2022
726 正在關注    241.4K 粉絲
What the x86-64 syscall instruction does in the instant it runs. The syscall instruction saves the return address in rcx and the flags in r11, loads the kernel's entry point from LSTAR and a ring 0 code segment from STAR, and masks interrupts. The syscall instruction pushes nothing and switches no stack. The kernel's first instructions run swapgs and load a stack of their own. Single-stepped in gdb, then again inside the kernel booted under QEMU.
顯示更多
0
4
251
38
轉發到社區