- Mar 23, 2009
-
-
Ted Kremenek authored
A test case to test that -warn-dead-stores does not emit a warning for stores to variables marked with '#pragma unused'. llvm-svn: 67570
-
Ted Kremenek authored
<rdar://problem/6704930> involving SimpleConstraintManager not reasoning well about symbolic constraint values involving arithmetic operators. llvm-svn: 67534
-
Ted Kremenek authored
values passed-by-reference to unknown functions. llvm-svn: 67519
-
- Mar 19, 2009
-
-
Ted Kremenek authored
llvm-svn: 67327
-
Ted Kremenek authored
llvm-svn: 67260
-
- Mar 18, 2009
-
-
rdar://problem/6695527Ted Kremenek authored
SVal::GetRValueSymbolVal do the checking if we can symbolicate a type instead of having BasicStoreManager do it (which wasn't always doing the check consistently). Having this check in SVal::GetRValueSymbolVal keeps the check in one centralized place. llvm-svn: 67245
-
Zhongxing Xu authored
llvm-svn: 67154
-
- Mar 13, 2009
-
-
Ted Kremenek authored
to return an owning pointer. llvm-svn: 66934
-
Ted Kremenek authored
conditions. Currently the analyzer does not reason well about promotions/truncations of symbolic values, so at branch conditions when we see: if (condition) and condition is something like a 'short' or 'char', essentially ignore the promotion to 'int' so that we track constraints on the original symbolic value. We only ignore the casts if the underlying type has the same or fewer bits as the converted type. This fixes: <rdar://problem/6619921> llvm-svn: 66899
-
Ted Kremenek authored
is 64-bit. I used his suggestion of doing a direct bitwidth/signedness conversion of the 'offset' instead of just changing the sign. For more information, see: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-March/004587.html llvm-svn: 66892
-
- Mar 12, 2009
-
-
Ted Kremenek authored
Fix crash when using TypedViewRegions and ObjCQualifiedIdTypes (TypedViewRegion::getLValueType() was not implemented). llvm-svn: 66830
-
Daniel Dunbar authored
- Notably, clang now exits with an error if it can't find a file. This flushed out a bug in the CGColorSpace.c test case. :) llvm-svn: 66789
-
Zhongxing Xu authored
llvm-svn: 66760
-
- Mar 11, 2009
-
-
Ted Kremenek authored
not be consulted for its size expression when operator* was called in the StmtIterator (this resulted in an assertion failure). llvm-svn: 66679
-
Zhongxing Xu authored
The ElementRegion's type depends on the array region's rvalue type. If it was a pointer type, we would get a loc::SymbolVal for '*p'. llvm-svn: 66656
-
Zhongxing Xu authored
llvm-svn: 66649
-
Ted Kremenek authored
return an unsigned integer for a null pointer value. llvm-svn: 66630
-
Ted Kremenek authored
values. Indicating this in 'canReasonAbout' allows GRExprEngine to recover path-sensitivity in some cases. llvm-svn: 66628
-
- Mar 09, 2009
-
-
Ted Kremenek authored
llvm-svn: 66487
-
-
- Mar 05, 2009
-
-
Ted Kremenek authored
llvm-svn: 66211
-
Ted Kremenek authored
Fix regression in GRExprEngine::VisitCast: Do not wrap symbolic function pointers with TypedViewRegions. llvm-svn: 66187
-
Ted Kremenek authored
llvm-svn: 66168
-
Ted Kremenek authored
llvm-svn: 66166
-
Ted Kremenek authored
Test case: When using RegionStore with the retain/release checker, stop tracking objects assigned to self's ivar. llvm-svn: 66139
-
Ted Kremenek authored
llvm-svn: 66136
-
Ted Kremenek authored
llvm-svn: 66127
-
Ted Kremenek authored
llvm-svn: 66107
-
- Mar 04, 2009
-
-
Ted Kremenek authored
to unknown functions. Most of this logic should be eventually moved to RegionStore and be made lazy. llvm-svn: 66094
-
Ted Kremenek authored
llvm-svn: 65988
-
- Mar 03, 2009
-
-
Zhongxing Xu authored
llvm-svn: 65907
-
- Mar 01, 2009
-
-
Douglas Gregor authored
llvm-svn: 65777
-
- Feb 25, 2009
-
-
Ted Kremenek authored
expressions of the form: 'short x = (y != 10);' While we handle 'int x = (y != 10)' lazily, the cast to another integer type currently loses the symbolic constraint. Eager evaluation of the constraint causes the paths to bifurcate and eagerly evaluate 'y != 10' to a constant of 1 or 0. This should address <rdar://problem/6619921> until we have a better (more lazy approach) for handling promotions/truncations of symbolic integer values. llvm-svn: 65480
-
- Feb 24, 2009
-
-
rdar://problem/6611677Ted Kremenek authored
analyzer for array subscript expressions involving bases that are vectors. This solution is probably a hack: it gets the lvalue of the vector instead of an rvalue like all other types. This should be reviewed (big FIXME in GRExprEngine). llvm-svn: 65366
-
- Feb 23, 2009
-
-
Ted Kremenek authored
retain/release checker: For now don't track the retain count of NSWindow objects (opt for false negatives). llvm-svn: 65304
-
Ted Kremenek authored
llvm-svn: 65303
-
Ted Kremenek authored
llvm-svn: 65299
-
- Feb 21, 2009
-
-
Ted Kremenek authored
handle method names that contain 'new', 'copy', etc., but those words might be the substring of larger words such as 'newsgroup' and 'photocopy' that do not indicate the allocation of objects. This should address the issues discussed in <rdar://problem/6552389>. llvm-svn: 65224
-
- Feb 20, 2009
-
-
- Feb 19, 2009
-
-
Ted Kremenek authored
llvm-svn: 65048
-