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