[cfe-dev] No bugs found

Jordan Rose jordan_rose at apple.com
Tue Apr 22 15:59:31 PDT 2014


The new/delete leak checking is currently disabled because it has some known false positives. You can experiment with it by using -enable-checker alpha.cplusplus.NewDeleteLeaks.

Jordan


On Apr 19, 2014, at 16:07 , Rian Quinn <rianquinn at mac.com> wrote:

> I downloaded the new checker, and unpacked it to my downloads folder (on a mac). I then ran 
> 
> ~/Downloads/checker*/scan-build make -j9
> 
> on an existing Qt project that I have. The code build with no problems. Its 10K+ lines of code, and it found no bugs. So I then added a memory leak to the code
> 
> int *i = new int;
> 
> and ran it again and once again, no bugs found. So, what am I doing wrong. 
> 
> Thanks,
> - Rian 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list