[cfe-commits] r149016 - /cfe/trunk/lib/Driver/Tools.cpp
Ted Kremenek
kremenek at apple.com
Wed Jan 25 18:27:39 PST 2012
Author: kremenek
Date: Wed Jan 25 20:27:38 2012
New Revision: 149016
URL: http://llvm.org/viewvc/llvm-project?rev=149016&view=rev
Log:
Enable several checkers under --analyze for general testing.
Modified:
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=149016&r1=149015&r2=149016&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Wed Jan 25 20:27:38 2012
@@ -1350,6 +1350,15 @@
CmdArgs.push_back("-analyzer-checker=osx");
CmdArgs.push_back("-analyzer-checker=deadcode");
+
+ // Enable the following experimental checkers for testing.
+ CmdArgs.push_back("-analyzer-checker=experimental.osx.cocoa.ContainerAPI");
+ CmdArgs.push_back("-analyzer-checker=security.insecureAPI.UncheckedReturn");
+ CmdArgs.push_back("-analyzer-checker=security.insecureAPI.getpw");
+ CmdArgs.push_back("-analyzer-checker=security.insecureAPI.gets");
+ CmdArgs.push_back("-analyzer-checker=security.insecureAPI.mktemp");
+ CmdArgs.push_back("-analyzer-checker=security.insecureAPI.mkstemp");
+ CmdArgs.push_back("-analyzer-checker=security.insecureAPI.vfork");
}
// Set the output format. The default is plist, for (lame) historical
More information about the cfe-commits
mailing list