[Linux-kernel-mentees] Community Bridge Klever Project
lukas.bulwahn at gmail.com
Sat Aug 22 17:27:39 UTC 2020
On Wed, 19 Aug 2020, Jay Rajput wrote:
> The next task is to run coccinelle on the kernel sources. You will find documentation on how to set up
> and run coccinelle in the kernel documentation.
> I suggest you run coccinelle on the latest kernel source, v5.9-rc1.
> I ran the coccinelle, I am attaching the output in a google document. Please have a look and let me know the
> further steps:
> Document link: https://docs.google.com/document/d/1ahWouti1FTenrIL92Ra6JXYlWW-9j4KK8qVdh4VvEr0/edit?usp=sharing
> Thanks and Regards,
> Jay Rajput
Okay, all good. The task in this mentorship is to make CodeChecker import
the results from coccinelle into the UI.
If you can write a first simple report-converter for coccinelle and your
prototype shows that you understand what needs to be done, we can devise a
plan to make a full-fledged proper implementation with documentation,
tests etc. If the plan is solid, I am happy to mentor you through these
If your implementation works, the rough workflow should be:
make coccicheck > coccicheck_output
report-converter -o coccicheck_report -t coccinelle coccicheck_output
CodeChecker server &
CodeChecker store ./coccicheck_report -n linux
Then, we should see the coccinelle findings nicely presented in the UI.
Of course, it might be possible to modify coccinelle, provide parameters
to the build target to simplify the parser to be implemented in
If that is not clear, we go back one step in the introduction process of
More information about the Linux-kernel-mentees