[cfe-dev] ccc-analyzer progression/regression

funceval funceval at gmail.com
Sun Oct 2 11:46:31 PDT 2011


Did you modify the gdb makefiles in any way before running "scan-build"? I
have implemented a checker and I want to test its effectiveness against open
source code. For that I am trying to run scan-build on gdb. Nothing happens
as in the analysis never gets run during the gdb make process. I dug through
the scan-build files to see whats going on and found that unless the
makefile uses $(CC) and $(CXX) in it, the analyzer is not run. So I wanted
to find out if you modified anything for this experiment? If yes, can you
please give me the details?


On Sat, Oct 1, 2011 at 10:11 AM, John Smith <lbalbalba at gmail.com> wrote:

> Well, I ran scan-build on a few open source codebases again. This time
> using trunk r140859 (compared to r139148).
>
> The most obvious diffs: lots less 'Dead store/Dead assignment' reports
> on some codebases (bind, dhcp). So either someone has done very good
> [eliminating false positives] or messed up [increased false
> negatives]...
> ;)
>
> It's pretty much the same results between revs for the rest of the
> codebases though...
>
>
> http://lbalbalba.freezoka.net/ccc-analyzer/clang%20v3.0%20trunk%20rev.%20140859/
>
>
> - John Smith
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20111002/967c7e5e/attachment.html>


More information about the cfe-dev mailing list