1 LOCAL_PATH:= $(call my-dir) 2 3 clang_static_analyzer_checkers_TBLGEN_TABLES := \ 4 AttrKinds.inc \ 5 AttrList.inc \ 6 AttrParsedAttrList.inc \ 7 Attrs.inc \ 8 AttrVisitor.inc \ 9 Checkers.inc \ 10 CommentCommandList.inc \ 11 CommentNodes.inc \ 12 DeclNodes.inc \ 13 DiagnosticCommonKinds.inc \ 14 StmtNodes.inc 15 16 clang_static_analyzer_checkers_SRC_FILES := \ 17 AllocationDiagnostics.cpp \ 18 AnalyzerStatsChecker.cpp \ 19 ArrayBoundChecker.cpp \ 20 ArrayBoundCheckerV2.cpp \ 21 BasicObjCFoundationChecks.cpp \ 22 BoolAssignmentChecker.cpp \ 23 BuiltinFunctionChecker.cpp \ 24 CallAndMessageChecker.cpp \ 25 CastSizeChecker.cpp \ 26 CastToStructChecker.cpp \ 27 CheckerDocumentation.cpp \ 28 CheckObjCDealloc.cpp \ 29 CheckObjCInstMethSignature.cpp \ 30 CheckSecuritySyntaxOnly.cpp \ 31 CheckSizeofPointer.cpp \ 32 ChrootChecker.cpp \ 33 ClangCheckers.cpp \ 34 CStringChecker.cpp \ 35 CStringSyntaxChecker.cpp \ 36 DeadStoresChecker.cpp \ 37 DebugCheckers.cpp \ 38 DereferenceChecker.cpp \ 39 DirectIvarAssignment.cpp \ 40 DivZeroChecker.cpp \ 41 DynamicTypeChecker.cpp \ 42 DynamicTypePropagation.cpp \ 43 ExprInspectionChecker.cpp \ 44 FixedAddressChecker.cpp \ 45 GenericTaintChecker.cpp \ 46 IdenticalExprChecker.cpp \ 47 IvarInvalidationChecker.cpp \ 48 LLVMConventionsChecker.cpp \ 49 LocalizationChecker.cpp \ 50 MacOSKeychainAPIChecker.cpp \ 51 MacOSXAPIChecker.cpp \ 52 MallocChecker.cpp \ 53 MallocOverflowSecurityChecker.cpp \ 54 MallocSizeofChecker.cpp \ 55 NonNullParamChecker.cpp \ 56 NoReturnFunctionChecker.cpp \ 57 NSAutoreleasePoolChecker.cpp \ 58 NSErrorChecker.cpp \ 59 NullabilityChecker.cpp \ 60 ObjCAtSyncChecker.cpp \ 61 ObjCContainersASTChecker.cpp \ 62 ObjCContainersChecker.cpp \ 63 ObjCMissingSuperCallChecker.cpp \ 64 ObjCSelfInitChecker.cpp \ 65 ObjCUnusedIVarsChecker.cpp \ 66 PaddingChecker.cpp \ 67 PointerArithChecker.cpp \ 68 PointerSubChecker.cpp \ 69 PthreadLockChecker.cpp \ 70 RetainCountChecker.cpp \ 71 ReturnPointerRangeChecker.cpp \ 72 ReturnUndefChecker.cpp \ 73 SimpleStreamChecker.cpp \ 74 StackAddrEscapeChecker.cpp \ 75 StreamChecker.cpp \ 76 TaintTesterChecker.cpp \ 77 TestAfterDivZeroChecker.cpp \ 78 TraversalChecker.cpp \ 79 UndefBranchChecker.cpp \ 80 UndefCapturedBlockVarChecker.cpp \ 81 UndefinedArraySubscriptChecker.cpp \ 82 UndefinedAssignmentChecker.cpp \ 83 UndefResultChecker.cpp \ 84 UnixAPIChecker.cpp \ 85 UnreachableCodeChecker.cpp \ 86 VforkChecker.cpp \ 87 VirtualCallChecker.cpp \ 88 VLASizeChecker.cpp 89 90 # For the host only 91 # ===================================================== 92 include $(CLEAR_VARS) 93 include $(CLEAR_TBLGEN_VARS) 94 95 TBLGEN_TABLES := $(clang_static_analyzer_checkers_TBLGEN_TABLES) 96 97 LOCAL_SRC_FILES := $(clang_static_analyzer_checkers_SRC_FILES) 98 99 LOCAL_MODULE:= libclangStaticAnalyzerCheckers 100 101 LOCAL_MODULE_TAGS := optional 102 103 include $(CLANG_HOST_BUILD_MK) 104 include $(CLANG_TBLGEN_RULES_MK) 105 include $(CLANG_VERSION_INC_MK) 106 include $(BUILD_HOST_STATIC_LIBRARY) 107