Play with physical addresses in Linux
New to topics? Read the documentation here!
Play with physical addresses in Linux by Ciro Santilli 35 Updated 2025-01-10 +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
: