This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Avoid backtrace from __stack_chk_fail [BZ #12189]
- From: Yuri Gribov <tetra2005 at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 11 Jul 2017 22:29:12 +0100
- Subject: Re: [PATCH] Avoid backtrace from __stack_chk_fail [BZ #12189]
- Authentication-results: sourceware.org; auth=none
- References: <20170710200054.GA11938@gmail.com>
On Mon, Jul 10, 2017 at 9:00 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> __fortify_fail_abort is
> added to avoid backtrace from __stack_chk_fail.
Note that this is important for other tools as well e.g. Asan. I've
posted patch a while ago to add fail-safe backtracking APIs to libgcc
in https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01869.html (the
latest ping is https://gcc.gnu.org/ml/gcc-patches/2017-07/msg00447.html)
but it didn't get too much attention to date. Would be great if
someone could take a look.
-Y