ccc-analyzer reports

Hi,

Might it be a good idea if the reports generated by
scan-build/ccc-analyzer would include the version(s) of the program
(clang --version ?) that was used to do the analysis ? So that for
example, if a certain version 'X' of the program detected a lot of
'null pointer dereferences'... and it was known to the devs that a lot
of improvements/changes were made in that area since version 'X' ...
that it might be more helpful to re-run the analyzer again with the
latest version instead of trying to analyze the reports made with the
older version ?

Just a thought.

Regards,

John Smith.

This information is already included if you use one of the prepackaged checker builds at http://clang-analyzer.llvm.org. It should appear at the top of the 'index.html' file. Is that not the case?

Ive done a scan-build with a recent (few weeks ago ? cant remember
exactly) svn build. At the top of the report, it lists: user, working
dir, command line, and date. But I dont see the version(s) of the
software that was used to generate the report and do the analysis ?

For an example, see :

http://lbalbalba.freezoka.net/ccc-analyzer/scan-build-bind-9.8.0-P1/

Ive done a scan-build with a recent (few weeks ago ? cant remember exactly) svn build.

clang --version
clang version 3.0 (trunk 131083)
Target: i386-pc-linux-gnu
Thread model: posix

It's not in the latest svn...
Anyone ???

Hi John,

I'm not certain what your question is. ccc-analyzer is in clang/tools/scan-build. Or are you referring to the information being pasted at the top of the index.html file?

Cheers,
Ted

Yes, I mean the information being pasted at the top of the index.html
file. I was wondering if it would be useful if that information
included the version used to do the analysis ?

Regards,

John Smith.