From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28971 invoked by alias); 8 May 2008 18:19:31 -0000 Received: (qmail 28956 invoked by uid 22791); 8 May 2008 18:19:30 -0000 X-Spam-Check-By: sourceware.org Received: from mylar.outflux.net (HELO mylar.outflux.net) (69.93.193.226) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 08 May 2008 18:19:12 +0000 Received: from www.outflux.net (serenity-end.outflux.net [10.2.0.2]) by mylar.outflux.net (8.13.8/8.13.8/Debian-3) with ESMTP id m48IJ55P011721 for ; Thu, 8 May 2008 11:19:11 -0700 Date: Thu, 08 May 2008 19:50:00 -0000 From: Kees Cook To: gdb-patches@sourceware.org Subject: Re: status of PIE support? Message-ID: <20080508181905.GL12850@outflux.net> References: <20080508054526.GG12850@outflux.net> <20080508173720.GA26555@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080508173720.GA26555@caradoc.them.org> X-MIMEDefang-Filter: outflux$Revision: 1.312 $ X-HELO: www.outflux.net Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00284.txt.bz2 On Thu, May 08, 2008 at 01:37:20PM -0400, Daniel Jacobowitz wrote: > On Wed, May 07, 2008 at 10:45:26PM -0700, Kees Cook wrote: > > Hello! I'm curious what the current status PIE support is? > > No status that I know of. No one has been working on it for FSF GDB. > > Jan may know more since he maintains the Red Hat packaging. I'd love to help get it into mainline, but my knowledge of gdb internals is rather poor currently. I figure I can help perhaps with coordination and certainly with testing. Jan, would getting PIE support into mainline gdb be something you would have time for? > - the submitter has to be able to justify any line of the patch that > does not make sense to the reviewer This is probably where I'd get hung up, shouting "it's magic!" :) > time to do it. A good way to handle bits you don't understand is > to remove them and see what breaks; often this isn't practical, > but when it is it's a sign of good tests :-) Yeah, I assume that I'll end up learning gdb internals eventually, and be a bit more helpful then, but that won't be in the near-term. That said, it's been 5 years since Elena Zannoni's original work, so I'm hoping some folks will step up and help review the existing patches with me -- they clearly have some merit. Thanks! -Kees -- Kees Cook @outflux.net