Untitled
#include <stdint.h> #include <stdio.h> #include<inttypes.h> int main() { uint64_t cr3_value; // Load CR3 into a variable asm volatile("movq %%cr3, %0" : "=r" (cr3_value)); printf("The large number is: %"PRIu64"\n",cr3_value); return 0; }
Leave a Comment