Windows Kernel Development from an Assembly Language Perspective: The Evolution from C to C++

Windows Kernel Development from an Assembly Language Perspective: The Evolution from C to C++

Traditional C Language Foundation of Windows Kernel The Windows kernel has traditionally been developed primarily in C, which is reflected in disassembly as follows: ; Typical C-style kernel function disassembly example KiSystemCall64: swapgs ; Switch kernel GS register mov gs:[10h], rsp ; Save user-mode RSP mov rsp, gs:[1A8h] ; Load kernel stack pointer push 2Bh … Read more