1
0
Fork 0
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:
Arun Sharma 2006-07-26 21:58:27 -06:00 committed by David Mosberger-Tang
parent 58888a5060
commit 7c0907634d

View file

@ -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);
}