- Dec 06, 2008
-
-
Ted Kremenek authored
llvm-svn: 60622
-
- Dec 05, 2008
-
-
Ted Kremenek authored
Rename SymbolID to SymbolRef. This is a precursor to some overhauling of the representation of symbolic values. llvm-svn: 60575
-
- Nov 30, 2008
-
-
Zhongxing Xu authored
This fixes PR3127 http://llvm.org/bugs/show_bug.cgi?id=3127 llvm-svn: 60280
-
- Nov 28, 2008
-
-
Zhongxing Xu authored
llvm-svn: 60206
-
- Nov 27, 2008
-
-
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 24, 2008
-
-
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: 59951
-
- Nov 23, 2008
-
-
Zhongxing Xu authored
llvm-svn: 59903
-
- Nov 22, 2008
-
-
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
-
- Nov 16, 2008
-
-
Zhongxing Xu authored
environment. llvm-svn: 59407
-
Zhongxing Xu authored
- RegionView and RegionViewMap is introduced to assist back-mapping from super region to subregions. - GDM is used to carry RegionView information. - AnonTypedRegion is added to represent a typed region introduced by pointer casting. Later AnonTypedRegion can be used in other similar cases, e.g., malloc()'ed region. - The specific conversion is delegated to store manager. llvm-svn: 59382
-
- Nov 15, 2008
-
-
Ted Kremenek authored
llvm-svn: 59354
-
Ted Kremenek authored
Reverted part of r59335: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20081110/009243.html In that patch I added a bogus type promotion for unary '!'. The real bug was more fallout from edges cases with compound assignments and conjured symbolic values. Now the conjured value has the type of the LHS expression, and we do a promotion to the computation type. We also now correctly do a conversion from the computation type back to the LHS type. llvm-svn: 59349
-
Ted Kremenek authored
llvm-svn: 59348
-
Ted Kremenek authored
llvm-svn: 59343
-
Ted Kremenek authored
Implement FIXME in GRExprEngine::VisitUnaryOperator() to handle implicit conversions caused by the '!' operator. This required adding some logic to GRSimpleVals to reason about nonloc::LocAsInteger SVals. This code appears to work fine, but it should eventually be cleaned up. llvm-svn: 59335
-
- Nov 14, 2008
-
-
Ted Kremenek authored
Second attempt at implementation transfer function support for ObjCForCollectionStmt. We now assume that the 'element' expression can be any lvalue. llvm-svn: 59313
-
Douglas Gregor authored
function call created in response to the use of operator syntax that resolves to an overloaded operator in C++, e.g., "str1 + str2" that resolves to std::operator+(str1, str2)". We now build a CXXOperatorCallExpr in C++ when we pick an overloaded operator. (But only for binary operators, where we actually implement overloading) I decided *not* to refactor the current CallExpr to make it abstract (with FunctionCallExpr and CXXOperatorCallExpr as derived classes). Doing so would allow us to make CXXOperatorCallExpr a little bit smaller, at the cost of making the argument and callee accessors virtual. We won't know if this is going to be a win until we can parse lots of C++ code to determine how much memory we'll save by making this change vs. the performance penalty due to the extra virtual calls. llvm-svn: 59306
-
Zhongxing Xu authored
llvm-svn: 59294
-
- Nov 13, 2008
-
-
Ted Kremenek authored
- Temporarily disabled test Analysis/array-struct.c for region store. llvm-svn: 59245
-
Zhongxing Xu authored
This is required by some operations, e.g., *p = 1; p[0] = 1;. Also set the AllocaRegion's type during the cast. llvm-svn: 59232
-
Ted Kremenek authored
GRExprEngine/CFRefCount/GRSimpleVals: We don't do any special handling (yet) of vector types. Add explicit checks that when we process integers that they really are scalars. llvm-svn: 59225
-
Ted Kremenek authored
- Don't crash on vector types. - Handle typedefs. llvm-svn: 59220
-
- Nov 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 59162
-
Ted Kremenek authored
Add (preliminary) transfer function support for ObjCForCollectionStmt. Still need to flesh out some logic. When processing DeclStmt, use the new interface to StateManager::BindDecl. Conjuring of symbols is now done in VisitDeclStmt. llvm-svn: 59155
-
- Nov 11, 2008
-
-
Sebastian Redl authored
Introduce a single AST node SizeOfAlignOfExpr for all sizeof and alignof expressions, both of values and types. llvm-svn: 59057
-
- Nov 10, 2008
-
-
Chris Lattner authored
llvm-svn: 58956
-
- Nov 08, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58886
-
- Nov 07, 2008
-
-
Zhongxing Xu authored
available, things get much simplified. One addition is that CompoundLiteralExpr can appear both in rvalue and lvalue context. llvm-svn: 58837
-
- Nov 02, 2008
-
-
Ted Kremenek authored
llvm-svn: 58552
-
- Oct 31, 2008
-
-
Ted Kremenek authored
Comment out invalid assertion. I'm leaving it in the code for now as a reminder to produce a test case. llvm-svn: 58510
-
Zhongxing Xu authored
llvm-svn: 58495
-
Zhongxing Xu authored
llvm-svn: 58492
-
Zhongxing Xu authored
llvm-svn: 58487
-
Ted Kremenek authored
llvm-svn: 58468
-
- Oct 30, 2008
-
-
Ted Kremenek authored
llvm-svn: 58446
-
Ted Kremenek authored
llvm-svn: 58444
-
Ted Kremenek authored
llvm-svn: 58440
-