This fixes 2 bugs in the smaps parsing logic and makes 1 simplification.
Simpler method of reading smaps to a string, the size-hinting should be done by stdlib
A smaps region (VMA) can have varying hex address lengths, this was not properly accounted for
The logic to split an smaps file into individual memory regions (VMAs) needs to only match address-range looking things that appear at the beginning of the line.
What does this PR do?
This fixes 2 bugs in the smaps parsing logic and makes 1 simplification.
Motivation
Inaccurate
/proc/[pid]/smaps
data.Related issues
Additional Notes