Re: Stepping over longjmp presumably broken for glibc

Eli Zaretskii
2005-12-23T15:16:58Z

> 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?