[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #9 from Nick Clifton --- (In reply to Tim Rühsen from comment #8) Hi Tim, > I did, no (new) errors. What is the trick to run the test suite with > valgrind (except from manually running each test) ? Well assuming that you have a

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-12 Thread tim.ruehsen at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #8 from Tim Rühsen --- Hi Nick, (In reply to Nick Clifton from comment #7) > > the attached patch fixes the demangler slowness (see commit message for a > > description). > > Did you run the libiberty testsuite to see if it intro

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-12 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #7 from Nick Clifton --- Hi Tim, (In reply to Tim Rühsen from comment #6) > the attached patch fixes the demangler slowness (see commit message for a > description). Did you run the libiberty testsuite to see if it introduces any

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-12 Thread tim.ruehsen at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #6 from Tim Rühsen --- Hi Nick, the attached patch fixes the demangler slowness (see commit message for a description). -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-12 Thread tim.ruehsen at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #5 from Tim Rühsen --- Created attachment 12072 --> https://sourceware.org/bugzilla/attachment.cgi?id=12072&action=edit Fix for 25180 (demangler slowness) -- You are receiving this mail because: You are on the CC list for the b

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-11 Thread tim.ruehsen at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #4 from Tim Rühsen --- (In reply to Nick Clifton from comment #3) > The cause of the problem is basically due to the recursive nature of name > mangling, and there is nothing that can be done about this. But there is a > built-in

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-11 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-11 Thread tim.ruehsen at gmx dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 --- Comment #2 from Tim Rühsen --- Hi Nick, no mystery. But a possible DoS vector and in the end just an example that demangling may take longer as expected (and possibly necessary). Smaller and 'real-world' input may have the same issue jus

[Bug binutils/25180] Slowness in cplus_demangle()

2019-11-11 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25180 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1