- Dec 11, 2008
-
-
Zhongxing Xu authored
to them. llvm-svn: 60868
-
- Dec 10, 2008
-
-
Ted Kremenek authored
Fix to BasicStoreManager::getElementLValue: If the base region is a symbol, layer an AnonTypedRegion on top of it. llvm-svn: 60808
-
- Dec 09, 2008
-
-
Ted Kremenek authored
Have BasicStoreManager::getLValueElement() have logic similar to BasicStoreManager::getLValueField() (i.e., don't just return the 'base' as the SVal) llvm-svn: 60795
-
Ted Kremenek authored
In GRExprEngine treat @throw as an 'abort' that ends the current path. This is a temporary solution. llvm-svn: 60789
-
Zhongxing Xu authored
llvm-svn: 60758
-
Ted Kremenek authored
llvm-svn: 60734
-
Ted Kremenek authored
Fixed LiveVariables bug where we didn't consider block-level expressions that functioned as the size of a VLA to be live. llvm-svn: 60730
-
- Dec 08, 2008
-
-
Ted Kremenek authored
llvm-svn: 60726
-
Ted Kremenek authored
'self.myIvar = nil' (properties) only releases myIvar when the property has kind 'assign'. This fixes <rdar://problem/6380411>. llvm-svn: 60717
-
- Dec 06, 2008
-
-
Ted Kremenek authored
llvm-svn: 60622
-
- Dec 05, 2008
-
-
Ted Kremenek authored
Add SymbolRef::print() and have SymbolicRegion::print() use this method instead of calling SymbolRef::getNumber(). llvm-svn: 60578
-
Ted Kremenek authored
llvm-svn: 60577
-
Ted Kremenek authored
Rename SymbolID to SymbolRef. This is a precursor to some overhauling of the representation of symbolic values. llvm-svn: 60575
-
Ted Kremenek authored
llvm-svn: 60572
-
Ted Kremenek authored
StoreManager::Retrieve and StoreManager::RemoveDeadBindings now take a GRState* argument instead of a Store. This allows them to use the GDM for storing other data. llvm-svn: 60570
-
- Dec 04, 2008
-
-
Ted Kremenek authored
Revamp RegionStoreManager::RemoveDeadBindings. This method now does a complete mark-and-sweep of the store, removing dead regions and recording the set of live and dead symbols appropriately. llvm-svn: 60523
-
Ted Kremenek authored
llvm-svn: 60520
-
Zhongxing Xu authored
llvm-svn: 60516
-
- Dec 03, 2008
-
-
Ted Kremenek authored
- Fix nonsensical logic in AssumeSymGE. When comparing 'sym >= constant' and the constant is the maximum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymGT. When comparing 'sym > constant' and constant is the maximum integer value we know the path is infeasible. - Add test case for this enhancement to AssumeSymGT. llvm-svn: 60490
-
Ted Kremenek authored
- Fix nonsensical logic in AssumeSymLE. When comparing 'sym <= constant' and the constant is the minimum integer value, add the constraint that 'sym == constant' when the path is deemed feasible. All other cases are feasible. - Improve AssumeSymLT to address <rdar://problem/6407949>. When comparing 'sym < constant' and constant is the minimum integer value we know the path is infeasible. - Add test case for <rdar://problem/6407949>. llvm-svn: 60489
-
- Dec 02, 2008
-
-
Sebastian Redl authored
This may be the case on 64-bit systems. Whether that fact is a bug is a different question, but it's easy to cure the symptom. llvm-svn: 60422
-
Ted Kremenek authored
llvm-svn: 60390
-
- Nov 30, 2008
-
-
Zhongxing Xu authored
This fixes PR3127 http://llvm.org/bugs/show_bug.cgi?id=3127 llvm-svn: 60280
-
- Nov 29, 2008
-
-
Zhongxing Xu authored
llvm-svn: 60248
-
- Nov 28, 2008
-
-
Zhongxing Xu authored
When initialized, the index of the ElementRegion was unsigned. But the index value of the ArraySubscriptExpr is signed. This inconsistency caused the value of the array element retrieved to be UnknownVal despite it was initialized to symbolic. This is only a hack. Real fix of this problem is required. llvm-svn: 60207
-
Zhongxing Xu authored
llvm-svn: 60206
-
Zhongxing Xu authored
llvm-svn: 60205
-
- Nov 27, 2008
-
-
Zhongxing Xu authored
llvm-svn: 60151
-
Zhongxing Xu authored
GDMContext. llvm-svn: 60150
-
Zhongxing Xu authored
llvm-svn: 60146
-
Zhongxing Xu authored
- Creator function pointers are saved in ManagerRegistry. - The Register* class is used to notify ManagerRegistry new module is available. - AnalysisManager queries ManagerRegistry for configurable module. Then it passes them to GRExprEngine, in turn to GRStateManager. llvm-svn: 60143
-
- Nov 25, 2008
-
-
Nuno Lopes authored
llvm-svn: 60018
-
- Nov 24, 2008
-
-
Sebastian Redl authored
llvm-svn: 59975
-
Sebastian Redl authored
There might be other, similar bugs lurking there. llvm-svn: 59974
-
Ted Kremenek authored
llvm-svn: 59973
-
Zhongxing Xu authored
One design problem that is emerging is the signed-ness problem during static analysis. Many unsigned value have to be converted into signed value because it partipates in operations with signed values. On the other hand, we cannot blindly make all values occuring in static analysis signed, because we do have cases where unsignedness is required, for example, integer overflow detection. llvm-svn: 59957
-
Zhongxing Xu authored
llvm-svn: 59956
-
Zhongxing Xu authored
llvm-svn: 59951
-
Chris Lattner authored
uses of getName() with uses of getDeclName(). This upgrades a bunch of diags to take DeclNames instead of std::strings. This also tweaks a couple of diagnostics to be cleaner and changes CheckInitializerTypes/PerformInitializationByConstructor to pass around DeclarationNames instead of std::strings. llvm-svn: 59947
-
Zhongxing Xu authored
llvm-svn: 59943
-