T3D and static code analyzers
by Luis Anton Rebollo · in Torque 3D Professional · 05/06/2014 (8:35 am) · 3 replies
I'm spending some time using various static code analyzers with T3D.
Although often produce false positives can be very useful for discovery errors that have gone unnoticed.
With MSVC 2012 Analizer, I get a error and no report :( With Clang scan-build. You can download html report here. Or view online. In github we can even use scan.coverity.com/ to analyze the pull request.
I will add more information when it becomes available.
Although often produce false positives can be very useful for discovery errors that have gone unnoticed.
I will add more information when it becomes available.
About the author
I'm working on a port of Torque3D to OpenGL and Linux/SteamOS
#2
05/06/2014 (1:29 pm)
I've used Rational Purify with much success. It slows down the application to a crawl however, and it does report a buffer overflow in BitStream which needs to be fixed anyway, even if it's delibirate.
#3
05/06/2014 (4:12 pm)
Setting up Coverity sounds like a kind of great idea. I've had a look at the report you generated. It's difficult to weed out the false positives, it seems - maybe I just need to get used to how the report describes the errors.
Associate James Urquhart