[rfc] Handle broken CFI for signal trampolines in libc on amd64-linux

Daniel Jacobowitz drow@false.org
Fri Nov 21 18:47:00 GMT 2008


On Fri, Nov 21, 2008 at 02:33:29AM +0100, Ulrich Weigand wrote:
> Anyway, while it is certainly good that this is fixed, I'm still
> wondering why we should rely on that when we have a hard-coded
> sigtramp detector that should be working just fine under any 
> circumstances.

I think that one reason was the extra work of the signal handler
sniffer.  The amd64 one doesn't do much for named functions, though,
and functions with CFI are likely to be named.  I suggest asking
Mark Kettenis's opinion.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list