- Nov 06, 2009
-
-
Ted Kremenek authored
value into their own respective subclasses of Checker (and put them in .cpp files where their implementation details are hidden from GRExprEngine). llvm-svn: 86215
-
Ted Kremenek authored
Minor cleanup: use BuiltinBug (which will soon be renamed) for DeferenceChecker and friends so that they always report the same bug type. llvm-svn: 86208
-
- Nov 05, 2009
-
-
Ted Kremenek authored
llvm-svn: 86127
-
Ted Kremenek authored
an "assign expression", representing the expressions where the value binding occurs and the assignment takes place respectively. These are largely syntactic clues for better error reporting. llvm-svn: 86084
-
- Nov 04, 2009
-
-
Daniel Dunbar authored
llvm-svn: 86015
-
Ted Kremenek authored
llvm-svn: 86004
-
Ted Kremenek authored
Catch uses of undefined values when they are used in assignment, thus catching such bugs closer to the source. llvm-svn: 86003
-
Zhongxing Xu authored
llvm-svn: 85996
-
Ted Kremenek authored
Refactor StoreManager::BindDecl() to take a VarRegion* instead of a VarDecl*, and modify GRExprEngine::EvalBind() to handle decl initialization as well. This paves the way for adding "checker" visitation in EvalBind(). llvm-svn: 85983
-
Ted Kremenek authored
Change GRTransferFuncs::RegisterChecks() to take a GRExprEngine& instead of a BugReporter&. This paves the way for pulling some of the retain/release checker into a "Checker" class. llvm-svn: 85971
-
- Nov 03, 2009
-
-
Ted Kremenek authored
Merge NullDerefChecker.[h,cpp] and UndefDerefChecker.[h,cpp]. They are essentially two parts of the same check. llvm-svn: 85911
-
Benjamin Kramer authored
llvm-svn: 85898
-
Zhongxing Xu authored
Split it to two checkers, one for undefined size, the other for zero size, so that we don't need to query the size when emitting the bug report. llvm-svn: 85895
-
-
Ted Kremenek authored
Move 'static inline' functions GetNullarySelector() and GetUnarySelector() from CFRefCount.cpp to ASTContext.h. These functions are likely to be generally useful. llvm-svn: 85886
-
Zhongxing Xu authored
llvm-svn: 85883
-
Zhongxing Xu authored
llvm-svn: 85879
-
Ted Kremenek authored
llvm-svn: 85877
-
Ted Kremenek authored
llvm-svn: 85876
-
Zhongxing Xu authored
llvm-svn: 85875
-
Zhongxing Xu authored
llvm-svn: 85868
-
Ted Kremenek authored
llvm-svn: 85867
-
Ted Kremenek authored
Fixes: <rdar://problem/7358899> llvm-svn: 85864
-
Ted Kremenek authored
Remove GRExprEngine::CheckerVisitLocation(). It was only called in one place, so we inlined it in to GRExprEngine::EvalLocation(). llvm-svn: 85838
-
- Oct 31, 2009
-
-
Benjamin Kramer authored
llvm-svn: 85652
-
Zhongxing Xu authored
llvm-svn: 85651
-
Zhongxing Xu authored
llvm-svn: 85645
-
Zhongxing Xu authored
llvm-svn: 85642
-
- Oct 30, 2009
-
-
Ted Kremenek authored
llvm-svn: 85618
-
Ted Kremenek authored
llvm-svn: 85597
-
Ted Kremenek authored
llvm-svn: 85596
-
Ted Kremenek authored
Move all logic for the null dereference checker from GRExprEngineInternalChecks.cpp to a separate .cpp file. llvm-svn: 85595
-
Zhongxing Xu authored
can get the correct base lvalue. Revert r85578. llvm-svn: 85579
-
Ted Kremenek authored
This fixes the crash reported in PR 5316. llvm-svn: 85578
-
- Oct 29, 2009
-
-
Zhongxing Xu authored
llvm-svn: 85497
-
Ted Kremenek authored
small test case to show we handle dereferences of undefined values. llvm-svn: 85492
-
Ted Kremenek authored
by Zhongxing Xu. RemoveDeadBindings() would falsely prune SymbolicRegions from the store that wrapped derived symbols whose liveness could only be determined after scanning the store. llvm-svn: 85484
-
Zhongxing Xu authored
Add a CheckLocation() interface to Checker. Now ImplicitNullDeref nodes are cached in NullDerefChecker. More cleanups follow. llvm-svn: 85471
-
Douglas Gregor authored
Switch a few ugly switch-on-string-literal constructs to use the new llvm::StringSwitch. llvm-svn: 85461
-
- Oct 28, 2009
-
-
Ted Kremenek authored
Unused ivars checker: also check methods in categories that are defined in the same translation unit. Fixes <rdar://problem/6260004>. llvm-svn: 85442
-