procmapsparser

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

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

Generic version extracted from meow