After seeing John Carmack talking about PC-lint (a commercial static
code analyzer) on Twitter, it got me thinking about what possibilities
we have in the open source world. I decided to give Clang Static
Analyzer a try against ioquake3. I've posted the results (at least for
the time being) here:
http://losinggeneration.homelinux.org/wp-upload/scan-build-2011-06-24-1/index.html

It looks like there may be some false positives such as:
http://losinggeneration.homelinux.org/wp-upload/scan-build-2011-06-24-1/report-PZ7pf6.html#EndPath
Which looks like it should be a non-issue since Com_Error ends
execution (assuming I'm reading the code correctly.) If that is indeed
the case, it looks like many of the "errors" are because the analyzer
couldn't figure that out.

Anyways, I thought others might find it interesting to look through as
well. IMO, the "Dead initialization" are kind of interesting.
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to