f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
87 lines
2.2 KiB
Makefile
87 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2013/11/11 23:51:36 joerg Exp $
|
|
|
|
LIB= clangStaticAnalyzerCheckers
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${CLANG_SRCDIR}/lib/StaticAnalyzer/Checkers
|
|
|
|
SRCS+= AllocationDiagnostics.cpp \
|
|
AnalyzerStatsChecker.cpp \
|
|
ArrayBoundChecker.cpp \
|
|
ArrayBoundCheckerV2.cpp \
|
|
BasicObjCFoundationChecks.cpp \
|
|
BoolAssignmentChecker.cpp \
|
|
BuiltinFunctionChecker.cpp \
|
|
ClangCheckers.cpp \
|
|
CStringChecker.cpp \
|
|
CStringSyntaxChecker.cpp \
|
|
CallAndMessageChecker.cpp \
|
|
CastSizeChecker.cpp \
|
|
CastToStructChecker.cpp \
|
|
CheckObjCDealloc.cpp \
|
|
CheckObjCInstMethSignature.cpp \
|
|
CheckSecuritySyntaxOnly.cpp \
|
|
CheckSizeofPointer.cpp \
|
|
CheckerDocumentation.cpp \
|
|
ChrootChecker.cpp \
|
|
DeadStoresChecker.cpp \
|
|
DebugCheckers.cpp \
|
|
DereferenceChecker.cpp \
|
|
DirectIvarAssignment.cpp \
|
|
DivZeroChecker.cpp \
|
|
DynamicTypePropagation.cpp \
|
|
ExprInspectionChecker.cpp \
|
|
FixedAddressChecker.cpp \
|
|
GenericTaintChecker.cpp \
|
|
IdempotentOperationChecker.cpp \
|
|
IdenticalExprChecker.cpp \
|
|
IvarInvalidationChecker.cpp \
|
|
LLVMConventionsChecker.cpp \
|
|
MacOSKeychainAPIChecker.cpp \
|
|
MacOSXAPIChecker.cpp \
|
|
MallocChecker.cpp \
|
|
MallocOverflowSecurityChecker.cpp \
|
|
MallocSizeofChecker.cpp \
|
|
NSAutoreleasePoolChecker.cpp \
|
|
NSErrorChecker.cpp \
|
|
NoReturnFunctionChecker.cpp \
|
|
NonNullParamChecker.cpp \
|
|
ObjCAtSyncChecker.cpp \
|
|
ObjCContainersASTChecker.cpp \
|
|
ObjCContainersChecker.cpp \
|
|
ObjCMissingSuperCallChecker.cpp \
|
|
ObjCSelfInitChecker.cpp \
|
|
ObjCUnusedIVarsChecker.cpp \
|
|
PointerArithChecker.cpp \
|
|
PointerSubChecker.cpp \
|
|
PthreadLockChecker.cpp \
|
|
RetainCountChecker.cpp \
|
|
ReturnPointerRangeChecker.cpp \
|
|
ReturnUndefChecker.cpp \
|
|
SimpleStreamChecker.cpp \
|
|
StackAddrEscapeChecker.cpp \
|
|
StreamChecker.cpp \
|
|
TaintTesterChecker.cpp \
|
|
TraversalChecker.cpp \
|
|
UndefBranchChecker.cpp \
|
|
UndefCapturedBlockVarChecker.cpp \
|
|
UndefResultChecker.cpp \
|
|
UndefinedArraySubscriptChecker.cpp \
|
|
UndefinedAssignmentChecker.cpp \
|
|
UnixAPIChecker.cpp \
|
|
UnreachableCodeChecker.cpp \
|
|
VLASizeChecker.cpp \
|
|
VirtualCallChecker.cpp
|
|
|
|
CLANG_TABLEGEN_SRC= Checkers.td
|
|
CLANG_TABLEGEN_INCLUDES= -I${CLANG_SRCDIR}/include
|
|
CLANG_TABLEGEN_OUTPUT= Checkers.inc|-gen-clang-sa-checkers
|
|
|
|
.include "${.PARSEDIR}/../../tablegen.mk"
|
|
|
|
.if defined(HOSTLIB)
|
|
.include <bsd.hostlib.mk>
|
|
.else
|
|
.include <bsd.lib.mk>
|
|
.endif
|