Smatch v1.73 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Smatch is a C static checker with a lot of kernel specific checks.  You
can download it from:  http://repo.or.cz/w/smatch.git.  Or if you prefer
a github mirror, then you can download it from
https://github.com/error27/smatch

It's a simple process to run Smatch on a file in the kernel:

    yum install gcc make sqlite3 sqlite-devel sqlite perl-DBD-SQLite openssl-devel perl-Try-Tiny
    make
    cd ~/path/to/kernel_dir
    ~/smatch_dir/smatch_scripts/kchecker drivers/whatever/file.c

Overall, this release is mostly small fixes all over.  The main
improvement is better tracking changes to container_of().  For example,
there are a lot of kernel release functions which free the container_of().
The next step is to figure out the correct free function to call for
put_device().

Special thanks to Elena Reshetova who wrote a new module to track
host/VMM data for confidential computing.  And also to thanks to
Christophe JAILLET for a bunch of fixes and updates.

Please test and let me know if you find any issues!

regards,
dan carpenter



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux