So, I am switching back to C coding soon. I have previous experience of Gimpel Lint and Splint, but would like to check out a few others.
Does anyone know of some C code which is specifically designed to test the capabilities of C static code analyzers?
That is to say, some code which deliberately accesses freed memory, reads beyond the end of arrays, unreachable code, etc, etc.
I would like to use it to evaluate C static code analyzers, to help me chose one.
Gratis, please, preferably Windows, but I will also accept Linux.
That is my on topic question. I don't suppose I would complain if there were some off-topic comments comparing such analyzers, pointing to websites, comparisons, recommendations, ease of setup/use, etc ( wink ;-)