1 clang_tablegen(Checkers.inc -gen-clang-sa-checkers 2 -I ${CMAKE_CURRENT_SOURCE_DIR}/../../../include 3 SOURCE Checkers.td 4 TARGET ClangSACheckers) 5 6 set(LLVM_USED_LIBS clangBasic clangAST) 7 8 add_clang_library(clangStaticAnalyzerCheckers 9 AdjustedReturnValueChecker.cpp 10 AnalyzerStatsChecker.cpp 11 ArrayBoundChecker.cpp 12 ArrayBoundCheckerV2.cpp 13 AttrNonNullChecker.cpp 14 BasicObjCFoundationChecks.cpp 15 BuiltinFunctionChecker.cpp 16 CStringChecker.cpp 17 CallAndMessageChecker.cpp 18 CastSizeChecker.cpp 19 CastToStructChecker.cpp 20 CheckObjCDealloc.cpp 21 CheckObjCInstMethSignature.cpp 22 CheckSecuritySyntaxOnly.cpp 23 CheckSizeofPointer.cpp 24 ChrootChecker.cpp 25 ClangCheckers.cpp 26 DeadStoresChecker.cpp 27 DebugCheckers.cpp 28 DereferenceChecker.cpp 29 DivZeroChecker.cpp 30 FixedAddressChecker.cpp 31 IdempotentOperationChecker.cpp 32 IteratorsChecker.cpp 33 LLVMConventionsChecker.cpp 34 MacOSKeychainAPIChecker.cpp 35 MacOSXAPIChecker.cpp 36 MallocChecker.cpp 37 MallocOverflowSecurityChecker.cpp 38 NSAutoreleasePoolChecker.cpp 39 NSErrorChecker.cpp 40 NoReturnFunctionChecker.cpp 41 OSAtomicChecker.cpp 42 ObjCAtSyncChecker.cpp 43 ObjCSelfInitChecker.cpp 44 ObjCUnusedIVarsChecker.cpp 45 PointerArithChecker.cpp 46 PointerSubChecker.cpp 47 PthreadLockChecker.cpp 48 RetainCountChecker.cpp 49 ReturnPointerRangeChecker.cpp 50 ReturnUndefChecker.cpp 51 StackAddrEscapeChecker.cpp 52 StreamChecker.cpp 53 UndefBranchChecker.cpp 54 UndefCapturedBlockVarChecker.cpp 55 UndefResultChecker.cpp 56 UndefinedArraySubscriptChecker.cpp 57 UndefinedAssignmentChecker.cpp 58 UnixAPIChecker.cpp 59 UnreachableCodeChecker.cpp 60 VLASizeChecker.cpp 61 ) 62 63 add_dependencies(clangStaticAnalyzerCheckers 64 clangStaticAnalyzerCore 65 ClangAttrClasses 66 ClangAttrList 67 ClangDeclNodes 68 ClangStmtNodes 69 ClangSACheckers 70 ) 71