llvm-project/clang/lib/StaticAnalyzer/Checkers
George Karpenkov cf40ba8284 [analyzer] Fix the bug in UninitializedObjectChecker caused by not handling block pointers
Differential Revision: https://reviews.llvm.org/D50523

llvm-svn: 339369
2018-08-09 19:03:12 +00:00
..
MPI-Checker [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
AllocationDiagnostics.cpp
AllocationDiagnostics.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
AllocationState.h [analyzer] Rename DanglingInternalBufferChecker to InnerPointerChecker. 2018-07-20 15:14:49 +00:00
AnalysisOrderChecker.cpp [analyzer] Obtain a ReturnStmt from a CFGAutomaticObjDtor. 2018-08-02 22:31:03 +00:00
AnalyzerStatsChecker.cpp [analyzer] Prevent AnalyzerStatsChecker from crash 2018-02-21 16:06:56 +00:00
ArrayBoundChecker.cpp
ArrayBoundCheckerV2.cpp [analyzer] Remove the redundant check about same state transition in `ArrayBoundCheckerV2.cpp`. 2018-05-30 11:46:45 +00:00
BasicObjCFoundationChecks.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
BlockInCriticalSectionChecker.cpp [analyzer] lock_guard and unique_lock extension for BlockInCriticalSection checker 2017-10-30 10:09:55 +00:00
BoolAssignmentChecker.cpp
BuiltinFunctionChecker.cpp [analyzer] Add support for __builtin_constant_p. 2018-02-10 00:51:47 +00:00
CMakeLists.txt [analyzer] Syntactic matcher for leaks associated with run loop and autoreleasepool 2018-07-25 01:27:15 +00:00
CStringChecker.cpp [analyzer] CStringChecker: Remember to highlight the argument expression range. 2018-07-30 23:44:37 +00:00
CStringSyntaxChecker.cpp [CStringSyntaxChecker] Improvements of strlcpy check 2018-07-23 18:26:38 +00:00
CXXSelfAssignmentChecker.cpp [analyzer] [NFC] A convenient getter for getting a current stack frame 2018-06-27 01:51:55 +00:00
CallAndMessageChecker.cpp [analyzer] In getSVal() API, disable auto-detection of void type as char type. 2017-12-12 02:27:55 +00:00
CastSizeChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
CastToStructChecker.cpp Remove redundant casts. NFC 2018-03-01 05:43:23 +00:00
CheckObjCDealloc.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00
CheckObjCInstMethSignature.cpp
CheckSecuritySyntaxOnly.cpp Change \t to spaces 2018-07-20 08:19:20 +00:00
CheckSizeofPointer.cpp
CheckerDocumentation.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00
ChrootChecker.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
ClangCheckers.cpp
ClangSACheckers.h
CloneChecker.cpp [analyzer] Increase minimum complexity filter of the CloneChecker. 2017-09-04 05:56:36 +00:00
ConversionChecker.cpp [Analyzer] Clarify error messages for undefined result 2017-10-11 14:49:35 +00:00
DeadStoresChecker.cpp Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:26:27 +00:00
DebugCheckers.cpp [analyzer] Make issue hash related tests more concise 2017-10-30 12:02:23 +00:00
DeleteWithNonVirtualDtorChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
DereferenceChecker.cpp [analyzer] Don't dereference the array value when binding it to a reference. 2017-01-12 18:00:03 +00:00
DirectIvarAssignment.cpp
DivZeroChecker.cpp [analyzer] Add `TaintBugVisitor` to the ArrayBoundV2, DivideZero and VLASize. 2018-05-02 12:11:22 +00:00
DynamicTypeChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
DynamicTypePropagation.cpp [analyzer] Partial revert of https://reviews.llvm.org/D49050 2018-07-11 01:58:08 +00:00
ExprInspectionChecker.cpp [analyzer] [NFC] A convenient getter for getting a current stack frame 2018-06-27 01:51:55 +00:00
FixedAddressChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
GCDAntipatternChecker.cpp [analyzer] Fix GCDAntipatternChecker to only fire when the semaphore is initialized to zero 2018-07-16 20:32:57 +00:00
GTestChecker.cpp [NFC] fix trivial typos in comments 2018-01-22 07:44:38 +00:00
GenericTaintChecker.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
IdenticalExprChecker.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
InnerPointerChecker.cpp [analyzer] InnerPointerChecker: fix displayed checker name. 2018-08-06 22:03:42 +00:00
InterCheckerAPI.h [analyzer] InnerPointerChecker: fix displayed checker name. 2018-08-06 22:03:42 +00:00
IteratorChecker.cpp [analyzer] Add missing state transition in IteratorChecker. 2018-07-30 16:14:59 +00:00
IvarInvalidationChecker.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
LLVMConventionsChecker.cpp
LocalizationChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
MacOSKeychainAPIChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
MacOSXAPIChecker.cpp [analyzer] Fix MacOSXAPIChecker fp with static locals seen from nested blocks. 2017-01-25 10:21:45 +00:00
MallocChecker.cpp [analyzer] InnerPointerChecker: fix displayed checker name. 2018-08-06 22:03:42 +00:00
MallocOverflowSecurityChecker.cpp
MallocSizeofChecker.cpp
MisusedMovedObjectChecker.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00
MmapWriteExecChecker.cpp [analyzer] MmapWriteExecChecker: Add support for mprotect(). 2018-03-09 01:47:24 +00:00
NSAutoreleasePoolChecker.cpp
NSErrorChecker.cpp [analyzer] [NFC] A convenient getter for getting a current stack frame 2018-06-27 01:51:55 +00:00
NoReturnFunctionChecker.cpp Suppress all uses of LLVM_END_WITH_NULL. NFC. 2017-05-09 19:31:30 +00:00
NonNullParamChecker.cpp Reland "[Attr] Fix parameter indexing for several attributes" 2018-03-13 14:51:22 +00:00
NonnullGlobalConstantsChecker.cpp Fix typos in clang 2018-04-06 15:14:32 +00:00
NullabilityChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
NumberObjectConversionChecker.cpp [analyzer] Don't throw NSNumberObjectConversion warning on object initialization in if-expression 2018-03-02 21:34:24 +00:00
ObjCAtSyncChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
ObjCAutoreleaseWriteChecker.cpp [analyzer] Extend ObjCAutoreleaseWriteChecker to catch block declarations with autoreleasing variables 2018-05-16 22:47:05 +00:00
ObjCContainersASTChecker.cpp [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
ObjCContainersChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
ObjCMissingSuperCallChecker.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ObjCPropertyChecker.cpp [Analyzer] Fix crash in ObjCPropertyChecker on protocol property 2017-03-01 01:47:37 +00:00
ObjCSelfInitChecker.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
ObjCSuperDeallocChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
ObjCUnusedIVarsChecker.cpp
PaddingChecker.cpp Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
PointerArithChecker.cpp [analyzer] [PointerArithChecker] do not warn on indexes into vector types 2018-03-07 22:20:39 +00:00
PointerSubChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
PthreadLockChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
RetainCountChecker.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
ReturnPointerRangeChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
ReturnUndefChecker.cpp
RunLoopAutoreleaseLeakChecker.cpp [analyzer] Bugfix for autorelease + main run loop leak checker 2018-07-30 22:18:21 +00:00
SelectorExtras.h Use clang++-3.5 compatible initializer_list constructor 2017-05-10 13:22:11 +00:00
SimpleStreamChecker.cpp
StackAddrEscapeChecker.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
StdLibraryFunctionsChecker.cpp [analyzer] Avoid an allocation in Std C function modelling 2017-05-12 06:53:55 +00:00
StreamChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
TaintTesterChecker.cpp
TestAfterDivZeroChecker.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00
TraversalChecker.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00
TrustNonnullChecker.cpp [analyzer] Trust _Nonnull annotations, and trust analyzer knowledge about receiver nullability 2018-05-31 00:28:13 +00:00
UndefBranchChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
UndefCapturedBlockVarChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
UndefResultChecker.cpp [analyzer] Model and check unrepresentable left shifts 2018-01-22 13:32:10 +00:00
UndefinedArraySubscriptChecker.cpp
UndefinedAssignmentChecker.cpp [analyzer] UndefinedAssignmentChecker: Better warning message in implicit ctors. 2018-02-27 22:05:55 +00:00
UninitializedObjectChecker.cpp [analyzer] Fix the bug in UninitializedObjectChecker caused by not handling block pointers 2018-08-09 19:03:12 +00:00
UnixAPIChecker.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
UnreachableCodeChecker.cpp Teach Wreturn-type, Wunreachable-code, and alpha.deadcode.UnreachableCode to treat __assume(0) like __builtin_unreachable. 2018-02-13 21:31:47 +00:00
VLASizeChecker.cpp [analyzer] Add `TaintBugVisitor` to the ArrayBoundV2, DivideZero and VLASize. 2018-05-02 12:11:22 +00:00
ValistChecker.cpp [analyzer] Do not run visitors until the fixpoint, run only once. 2018-06-26 21:12:08 +00:00
VforkChecker.cpp
VirtualCallChecker.cpp [analyzer] Make checkEndFunction() give access to the return statement. 2018-07-16 20:47:45 +00:00