Ericsson / CodeCheckerEclipsePlugin

This is an Eclipse plugin that shows C/C++ static analysis results found by Clang Static Analyzer and Clang Tidy
Eclipse Public License 1.0
32 stars 13 forks source link

Fixed hierarchical checker display #182

Closed vodorok closed 5 years ago

vodorok commented 5 years ago

The old algorithm failed to add bugpaths in the following case:

Checker display set to hierarchical. unix

unix.MallocSizeof starts with unix.Malloc and was tried to be added as a child of unix.Malloc. This resulted the aforementioned exception.

The modified algorithm adds the bugpaths correctly and should work with deeper checker trees also.