commit | 84a4ab827685b10088eb01807b1e9296bec527b3 | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Fri May 13 14:01:41 2016 -0700 |
committer | Evgenii Stepanov <eugenis@google.com> | Mon May 16 11:14:39 2016 -0700 |
tree | a7f1b57a95282505999045a7c052709c74e1b62f | |
parent | 30ad1c2e8b43227c28a6870c8c9eb765b80b0b33 [diff] |
SafeStack-friendly stack protection in ART. This code takes an address of a stack variable to find the current stack top. With SafeStack, such variables can be allocated on a separate, "unsafe" stack, generating a completely bogus address. Use __builtin_frame_address(0) instead. Change-Id: I84fe3161bdd01cebbb4e9bebf2aca86783cc6f15