saadislamm / virtual_to_physical

A simple program to convert virtual addresses to physical addresses using the pagemap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual Addresses to Physical Addresses

A simple program which converts virtual addresses to physical addresses using the pagemap. You will need "sudo" to read the pagemap file.

STEPS

$ make
$ sudo ./virtual_to_physical

Output

Virtual address of a: 0x7ffd20829f30 
Virtual address of b: 0x7ffd20829f34 

Physical address of a: 1f01f9f30 
Physical address of b: 1f01f9f34

About

A simple program to convert virtual addresses to physical addresses using the pagemap


Languages

Language:C 93.5%Language:Makefile 6.5%