[cfe-dev] [RFC PATCH] making the static analyzer a PluginASTAction

Anna Zaks ganna at apple.com
Mon Dec 19 10:05:57 PST 2011


On Dec 18, 2011, at 3:38 AM, nobled wrote:
>> Somehow, this change exposed a problem in lib/Driver/Tools.cpp, which
>> was by default adding "-static-analyzer-checker=security" to the
>> analyzer. I'm not sure how it ever worked before, because after this
>> change I got the error "no analyzer checkers are associated with
>> 'security'", which was true; changing it to "experimental.security"
>> fixed it.
>> 


Experimental checkers should not be added by default, so if there are no checkers in the security package, it can be dropped from the set of defaults.

Thanks for working on this!
Anna.



More information about the cfe-dev mailing list