mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-02 12:44:38 +01:00
Sanity check frame pointer while stackwalking
BUG= Change-Id: Ib9b0fd5ba7f829f8be8cf856ab371c6540279ee5 Reviewed-on: https://chromium-review.googlesource.com/458526 Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
parent
124035f4fb
commit
6cfdde4b91
2 changed files with 8 additions and 1 deletions
|
|
@ -690,7 +690,8 @@ TEST_F(GetCallerFrame, CallerPushedRBP) {
|
|||
// frame 1
|
||||
.Mark(&frame1_sp)
|
||||
.Append(32, 0) // body of frame1
|
||||
.Mark(&frame1_rbp); // end of stack
|
||||
.Mark(&frame1_rbp) // end of stack
|
||||
.D64(0);
|
||||
RegionFromSection();
|
||||
|
||||
raw_context.rip = 0x00007400c0000200ULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue