2011-02-21 06:06:32 +08:00
|
|
|
clang_tablegen(Checkers.inc -gen-clang-sa-checkers
|
|
|
|
-I ${CMAKE_CURRENT_SOURCE_DIR}/../../../include
|
|
|
|
SOURCE Checkers.td
|
|
|
|
TARGET ClangSACheckers)
|
2011-02-15 02:13:31 +08:00
|
|
|
|
2013-12-10 03:04:43 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Support
|
|
|
|
)
|
|
|
|
|
2010-12-24 03:38:26 +08:00
|
|
|
add_clang_library(clangStaticAnalyzerCheckers
|
2013-04-17 05:44:22 +08:00
|
|
|
AllocationDiagnostics.cpp
|
2011-02-09 06:30:36 +08:00
|
|
|
AnalyzerStatsChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ArrayBoundChecker.cpp
|
2010-12-23 10:42:43 +08:00
|
|
|
ArrayBoundCheckerV2.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
BasicObjCFoundationChecks.cpp
|
2012-02-12 00:32:09 +08:00
|
|
|
BoolAssignmentChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
BuiltinFunctionChecker.cpp
|
2010-12-23 10:42:43 +08:00
|
|
|
CStringChecker.cpp
|
2012-02-01 03:33:39 +08:00
|
|
|
CStringSyntaxChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
CallAndMessageChecker.cpp
|
|
|
|
CastSizeChecker.cpp
|
|
|
|
CastToStructChecker.cpp
|
|
|
|
CheckObjCDealloc.cpp
|
|
|
|
CheckObjCInstMethSignature.cpp
|
|
|
|
CheckSecuritySyntaxOnly.cpp
|
|
|
|
CheckSizeofPointer.cpp
|
2011-12-01 02:56:24 +08:00
|
|
|
CheckerDocumentation.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ChrootChecker.cpp
|
2011-08-17 05:24:21 +08:00
|
|
|
ClangCheckers.cpp
|
2011-01-14 04:58:59 +08:00
|
|
|
DeadStoresChecker.cpp
|
2011-02-18 06:07:39 +08:00
|
|
|
DebugCheckers.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
DereferenceChecker.cpp
|
2012-10-12 04:58:21 +08:00
|
|
|
DirectIvarAssignment.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
DivZeroChecker.cpp
|
2012-08-07 07:25:39 +08:00
|
|
|
DynamicTypePropagation.cpp
|
2015-09-19 05:15:37 +08:00
|
|
|
DynamicTypeChecker.cpp
|
2012-05-17 00:01:07 +08:00
|
|
|
ExprInspectionChecker.cpp
|
2010-12-23 04:30:07 +08:00
|
|
|
FixedAddressChecker.cpp
|
2011-11-17 04:05:08 +08:00
|
|
|
GenericTaintChecker.cpp
|
2013-11-08 09:15:39 +08:00
|
|
|
IdenticalExprChecker.cpp
|
2012-09-27 02:55:16 +08:00
|
|
|
IvarInvalidationChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
LLVMConventionsChecker.cpp
|
2015-08-15 04:22:22 +08:00
|
|
|
LocalizationChecker.cpp
|
2011-08-02 06:40:01 +08:00
|
|
|
MacOSKeychainAPIChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
MacOSXAPIChecker.cpp
|
|
|
|
MallocChecker.cpp
|
2011-08-04 04:17:43 +08:00
|
|
|
MallocOverflowSecurityChecker.cpp
|
2011-12-08 16:31:14 +08:00
|
|
|
MallocSizeofChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
NSAutoreleasePoolChecker.cpp
|
|
|
|
NSErrorChecker.cpp
|
|
|
|
NoReturnFunctionChecker.cpp
|
2013-04-17 05:10:09 +08:00
|
|
|
NonNullParamChecker.cpp
|
2015-08-27 07:17:43 +08:00
|
|
|
NullabilityChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ObjCAtSyncChecker.cpp
|
2012-01-26 09:14:39 +08:00
|
|
|
ObjCContainersASTChecker.cpp
|
2012-01-30 14:42:48 +08:00
|
|
|
ObjCContainersChecker.cpp
|
2012-10-30 09:21:35 +08:00
|
|
|
ObjCMissingSuperCallChecker.cpp
|
2011-01-12 03:45:25 +08:00
|
|
|
ObjCSelfInitChecker.cpp
|
2016-02-23 01:56:24 +08:00
|
|
|
ObjCSuperDeallocChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ObjCUnusedIVarsChecker.cpp
|
2015-12-15 05:38:59 +08:00
|
|
|
PaddingChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
PointerArithChecker.cpp
|
|
|
|
PointerSubChecker.cpp
|
|
|
|
PthreadLockChecker.cpp
|
2011-09-02 14:44:22 +08:00
|
|
|
RetainCountChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
ReturnPointerRangeChecker.cpp
|
|
|
|
ReturnUndefChecker.cpp
|
2012-12-05 06:17:32 +08:00
|
|
|
SimpleStreamChecker.cpp
|
2011-02-26 06:00:43 +08:00
|
|
|
StackAddrEscapeChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
StreamChecker.cpp
|
2011-12-06 02:58:01 +08:00
|
|
|
TaintTesterChecker.cpp
|
2014-07-11 00:10:52 +08:00
|
|
|
TestAfterDivZeroChecker.cpp
|
2012-06-29 08:33:10 +08:00
|
|
|
TraversalChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
UndefBranchChecker.cpp
|
|
|
|
UndefCapturedBlockVarChecker.cpp
|
|
|
|
UndefResultChecker.cpp
|
|
|
|
UndefinedArraySubscriptChecker.cpp
|
|
|
|
UndefinedAssignmentChecker.cpp
|
|
|
|
UnixAPIChecker.cpp
|
|
|
|
UnreachableCodeChecker.cpp
|
2015-11-06 19:16:31 +08:00
|
|
|
VforkChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
VLASizeChecker.cpp
|
2012-01-04 07:18:57 +08:00
|
|
|
VirtualCallChecker.cpp
|
2010-12-23 02:52:56 +08:00
|
|
|
|
2014-02-21 15:59:59 +08:00
|
|
|
DEPENDS
|
2011-02-20 05:38:48 +08:00
|
|
|
ClangSACheckers
|
2012-06-21 09:30:21 +08:00
|
|
|
|
2014-02-26 14:41:29 +08:00
|
|
|
LINK_LIBS
|
2012-06-21 09:30:21 +08:00
|
|
|
clangAST
|
2013-12-10 03:04:43 +08:00
|
|
|
clangAnalysis
|
|
|
|
clangBasic
|
2015-08-15 09:56:49 +08:00
|
|
|
clangLex
|
2012-06-21 09:30:21 +08:00
|
|
|
clangStaticAnalyzerCore
|
|
|
|
)
|