commit | 71bfa3774527fa03ef39bea49ff1653a19e06cae | [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 | 424d3ff25a077f0743e15d0d3774e9e582759eac [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)