mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 00:57:39 +01:00
[x86-64] (unw_is_signal_frame): If access mem fails, it's not a signal frame.
This commit is contained in:
parent
58888a5060
commit
7c0907634d
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ unw_is_signal_frame (unw_cursor_t *cursor)
|
|||
ip = c->dwarf.ip;
|
||||
if ((ret = (*a->access_mem) (as, ip, &w0, 0, arg)) < 0
|
||||
|| (ret = (*a->access_mem) (as, ip + 8, &w1, 0, arg)) < 0)
|
||||
return ret;
|
||||
return 0;
|
||||
w1 &= 0xffffffff;
|
||||
return (w0 == 0x0f0000000fc0c748 && w1 == 0x66666605);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue