[Halld-offline] scan-build code analyzer

David Lawrence davidl at jlab.org
Mon Sep 10 10:03:43 EDT 2012


Hi Offliners,

   I ran the sim-recon build through the scan-build code analyzer and 
got a report that I placed at the link below. It found 230 "bugs" many 
of which are either false positives or simple "value not used" types of 
errors. A few though seem legitimate. For some of these, it takes 
several steps to map out how you get to the error condition. It marks 
theses with grey and yellow numbered blocks in the individual bug 
reports so you can step through yourself to see how it happens.

   This was a tool suggested to us by the Software Review Committee 
report and I'm trying to gauge its usefulness. If you have a chance to 
look it over in order to get an opinion, that would be great. Note that 
this required using the clang compiler which I built and installed on 
the new CentOS6 ifarm12s01 machine. In principle, we could set this up 
as a cron job, but as I said, we should decide on its usefulness first.


http://www.jlab.org/Hall-D/software/CodeAnalyzer/scan-build_scans/2012-09-10-1/


Regards,
-David


More information about the Halld-offline mailing list