commit | cc0740bfa7c0646bdef00ead54922cbb32e8f242 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Oct 23 17:04:21 2014 -0700 |
committer | The Android Automerger <android-build@google.com> | Mon Oct 27 20:29:30 2014 -0700 |
tree | 588bd5750d995dbf843c8e775c0eec9bb5c256e6 | |
parent | f3e388168a15fc092feab11b8430876730aca644 [diff] |
Fix NoExecutePermissionTest Don't look for magic keywords such as [heap] or [stack], as they aren't guaranteed to be present in /proc/self/maps. Instead, determine the address of 1) a stack pointer 2) a heap pointer 3) an executable pointer and check to see if they have the expected page permissions. Bug: 16873288 Change-Id: I16f6066d1b5d26bc491e413de1d10e98aec9c81c