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