kmod-project / kmod

kmod - Linux kernel module handling
GNU Lesser General Public License v2.1
39 stars 33 forks source link

Setup static analysis in CI #87

Open evelikov opened 3 weeks ago

evelikov commented 3 weeks ago

While the project has been around for decades, it would be great to run some static analsys tools on both existing code and new changes.

Focus here is CI for incoming changes. If a specific tool does not support git diff range, or filtering of files, a general sweep might be needed prior to adding to the CI.

Some tools off the top of my head:

evelikov commented 6 days ago

CodeQL PR https://github.com/kmod-project/kmod/pull/132

evelikov commented 6 days ago

PVS prep https://github.com/kmod-project/kmod/pull/133 - we need to add link in README before they grant us free license. Fair deal IMHO.

evelikov commented 6 days ago

@lucasdemarchi just sent out *a request to add me as (co)maintainer on https://scan.coverity.com/projects/kmod in order to set things up. Alternatively feel free to give it a go as you have time.