v5.10
The v5.10
version brings Cross--Translation-Unit analysis support to CodeChecker, along with minor bug fixes and usability improvements.
Cross Translation Unit analysis support
CTU is an experimental feature not yet introduced to release versions of Clang which will enable more accurate static analysis via the ability of finding code across the entire project. You can retrieve a version of Clang that is CTU-capable from Ericsson's clang fork.
To support the easy usage of CTU analysis, CodeChecker has been extended to invoke the analyzer in a CTU-compatible way.
CodeChecker analyze
now take the argument --ctu
which enables the analysis. These arguments are only available if the Clang on the system has CTU analysis capabilities.
Usability improvements
- Instead of severity strings, show a colourful icon indicating the severity of the bug.
- If an analysis fails, the entire source code is compressed with the analyzer output and the build commands into a failure
zip
archive.
Bugfixes
- Fixed
CodeChecker server --stop-all
not being usable. - Fixed
CodeChecker server
ignoring the--sqlite
argument and always using the workspace's~/.codechecker/codechecker.sqlite
as database. - Fixed analyzer crashes if the source file's name contained spaces.
- Fixed analyzer automatic detection ignoring the order set in the
PATH
environment variable.
Miscellaneous changes
- Various parts of the documentation has been improved.
- Various minor bug fixes to the command-line output has been applied.