aboutsummaryrefslogtreecommitdiff
path: root/libc/bionic/android_unsafe_frame_pointer_chase.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clear PAC bits in android_unsafe_frame_pointer_chase().Peter Collingbourne2020-10-301-1/+2
| | | | | Bug: 172057932 Change-Id: Ie0eb4800a6699f2094070e97e5157d4e9c186097
* Allow native_bridge to intercept __get_thread()->stack_topEvgeny Eltsin2020-08-011-2/+8
| | | | | | Bug: 158584334 Test: bionic-unit-tests --gtest_filter=android_unsafe_frame_pointer_chase* Change-Id: Ib58372991027846eb35c7e393de321910fa92997
* Handle the alternate signal stack correctly in ↵Peter Collingbourne2020-02-271-0/+6
| | | | | | | | | | | 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
* Add an android_unsafe_frame_pointer_chase function.Peter Collingbourne2020-02-031-0/+75
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 Merged-In: Ic63efdbafe11dfbb1226b5b4b403d53c4dbf28f3