https://bugs.kde.org/show_bug.cgi?id=418538

--- Comment #3 from Harald Sitter <sit...@kde.org> ---
Git commit dd180bb4d057b7147c07beedd78d64b671498e40 by Harald Sitter.
Committed on 06/04/2020 at 13:43.
Pushed by sitter into branch 'Plasma/5.18'.

further constrict line parsing of .so files

Summary:
As seen in https://bugs.kde.org/show_bug.cgi?id=417435 the previous fix
for .so detection actually falls flat on the face for most things
other than glib2. The original test here was flawed as libglib-2.0.so.0
has the complete suffix '0.so.0' which matched the original parsing
condition. most libraries however are libfoo.so.0 and for that the suffix
would be 'so.0' which did not match the original condition.

extend the condition to properly cover files without so-version, files with
awkward suffix (such as glib) and files with normal names and normal
versioning.
also extend test case accordingly

Test Plan: test passes. all lines from 417435 score less than `Good`

Reviewers: cfeck, ngraham

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28026

M  +5    -1    src/parser/backtraceparsergdb.cpp
M  +37   -7    src/tests/gdbbacktracelinetest.cpp

https://commits.kde.org/drkonqi/dd180bb4d057b7147c07beedd78d64b671498e40

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to