Play with physical addresses in Linux
ID: x86-paging/play-with-physical-addresses-in-linux
Play with physical addresses in Linux by
Ciro Santilli 35 Updated 2025-03-25 +Created 1970-01-01
Convert virtual addresses to physical from user space with
/proc/<pid>/pagemap
and from kernel space with virt_to_phys
:Dump all page tables from userspace with
/proc/<pid>/maps
and /proc/<pid>/pagemap
:Read and write physical addresses from userspace with
/dev/mem
: New to topics? Read the docs here!