immunant / IA2-Phase2

5 stars 0 forks source link

Add mmap region descriptions to permissive mode logs #405

Open ayrtonm opened 4 days ago

ayrtonm commented 4 days ago

Permissive mode currently prints the state of /proc/self/maps when the process is terminating. This technically includes everything but it's hard to tell which memory regions correspond to the stacks and TLS so we should add this information explicitly.

ayrtonm commented 4 days ago

We don't mmap TLS ourselves but we do pkey_mprotect it so we could queue it up for logging there.