This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH] Demangler crash resistance


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]