|
From: | Arun Sharma |
Subject: | Re: [Libunwind-devel] Crash when unwinding using ARM exidx info |
Date: | Thu, 9 May 2013 07:52:11 -0700 |
I think the right fix is to change the condition to:
else if (pi->unwind_info && pi->format == UNW_INFO_FORMAT_TABLE)
This works, because the DWARF code sets pi->format to that value when allocating an unwind_info, but the exidx code sets it instead to UNW_INFO_FORMAT_ARM_EXIDX. But I'm not very familiar with this code, so I'm not positive this is the correct fix. Could somebody let me know whether I'm on the right track? If so, I'll happily put a patch together.
[Prev in Thread] | Current Thread | [Next in Thread] |