diff options
author | Joshua Peraza <jperaza@chromium.org> | 2020-08-14 10:25:39 -0700 |
---|---|---|
committer | Joshua Peraza <jperaza@chromium.org> | 2020-08-14 17:26:39 +0000 |
commit | 087795c851d269a49baf6cd0fb886c2990729f44 (patch) | |
tree | b973f59e426ee4ebd14835a1eb493db106e4ec60 /LICENSE | |
parent | Escape more characters in Mac OS sym-upload-v2 debug_file strings. (diff) | |
download | breakpad-087795c851d269a49baf6cd0fb886c2990729f44.tar.xz |
processor: subtract 1 from return pointers while scanning
Each stackwalker subtracts the size of an instruction
from a frame's instruction pointer to determine which
instruction it was executing. This should also be done
for pointers examined while scanning for likely return
addresses to ensure that those pointers don't point
past the end of functions.
Bug: b/118634446
Change-Id: I043e3f1e51a2c0a3d99ed14bf18ea64dc98add44
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2356649
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions