[cfe-dev] clang: Need to suppress the checks from static analysis at runtime

Anna Zaks ganna at apple.com
Tue Jul 16 11:13:42 PDT 2013


On Jul 16, 2013, at 3:29 AM, Snehal Sable <Snehal.Sable at kpitcummins.com> wrote:

> Hi,
>  
> I am working on the C project and I am doing static analysis of the code using clang.
> I need to suppress some of the checks from analysis at the runtime i.e. should not check for some of the checks that are excluded from analysis.
> As per my understanding all the checks included in “Checkers.td” are included in analysis but it is done at compile time. I want to do the same at run time.

Are you using scan_build to run the analyzer? Please, refer to the CONTROLLING CHECKERS section in scan_build --help.

Anna.

> How I can implement this?
>  
> Please suggest.
> Thanks in advance.
>  
> Thanks & Regards,
> Snehal Sable
> CBA | Productivity & FE | Board: +91-20-66525000  Ext: 3228 | Cell: 9096885853|KPIT Cummins Infosystems Ltd, Pune | Visit us @ http://hive.kpit.com/cba
>  
>  
> 
> This message contains information that may be privileged or confidential and is the property of the KPIT Cummins Infosystems Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins Infosystems Ltd. does not accept any liability for virus infected mails. _______________________________________________
> 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/20130716/68808abf/attachment.html>


More information about the cfe-dev mailing list