Replies: 2 comments
-
Hi @bulwahn, Great news! Let us know if you have any questions about the converters or CodeChecker in general. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just a quick update after we got the first two pull requests in shape, we will continue with parsing smatch output and with parsing Sphinx-build output (that is used for kernel documentation). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working in the LF ELISA Project, https://elisa.tech, and I am interested in using CodeChecker to track analyzer findings of Linux kernel-related tools on the kernel code repository. I am working together with others in the LF ELISA Project and working with students on the implementation of CodeChecker extensions.
Beyond the 'standard' static analysis tools, e.g., clang-tidy, clang-analyzer, the kernel community has further developed a set of static analysis tools, i.e., sparse, coccinelle, smatch. These tools mainly originated from the needs of the kernel community, but are applicable to other C code bases with a bit of additional work by other projects. More information on the tools is available here: https://www.kernel.org/doc/html/latest/dev-tools/index.html.
The overall goal here is to set up a productive environment for the kernel community. As the analysis tools are already integrated in a well configured and maintained way in the kernel build scripts, we do not need to invoke them with the CodeChecker analyzer commands. We can simply have setup scripts, that invoke the kernel build scripts, record the command line output of the tools and then pass this output to suitable report converters for those static analysis tools.
We would like to implement and contribute these report converters for sparse, coccinelle and smatch. Pull requests with the implementations for the report converters will follow.
The currently most promising work in progress is here:
for coccinelle by Jay Rayput (mentorship from LF CommunityBridge, funded by LF ELISA Project):
for sparse by Argert Boja (working student, funded by BMW AG):
for smatch by Jay Rayput and Sudip Mukherjee (ups, duplicated work, great minds think alike..):
for kerneldoc warnings, assigned to Jay Rayput.
for Python Sphinx Documentation warnings, assigned to Argert Boja (still investigating, not yet properly started)
Beta Was this translation helpful? Give feedback.
All reactions