[cfe-dev] Turning off checkers

Anna Zaks ganna at apple.com
Fri Jun 21 17:15:40 PDT 2013


Todd, 

What is your complete command line? Are you calling scan-build or clang?

Anna.
On Jun 21, 2013, at 11:40 AM, Todd Nowacki <nowacki724 at gmail.com> wrote:

> Is there any way to turn off specific checkers for the static analyzer?
> 
> I tried just adding one checker, e.g. -analyze-checker=core.DivideZero, but 
> the following set of checkers still seems to be implicitly enabled:
> 'core'
> 'unix'
> 'deadcode'
> 'security.insecureAPI.UncheckedReturn'
> 'security.insecureAPI.getpw'
> 'security.insecureAPI.gets'
> 'security.insecureAPI.mktemp'
> 'security.insecureAPI.mkstemp'
> 'security.insecureAPI.vfork'
> 
> Thanks!
> 
> Sincerely,
> Todd Nowacki
> 
> _______________________________________________
> 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/20130621/12473239/attachment.html>


More information about the cfe-dev mailing list