Static analyzers
Static analyzers
Posted Oct 2, 2026 14:49 UTC (Fri) by kleptog (subscriber, #1183)In reply to: Static analyzers by mvollrath
Parent article: Coping with the onslaught of kernel security bugs
That only works if you can define a class of bugs that that has something you can test for: locking issues, data races, use-after-free, etc... It doesn't work for the one-off kind of bugs where the code is doing something different to what the specification says. The code is not buggy in an objective sense, only in the sense that it's violating the (often not clearly specified) specification.
New languages can eliminate classes of bugs but the one-offs are much harder. What makes LLMs interesting is that they have learned patterns about what correct code looks like and can recognise when a piece of code almost fits a pattern. And have an idea what kind of pattern violations are likely bugs. One could probably make a specific tool for that kind of thing, I just wonder if it would be any easier to make than training an LLM.
