Stepping over longjmp presumably broken for glibc

Eli Zaretskii eliz@gnu.org
Fri Dec 23 15:16:00 GMT 2005


> Date: Fri, 23 Dec 2005 08:20:40 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb@sourceware.org
> 
> > How does glibc restore the correct address when you call longjmp?  Do
> > they save the canary in some place, or something?
> 
> Yes.  However, where it is safed is not a public ABI, and varies wildly
> by architecture; I wouldn't care to try to reverse it in GDB, personally.

So how would you suggest to solve this?



More information about the Gdb mailing list