Commit a2a23157 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

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
parent c189d58d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment