- Jan 24, 2010
-
-
Chris Lattner authored
llvm-svn: 94379
-
- Jan 22, 2010
-
-
Zhongxing Xu authored
handling (for C++). No functionality change for now. llvm-svn: 94153
-
- Jan 21, 2010
-
-
Mike Stump authored
unary operators. llvm-svn: 94084
-
Mike Stump authored
CallExprs as those edges help cause a n^2 explosion in the number of destructor calls. Other consumers, such as static analysis, that would like to have more a more complete CFG can select the inclusion of those edges as CFG build time. This also fixes up the two compilation users of CFGs to be tolerant of having or not having those edges. All catch code is assumed be to live if we didn't generate the exceptional edges for CallExprs. llvm-svn: 94074
-
Mike Stump authored
the CFG. WIP. llvm-svn: 94062
-
- Jan 20, 2010
-
-
Zhongxing Xu authored
llvm-svn: 93999
-
Mike Stump authored
llvm-svn: 93963
-
Mike Stump authored
context (try or the Exit block) when there isn't a catch (...). Improve CFG printing for catch (...). llvm-svn: 93962
-
- Jan 19, 2010
-
-
Mike Stump authored
implicit destructor calls. WIP. llvm-svn: 93922
-
Ted Kremenek authored
Tighten code and rework indentation of some if() branches (for readability). No functionality change. llvm-svn: 93904
-
Ted Kremenek authored
llvm-svn: 93903
-
Ted Kremenek authored
llvm-svn: 93902
-
Zhongxing Xu authored
intermediate destination set Tmp4. llvm-svn: 93873
-
Mike Stump authored
llvm-svn: 93840
-
- Jan 18, 2010
-
-
Zhongxing Xu authored
malloc(). llvm-svn: 93722
-
Zhongxing Xu authored
is called on a pointer that does not get its value directly from malloc. llvm-svn: 93706
-
- Jan 15, 2010
-
-
Ted Kremenek authored
Don't suggest the developer use 'arc4random' instead of 'rand' when that function is not available. Fixes PR 6012. llvm-svn: 93508
-
Ted Kremenek authored
Teach BugReporter to "escape" the occurance of '%' characters in diagnostic messages when emitted results to the standard Diagnostics output. Fixes PR 6033. llvm-svn: 93507
-
Ted Kremenek authored
llvm-svn: 93506
-
- Jan 14, 2010
-
-
Zhongxing Xu authored
llvm-svn: 93422
-
- Jan 13, 2010
-
-
Mike Stump authored
llvm-svn: 93287
-
- Jan 11, 2010
-
-
Benjamin Kramer authored
llvm-svn: 93181
-
Benjamin Kramer authored
llvm-svn: 93175
-
Ken Dyck authored
"ASTContext::getTypeSize() / 8". Replace [u]int64_t variables with CharUnits ones as appropriate. Also rename RawType, fromRaw(), and getRaw() in CharUnits to QuantityType, fromQuantity(), and getQuantity() for clarity. llvm-svn: 93153
-
Zhongxing Xu authored
The old test case has a little mistake. llvm-svn: 93148
-
Zhongxing Xu authored
This with previous patch fixes a OSAtomic test case. llvm-svn: 93146
-
Ted Kremenek authored
value bindings. Along with a small change to OSAtomicChecker, this resolves <rdar://problem/7527292> and resolves some long-standing issues with how values can be bound to the same physical address by not have the same "key". This change is only a beginning; logically RegionStore needs to better handle loads from addresses where the stored value is larger/smaller/different type than the loaded value. We handle these cases in an approximate fashion now (via CastRetrievedVal and help in SimpleSValuator), but it could be made much smarter. llvm-svn: 93137
-
Ted Kremenek authored
(1) Introduce a new 'BindingKey' class to match 'BindingValue'. This gives us the flexibility to change the current key value from 'const MemRegion*' to something more interesting. (2) Rework additions/removals/lookups from the store to use new 'Remove', 'Add', 'Lookup' utility methods. No "real" functionality change; just prep work and abstraction. llvm-svn: 93136
-
- Jan 09, 2010
-
-
Ted Kremenek authored
CallExpr/ObjCMessageExpr can be visited in an "lvalue" context if it returns a struct temporary. Currently the analyzer doesn't reason about struct temporary returned by function calls, but we shouldn't crash here either. llvm-svn: 93081
-
Ted Kremenek authored
llvm-svn: 93071
-
Zhongxing Xu authored
CXXObjectRegion to represent it. In Environment, lookup a literal expression before make up a value for it. llvm-svn: 93047
-
- Jan 08, 2010
-
-
Ted Kremenek authored
when the default case is winnowed down to be infeasible. When all cases were ruled out (and the analysis state for the default case would be infeasible) we would still consider the default case possible. This fixes PR 5969. llvm-svn: 93017
-
- Jan 05, 2010
-
-
Zhongxing Xu authored
ASTContext::hasSameUnqualifiedType() when one of the type is VariableArrayType. llvm-svn: 92723
-
Ted Kremenek authored
Make static analysis support for C++ 'this' expression context-sensitive. Essentially treat 'this' as a implicit parameter to the method call, and associate a region with it. llvm-svn: 92675
-
Ted Kremenek authored
GRStateManager. Having these references was an abstraction violation, as they really should only be known about GRExprEngine. This change required adding a new 'ProcessAssume' callback in GRSubEngine. GRExprEngine implements this callback by calling 'EvalAssume' on all registered Checker objects as well as the registered GRTransferFunc object. llvm-svn: 92549
-
- Dec 31, 2009
-
-
Zhongxing Xu authored
Add new states for symbolic regions tracked by malloc checker. This enables us to do malloc checking more accurately. See test case. Based on Lei Zhang's patch and discussion. llvm-svn: 92342
-
- Dec 30, 2009
-
-
Zhongxing Xu authored
llvm-svn: 92305
-
- Dec 25, 2009
-
-
Benjamin Kramer authored
llvm-svn: 92162
-
Benjamin Kramer authored
GRExprEngine.cpp(1348) : warning C4305: 'argument' : truncation from 'clang::ProgramPoint::Kind' to 'bool' llvm-svn: 92154
-
- Dec 24, 2009
-
-
Zhongxing Xu authored
llvm-svn: 92121
-