https://github.com/kiwids0220/WindowsKernelProgramming.git
Pushing the Limits of Windows: Paged and Nonpaged Pool
Normally a processor’s IRQL is zero, and more specifically, it’s always zero when user mode is executing. In kernel mode, it’s still zero most of the time - but not all the time.
Kernel mode does not have access to user runtime libraries.
try catch except
will not compile. Because C++ error handling requires C++ runtime.std::vector<>, std::wstring
will not work.Checked (DEBUG) and Free (Release) DEBUG build will define the symbol DBG and set its value to 1. KdPrint
becomes DbgPrint
.
Functions that are implemented within the kernel module itself NtOskrnl.exe