This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Invalid program counters and unwinding
- From: Nathan Sidwell <nathan at acm dot org>
- To: Florian Weimer <fweimer at redhat dot com>, GCC <gcc at gcc dot gnu dot org>, GNU C Library <libc-alpha at sourceware dot org>, Binutils <binutils at sourceware dot org>, gnu-gabi at sourceware dot org
- Date: Tue, 26 Jun 2018 06:56:48 -0400
- Subject: Re: Invalid program counters and unwinding
- References: <ae764484-5bd4-5e40-ed50-81209eb54360@redhat.com>
On 06/26/2018 05:26 AM, Florian Weimer wrote:
So it looks to me that the caller of _Unwind_Find_FDE needs to ensure
that the PC is a valid element of the call stack. Is this a correct
assumption?
I thought this was an (implicit?) requirement. You're unwinding a stack
to deliver an exception up it. Are there use cases where that is not
the case?
nathan
--
Nathan Sidwell