From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24876 invoked by alias); 15 May 2014 14:28:08 -0000 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 Received: (qmail 24862 invoked by uid 89); 15 May 2014 14:28:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 May 2014 14:28:07 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4FES5kK005189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 May 2014 10:28:05 -0400 Received: from blade.nx (ovpn-116-48.ams2.redhat.com [10.36.116.48]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4FES4W7007552; Thu, 15 May 2014 10:28:05 -0400 Received: by blade.nx (Postfix, from userid 1000) id 315272623DD; Thu, 15 May 2014 15:28:04 +0100 (BST) Date: Thu, 15 May 2014 14:28:00 -0000 From: Gary Benson To: Pedro Alves Cc: Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [PATCH 0/2] Demangler crash handler Message-ID: <20140515142804.GA23716@blade.nx> References: <20140509100656.GA4760@blade.nx> <201405091120.s49BKO1f010622@glazunov.sibelius.xs4all.nl> <20140509153305.GA13345@blade.nx> <201405112023.s4BKNL3v024248@glazunov.sibelius.xs4all.nl> <20140513102134.GB17805@blade.nx> <537242D9.7080101@redhat.com> <20140515132408.GC13323@blade.nx> <5374CA2B.90509@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5374CA2B.90509@redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00229.txt.bz2 Pedro Alves wrote: > On 05/15/2014 02:24 PM, Gary Benson wrote: > > > Though a fuzzy tester that throws pseudo-random symbols at it > > > would be a nice project on its own.) > > > > I have a fuzzer for it. . > > Nice! > > I took a peek. I suggest wrapping it in a SIGSEGV handler so > the it prints the symbol that crashes. :-) That way one can > leave it running for a few hours, without needing to have core > dumps enabled. I could do that :) The way I imagined using it right now would be to run to a fault, then fix that fault. The rate it finds crashes you'd get 1000 an hour easily, but they might all be the same three bugs. I'm working on some other stuff now, but I might make it my task to fix demangler bugs here and there between projects. I pretty much have a handle on it now I think. Cheers, Gary