procmapsparser

crates.io

lightweight library for fast parsing of Linux /proc/[pid]/maps files

rust let contents = fs::read_to_string("/proc/pid/maps").unwrap(); let maps = MapsIter::new(&contents).collect::<Vec<_>>(); // ...