This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][PATCH] Demangler crash resistance
- From: Tom Tromey <tromey at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 10 Apr 2014 11:29:12 -0600
- Subject: Re: [RFC][PATCH] Demangler crash resistance
- Authentication-results: sourceware.org; auth=none
- References: <20140410115348 dot GA1381 at blade dot nx>
>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
Gary> I started to think maybe we should make GDB more resistant to
Gary> demangler crashes, to keep our users in business. I attached a basic
Gary> patch I've worked on as a proof of concept.
FWIW I did this once too:
https://sourceware.org/ml/gdb-patches/2013-01/msg00290.html
See the whole thread. You can also see the work on my branch
"demangler-crash-catcher".
I'm on the fence about this. On the one hand, it's dangerous. On the
other hand, I imagine it would make gdb more robust in practice.
Tom