Open Jake-Shadle opened 3 months ago
This changes ptrace to look at /proc/{pid}/smaps instead of /proc/{pid}/maps so that we can detect madvise flags, notably dd MADV_DONTDUMP, and ignore writing those mappings to the minidump.
/proc/{pid}/smaps
/proc/{pid}/maps
dd
MADV_DONTDUMP
Resolves: #130
This changes ptrace to look at
/proc/{pid}/smaps
instead of/proc/{pid}/maps
so that we can detect madvise flags, notablydd
MADV_DONTDUMP
, and ignore writing those mappings to the minidump.Resolves: #130