From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24466 invoked by alias); 23 Dec 2005 15:16:58 -0000 Received: (qmail 24458 invoked by uid 22791); 23 Dec 2005 15:16:57 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Dec 2005 15:16:56 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HIU20748; Fri, 23 Dec 2005 17:16:52 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-80-230-29-243.inter.net.il [80.230.29.243]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CGW04901 (AUTH halo1); Fri, 23 Dec 2005 17:16:51 +0200 (IST) Date: Fri, 23 Dec 2005 15:16:00 -0000 Message-Id: From: Eli Zaretskii To: gdb@sourceware.org In-reply-to: <20051223132039.GA24942@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 23 Dec 2005 08:20:40 -0500) Subject: Re: Stepping over longjmp presumably broken for glibc Reply-to: Eli Zaretskii References: <20051222211734.GA13178@nevyn.them.org> <20051223132039.GA24942@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00184.txt.bz2 > Date: Fri, 23 Dec 2005 08:20:40 -0500 > From: Daniel Jacobowitz > 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?