• [$] Finding locking bugs with Smatch

    From LWN.net@86:200/23 to All on Thu Jun 12 06:40:08 2025


    Smatch is a GPL-licensed
    static-analysis tool for C that has a lot of specialized checks for the kernel. Smatch
    has been used in the kernel for more than 20 years; Dan
    Carpenter, its primary author, decided last year that some details of its plugin system
    were due for a rewrite. He spoke at Linaro Connect 2025 about his work on Smatch, the changes to its implementation, and how those changes enabled him to easily
    add additional checks for locking bugs in the kernel.

    https://lwn.net/Articles/1023646/
    --- SBBSecho 3.27-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (86:200/23)