Skip to content

Respect MADV_DONTDUMP#132

Open
Jake-Shadle wants to merge 1 commit intomainfrom
respect-madvise
Open

Respect MADV_DONTDUMP#132
Jake-Shadle wants to merge 1 commit intomainfrom
respect-madvise

Conversation

@Jake-Shadle
Copy link
Collaborator

@Jake-Shadle Jake-Shadle commented Aug 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't dump areas flagged with MADV_DONTDUMP

1 participant