[RFC][PATCH] Demangler crash resistance

Tom Tromey tromey@redhat.com
Thu Apr 10 17:29:00 GMT 2014


>>>>> "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



More information about the Gdb-patches mailing list