2010-06-09 19:32:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-09-06 22:02:13 +00:00
|
|
|
.include <src.opts.mk>
|
2013-02-02 22:28:29 +00:00
|
|
|
|
2011-02-20 19:33:47 +00:00
|
|
|
LIB= clangstaticanalyzercheckers
|
2010-06-09 19:32:20 +00:00
|
|
|
|
2011-02-20 19:33:47 +00:00
|
|
|
SRCDIR= tools/clang/lib/StaticAnalyzer/Checkers
|
2013-06-12 18:48:53 +00:00
|
|
|
SRCS= AllocationDiagnostics.cpp \
|
|
|
|
AnalyzerStatsChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
ArrayBoundChecker.cpp \
|
2011-02-20 19:33:47 +00:00
|
|
|
ArrayBoundCheckerV2.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
BasicObjCFoundationChecks.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
BoolAssignmentChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
BuiltinFunctionChecker.cpp \
|
|
|
|
CStringChecker.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
CStringSyntaxChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
CallAndMessageChecker.cpp \
|
|
|
|
CastSizeChecker.cpp \
|
|
|
|
CastToStructChecker.cpp \
|
|
|
|
CheckObjCDealloc.cpp \
|
|
|
|
CheckObjCInstMethSignature.cpp \
|
|
|
|
CheckSecuritySyntaxOnly.cpp \
|
|
|
|
CheckSizeofPointer.cpp \
|
2011-02-20 19:33:47 +00:00
|
|
|
ChrootChecker.cpp \
|
2011-10-22 14:08:43 +00:00
|
|
|
ClangCheckers.cpp \
|
2011-02-20 19:33:47 +00:00
|
|
|
DeadStoresChecker.cpp \
|
|
|
|
DebugCheckers.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
DereferenceChecker.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
DirectIvarAssignment.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
DivZeroChecker.cpp \
|
2012-08-20 18:33:03 +00:00
|
|
|
DynamicTypePropagation.cpp \
|
|
|
|
ExprInspectionChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
FixedAddressChecker.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
GenericTaintChecker.cpp \
|
2014-02-16 19:44:07 +00:00
|
|
|
IdenticalExprChecker.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
IvarInvalidationChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
LLVMConventionsChecker.cpp \
|
2011-10-22 14:08:43 +00:00
|
|
|
MacOSKeychainAPIChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
MacOSXAPIChecker.cpp \
|
|
|
|
MallocChecker.cpp \
|
2011-10-22 14:08:43 +00:00
|
|
|
MallocOverflowSecurityChecker.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
MallocSizeofChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
NSAutoreleasePoolChecker.cpp \
|
|
|
|
NSErrorChecker.cpp \
|
|
|
|
NoReturnFunctionChecker.cpp \
|
2014-02-16 19:44:07 +00:00
|
|
|
NonNullParamChecker.cpp \
|
2011-02-20 19:33:47 +00:00
|
|
|
ObjCAtSyncChecker.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
ObjCContainersASTChecker.cpp \
|
|
|
|
ObjCContainersChecker.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
ObjCMissingSuperCallChecker.cpp \
|
2011-02-20 19:33:47 +00:00
|
|
|
ObjCSelfInitChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
ObjCUnusedIVarsChecker.cpp \
|
|
|
|
PointerArithChecker.cpp \
|
|
|
|
PointerSubChecker.cpp \
|
|
|
|
PthreadLockChecker.cpp \
|
2011-10-22 14:08:43 +00:00
|
|
|
RetainCountChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
ReturnPointerRangeChecker.cpp \
|
|
|
|
ReturnUndefChecker.cpp \
|
2012-12-03 19:24:08 +00:00
|
|
|
SimpleStreamChecker.cpp \
|
2011-02-27 01:32:10 +00:00
|
|
|
StackAddrEscapeChecker.cpp \
|
2010-09-20 16:43:17 +00:00
|
|
|
StreamChecker.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
TaintTesterChecker.cpp \
|
2014-11-24 19:46:35 +00:00
|
|
|
TestAfterDivZeroChecker.cpp \
|
2012-08-20 18:33:03 +00:00
|
|
|
TraversalChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
UndefBranchChecker.cpp \
|
|
|
|
UndefCapturedBlockVarChecker.cpp \
|
|
|
|
UndefResultChecker.cpp \
|
2010-06-09 19:32:20 +00:00
|
|
|
UndefinedArraySubscriptChecker.cpp \
|
|
|
|
UndefinedAssignmentChecker.cpp \
|
2010-07-20 17:16:57 +00:00
|
|
|
UnixAPIChecker.cpp \
|
2010-09-20 16:43:17 +00:00
|
|
|
UnreachableCodeChecker.cpp \
|
2012-04-16 21:23:25 +00:00
|
|
|
VLASizeChecker.cpp \
|
|
|
|
VirtualCallChecker.cpp
|
2010-06-09 19:32:20 +00:00
|
|
|
|
2015-09-06 22:02:13 +00:00
|
|
|
.if ${MK_CLANG_EXTRAS} != "no"
|
|
|
|
SRCS+= CheckerDocumentation.cpp
|
|
|
|
.endif
|
|
|
|
|
2010-09-20 16:43:17 +00:00
|
|
|
TGHDRS= AttrList \
|
2014-11-24 19:46:35 +00:00
|
|
|
AttrVisitor \
|
2010-09-20 16:43:17 +00:00
|
|
|
Attrs \
|
2011-02-20 19:33:47 +00:00
|
|
|
Checkers \
|
2013-04-12 17:57:40 +00:00
|
|
|
CommentCommandList \
|
2012-08-20 18:33:03 +00:00
|
|
|
CommentNodes \
|
2010-07-20 17:16:57 +00:00
|
|
|
DeclNodes \
|
|
|
|
DiagnosticCommonKinds \
|
|
|
|
StmtNodes
|
2010-06-09 19:32:20 +00:00
|
|
|
|
|
|
|
.include "../clang.lib.mk"
|