diff options
author | Abseil Team <absl-team@google.com> | 2023-01-20 00:47:33 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-20 00:48:32 -0800 |
commit | c611e5ce1de222eb995f5aeabf3fa8cd57ae124b (patch) | |
tree | f29c1d1d036397ae4a56c03af1c051e2e3a5e9ef /absl/base/config.h | |
parent | 0d116682dd0e94dd97bbc483dd55437f626108e9 (diff) |
absl: add a stack unwinding test
END_PUBLIC
absl: relax frame size check in x86 stack unwinding
Currently the unwinder stops whenever it sees a frame >100000 bytes.
There may be such legitimate frames, the default stack size is O(megabytes).
Only do this check if we are not within the thread stack bounds.
The thread stack is assumed to be readable, so the worst thing that can happen
if the large stack frame is actually bogus is that we will add one/few wrong frames and stop.
PiperOrigin-RevId: 503374764
Change-Id: Icabb55d6468b12a42bf026c37c98dbe84977e659
Diffstat (limited to 'absl/base/config.h')
0 files changed, 0 insertions, 0 deletions