[PATCH] [analyzer] move NewDeleteLeaks checker from alpha.cplusplus to cplusplus group.

Anton Yartsev anton.yartsev at gmail.com
Tue Oct 14 14:06:42 PDT 2014


Hi all,

Currently managed to launch the analyzer only on the Ogre 
(http://www.ogre3d.org/download/source) codebase using different hacks 
and tricks. The analyzer found a single leak - a known type of 
false-positives related to the bit mangling. Attached is the report from 
the analyzer. I think it's a good result as Ogre extensively allocates 
memory in different ways and we haven't got tons of false-positives. To 
ensure that the analyzer works correctly I injected a leaky code in the 
Ogre codebase and the analyzer successfully found it.

The last weeks I'm trying to launch the analyzer on the QT5 codebase. 
Currently found at least 4 defects in the scan-build/ccc-analyzer 
scripts preventing me from successful run. Also tried to launch the 
analyzer over several small projects but failed. The scan-build is far 
from being production-quality. Currently working on the defects.
> Anton,
>
> Have you tested this on any C++ codebase other than LLVM? It would be really great to confirm the results by testing this on a different project.
>
> http://reviews.llvm.org/D5313
>
>
-- 
Anton

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141015/685fbb73/attachment.html>


More information about the cfe-commits mailing list