- 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
-
Ted Kremenek authored
Enhance dataflow analyses to recognize branch statements in the CFG used as hooks for the initialization of condition variables. llvm-svn: 92119
-
Zhongxing Xu authored
llvm-svn: 92116
-
Ted Kremenek authored
llvm-svn: 92114
-
Ted Kremenek authored
llvm-svn: 92113
-
Ted Kremenek authored
CFG tweak: in a WhileStmt, the condition variable initializer is evaluated every time the condition is checked. llvm-svn: 92111
-
Ted Kremenek authored
llvm-svn: 92106
-
Ted Kremenek authored
llvm-svn: 92105
-
Ted Kremenek authored
llvm-svn: 92102
-
Ted Kremenek authored
llvm-svn: 92101
-
Ted Kremenek authored
llvm-svn: 92087
-
- Dec 23, 2009
-
-
Nuno Lopes authored
llvm-svn: 92012
-
Zhongxing Xu authored
llvm-svn: 91991
-
Zhongxing Xu authored
So we should use the current program point. llvm-svn: 91989
-
Ted Kremenek authored
Add transfer function support in GRExprEngine for IfStmts with initialized condition variables. llvm-svn: 91987
-
Ted Kremenek authored
llvm-svn: 91986
-
Ted Kremenek authored
llvm-svn: 91985
-
Ted Kremenek authored
llvm-svn: 91982
-
Ted Kremenek authored
Fix PR 5857. When casting from a symbolic region to an integer back to a pointer value, we were not correctly layering the correct ElementRegion on the original SymbolicRegion. llvm-svn: 91981
-
Ted Kremenek authored
llvm-svn: 91970
-
Ted Kremenek authored
Also treat the type of the subexpression as a pointer in GRExprEngine::VisitCast when the expression is handled as an lvalue. llvm-svn: 91969
-
Ted Kremenek authored
llvm-svn: 91952
-
- Dec 22, 2009
-
-
Ted Kremenek authored
Add transfer functions support for visiting an Objective-C message expression as an lvalue when the return type is a C++ reference. llvm-svn: 91926
-
- Dec 21, 2009
-
-
Zhongxing Xu authored
llvm-svn: 91818
-
- Dec 19, 2009
-
-
Zhongxing Xu authored
llvm-svn: 91751
-
- Dec 18, 2009
-
-
Ted Kremenek authored
Enhance GRExprEngine::VisitCallExpr() to be used in an lvalue context. Uncovered a new failing test case along the way, but we're making progress on handling C++ references in the analyzer. llvm-svn: 91710
-
- Dec 17, 2009
-
-
Ted Kremenek authored
llvm-svn: 91615
-
Ted Kremenek authored
Convert GRExprEngine::VisitCallExpr() to use a worklist instead of recursion to evaluate the arguments of a CallExpr. This simplifies the logic and makes it easier to read. (it also avoids any issues with blowing out the stack if the CallExpr had a ridiculous number of arguments) llvm-svn: 91613
-
Ted Kremenek authored
llvm-svn: 91610
-
Ted Kremenek authored
llvm-svn: 91591
-
Ted Kremenek authored
llvm-svn: 91577
-
Ted Kremenek authored
llvm-svn: 91572
-