mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-24 00:04:58 +01:00
Double stack scanning length in stackwalker
R=jimb at http://breakpad.appspot.com/215001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@715 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
08730fc9a6
commit
9c30407f7f
2 changed files with 58 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ class Stackwalker {
|
|||
bool ScanForReturnAddress(InstructionType location_start,
|
||||
InstructionType *location_found,
|
||||
InstructionType *ip_found) {
|
||||
const int kRASearchWords = 15;
|
||||
const int kRASearchWords = 30;
|
||||
for (InstructionType location = location_start;
|
||||
location <= location_start + kRASearchWords * sizeof(InstructionType);
|
||||
location += sizeof(InstructionType)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue