commit | 0965c0247bff0ed97dc1c67d129d19fe4707c623 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Apr 26 16:51:32 2016 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Apr 29 15:14:06 2016 -0700 |
tree | 0174912bc771a3f7f7d2b38fadb1102193d470d8 | |
parent | 17f3b1bad76925c327a6572f6058b32651499d3c [diff] |
Handle segfaults while walking native heap Vendor blobs on ryu mprotect heap pages, causing segfaults when dumping unreachable memory. Handle segfaults within HeapWalker by mapping a zero page over any unreadable pages. HeapWalker runs in the forked process, so the mapping will not affect the original process. Bug: 28269332 Change-Id: I16245af722123f2ad467cbc6f245a70666c55544 (cherry picked from commit ba5d9ff6d9674a0f1e985b49f53863045aff558d)