This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: Longjmp vs LD_POINTER_GUARD revisited
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb-patches at sourceware dot org, Pedro Alves <pedro at codesourcery dot com>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Sun, 15 Nov 2009 18:38:19 +0000 (UTC)
- Subject: Re: RFC: Longjmp vs LD_POINTER_GUARD revisited
- References: <20091115173429.GB23483@caradoc.them.org>
On Sun, 15 Nov 2009, Daniel Jacobowitz wrote:
> should continue stepping. For x86_64 glibc, the magic name is
> "__longjmp". Otherwise, we do a frame check as before.
Nowadays you may need to handle ____longjmp_chk for glibc 2.11 as well.
Because distribution compilers may or may not enable _FORTIFY_SOURCE by
default, I suppose in principle the tests should be run explicitly with
different settings.
--
Joseph S. Myers
joseph@codesourcery.com