commit | a2a23157acd87e8618b7e7158e3644750a779905 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Oct 23 17:04:21 2014 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Oct 23 17:04:21 2014 -0700 |
tree | 27f02da775b3bd432a6297b1e52a590b3d113ab8 | |
parent | c189d58d586eb7ff467f9ed1276462828ad21b8e [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