Untitled

 avatar
unknown
plain_text
10 months ago
262 B
5
Indexable
#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;
}
Editor is loading...
Leave a Comment