summaryrefslogtreecommitdiff
path: root/tests/android_unsafe_frame_pointer_chase_test.cpp
AgeCommit message (Collapse)Author
2020-06-03Handle the alternate signal stack correctly in ↵Peter Collingbourne
android_unsafe_frame_pointer_chase. If an alternate signal stack is set and the frame record is in bounds of that stack, we need to use the top of the alternate signal stack for bounds checking rather than the normal stack. Bug: 150215618 Change-Id: I78b760d61b27da44f8e0cfee3fe94a791011fe58 Merged-In: I78b760d61b27da44f8e0cfee3fe94a791011fe58
2020-01-31Add an android_unsafe_frame_pointer_chase function.Peter Collingbourne
This function will be used by Scudo and GWP-ASan to efficiently collect stack traces for frames built with frame pointers. Bug: 135634846 Bug: 135772972 Change-Id: Ic63efdbafe11dfbb1226b5b4b403d53c4dbf28f3