From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11279 invoked by alias); 7 Dec 2009 21:30:03 -0000 Received: (qmail 11255 invoked by uid 22791); 7 Dec 2009 21:30:02 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f199.google.com (HELO mail-px0-f199.google.com) (209.85.216.199) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Dec 2009 21:29:47 +0000 Received: by pxi37 with SMTP id 37so1478890pxi.20 for ; Mon, 07 Dec 2009 13:29:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.115.66.10 with SMTP id t10mr13036588wak.20.1260221384302; Mon, 07 Dec 2009 13:29:44 -0800 (PST) In-Reply-To: <20091204171129.GA13936@host0.dyn.jankratochvil.net> References: <26eb53620911301516x68ccc0edkf64ba2951c8ce3a3@mail.gmail.com> <26eb53620911301518y13e64bc0g95c6fe3c7b18b0c@mail.gmail.com> <4B18CD92.8000302@codesourcery.com> <26eb53620912040820y3340ad2fw78bf770754b26c4c@mail.gmail.com> <20091204171129.GA13936@host0.dyn.jankratochvil.net> From: Aravinda Date: Mon, 07 Dec 2009 21:30:00 -0000 Message-ID: <26eb53620912071329v693b3734u7c725cb4cec5d3eb@mail.gmail.com> Subject: Re: GDB library to insert and delete watchpoints To: Jan Kratochvil , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00043.txt.bz2 Thanks Jan, I am aware of the mudflap gcc option. Since software buffer overrun protection is slow, the work im doing is kind of to experiment and see if there is any substantial runtime improvement by using debug resgisters to monitor buffer overflows. Thanks, Aravinda On Fri, Dec 4, 2009 at 12:11 PM, Jan Kratochvil wrote: > > On Fri, 04 Dec 2009 17:20:57 +0100, Aravinda wrote: > > that I want to be safe from buffer overruns all the time, > > FYI there is `gcc -fmudflap -lmudflap'. > > > Regards, > Jan