- Dec 05, 2008
-
-
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
-
Chris Lattner authored
NamedDecl::getNameAsString() to make it more explicit. llvm-svn: 59937
-
Chris Lattner authored
a new NamedDecl::getAsString() method. Change uses of Selector::getName() to just pass in a Selector where possible (e.g. to diagnostics) instead of going through an std::string. This also adds new formatters for objcinstance and objcclass as described in the dox. llvm-svn: 59933
-
Zhongxing Xu authored
llvm-svn: 59932
-
Zhongxing Xu authored
llvm-svn: 59930
-
- Nov 23, 2008
-
-
Zhongxing Xu authored
llvm-svn: 59903
-
Zhongxing Xu authored
llvm-svn: 59899
-
- Nov 22, 2008
-
-
Chris Lattner authored
llvm-svn: 59879
-
Fariborz Jahanian authored
Issuing diagnostics when assigning to read-only properties. This is work in progress. llvm-svn: 59874
-
Zhongxing Xu authored
llvm-svn: 59870
-
Zhongxing Xu authored
ConcreteInt index for now. llvm-svn: 59869
-
- Nov 21, 2008
-
-
Ted Kremenek authored
- Add check for returning an undefined value to a caller. llvm-svn: 59764
-