News for hackers. Stuff that matters.
Re:Tracking Trust with Rust in the Kernel by vlovich123 on Friday September 19, 2025 @10:54AM (#45302338)
I’ve never seen static analysis c++ tooling that has precise errors, have you? It’s always a littered mess of useful and useless things and I’m not even so sure it would warn about holding on to an interior reference into a lock-protected data structure.

Static analysis in c++ is akin to clippy but without a --fix option and many more false positives. Also clippy is more about stylistic consistency within the ecosystem and completely optional, not about safety which isn’t optional.

Re:Tracking Trust with Rust in the Kernel by pjmlp on Friday September 19, 2025 @11:24AM (#45302666)
Depends on which tools, clang tidy can be customised, Apple just did a talk at C++ Now about their custom checks for Webkit "Safe C++".

Commercial tools like PVS and Coventry, or those used in high integrity computing, also allow for rule customisation.

However the first step is to use anything at all, a challenge since lint was born in 1979.