rust-minidump / minidump-writer

Rust rewrite of breakpad's minidump_writer
MIT License
68 stars 17 forks source link

Respect `MADV_DONTDUMP` #132

Open Jake-Shadle opened 3 months ago

Jake-Shadle commented 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.

Resolves: #130