4 ms·
Yes, this can be caught by a static analyzer and it is sad that Linux doesn't use it. I wonder, is it because the code quality is low and there would be too man
by codedokode 5y ago
Yes, this can be caught by a static analyzer and it is sad that Linux doesn't use it. I wonder, is it because the code quality is low and there would be too many warnings?
- SolarNet 5y agoThey do use them, but only in a narrow fashion. A lot of people have tried to make default kernel wide static analyzers but they are mostly not useful. And it's because the kernel does a lot of non-standard things, mostly because it has to. It is not a normal program.