- Mar 10, 2008
-
-
Chris Lattner authored
with gcc 4.4, patch by Shantonu Sen! llvm-svn: 48155
-
- Mar 07, 2008
-
-
Ted Kremenek authored
llvm-svn: 48037
-
Ted Kremenek authored
that are not related to error nodes. Fixed bug where we did not detect some NULL dereferences. Added "ExplodedGraph::Trim" to trim all nodes that cannot transitively reach a set of provided nodes. Fixed subtle bug in ExplodedNodeImpl where we could create predecessor iterators that included the mangled "sink" bit. The better fix is to integrate this bit into the void* for the wrapped State, not the NodeGroups representing a node's predecessors and successors. llvm-svn: 48036
-
Ted Kremenek authored
llvm-svn: 48025
-
Ted Kremenek authored
divide-by-zero errors. llvm-svn: 48013
-
- Mar 06, 2008
-
-
Gabor Greif authored
llvm-svn: 47995
-
- Mar 05, 2008
-
-
Chris Lattner authored
llvm-svn: 47954
-
Ted Kremenek authored
GRStmtNodeBuilder and is now responsible for adding its own nodes to the graph. llvm-svn: 47923
-
- Mar 04, 2008
-
-
Ted Kremenek authored
llvm-svn: 47912
-
Ted Kremenek authored
llvm-svn: 47873
-
- Mar 01, 2008
-
-
Ted Kremenek authored
as arguments. llvm-svn: 47778
-
Ted Kremenek authored
or otherwise a constant integer value that doesn't evaluate to an address. llvm-svn: 47774
-
- Feb 28, 2008
-
-
Ted Kremenek authored
Cache the location of the error. Don't emit the same warning for the same error type that occurs at the same program location but along a different path. llvm-svn: 47727
-
Ted Kremenek authored
This current implementation only works when both operands are concrete values; later we will add support for symbolic values. llvm-svn: 47726
-
Ted Kremenek authored
Merged ValueState and ValueStateImpl into just ValueState, with GRExprEngine::StateTy just becoming ValueState*. llvm-svn: 47714
-
Ted Kremenek authored
llvm-svn: 47713
-
- Feb 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 47691
-
Ted Kremenek authored
llvm-svn: 47678
-
Ted Kremenek authored
llvm-svn: 47661
-
Ted Kremenek authored
GRSimpleVals performs the following action: invalidate all values passed-by-reference. llvm-svn: 47638
-
- Feb 26, 2008
-
-
Ted Kremenek authored
Use custom diagnostics for static analysis checkers. Added warnings for dereferencing uninitialized values and divide-by-zeroes. llvm-svn: 47626
-
- Feb 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 47489
-
Ted Kremenek authored
assumption logic for lval::DeclVal. llvm-svn: 47466
-
- Feb 21, 2008
-
-
Ted Kremenek authored
llvm-svn: 47446
-
Ted Kremenek authored
the transfer function to be invoked without an Expr* for the Cast operation. Added implicit promotions to the transfer function logic for compound assignments. llvm-svn: 47444
-
Ted Kremenek authored
based on constant. prop. and limited symbolics. - Renamed class: RValue -> RVal, LValue -> LVal, etc. - Minor method renamings and interface cleanups. - Tightened the RVal "type system" so that UninitializedVal and UnknownVal cannot be cast to LVal or NonLVal. This forces these corner cases values to be explicitly handled early before being dispatched to plug-in transfer function logic. - Major cleanup in the transfer function logic for binary and unary operators. Still fixing some regressions, but we now explicitly handle Uninitialized and Unknown values in a more rigorous way. llvm-svn: 47441
-
- Feb 20, 2008
-
-
Ted Kremenek authored
llvm-svn: 47357
-
- Feb 19, 2008
-
-
Ted Kremenek authored
or UnknownVal to be interpreted as an actual NonLValue/LValue. llvm-svn: 47304
-
Ted Kremenek authored
an analyzed function. GRExprEngine now records stores to "uninitialized lvalues" (which are sinks in the ExplodedGraph). llvm-svn: 47293
-
- Feb 18, 2008
-
-
Ted Kremenek authored
UninitializedVals and UnknownVals. llvm-svn: 47288
-
Ted Kremenek authored
We will implement symbol "unification" later. llvm-svn: 47284
-
- Feb 17, 2008
-
-
Eli Friedman authored
but the fixes are reasonable. llvm-svn: 47224
-
- Feb 16, 2008
-
-
Ted Kremenek authored
Fixed bug in transfer functions for sizeof(*); we were incorrectly evaluating to a value of the wrong type. Fixed bug in transfer functions for compound assignments where we did not properly handle assignments involving dereferences of symbolic values. llvm-svn: 47190
-
- Feb 15, 2008
-
-
Ted Kremenek authored
llvm-svn: 47147
-
Ted Kremenek authored
--grsimple except that it visualizes the ExplodedGraph using dot and outputs the current function being analyzed. --grsimple is now silent except when it emits diagnostics. llvm-svn: 47146
-
- Feb 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 47139
-
Ted Kremenek authored
Moved driver logic for --grsimple to GRSimpleVals.cpp. llvm-svn: 47137
-
Ted Kremenek authored
from RValues to GRTransferFuncs/GRSimpleVals. llvm-svn: 47131
-
Ted Kremenek authored
llvm-svn: 47126
-
Ted Kremenek authored
these operations) into GRTransferFuncs and its subclasses. Originally all of this logic was handled by the class RValue, but in reality different analyses will want more flexibility on how they evaluate different values. Transfer functions migrated so far: "Cast" llvm-svn: 47125
-