- 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 29, 2008
-
-
Ted Kremenek authored
"Refinement" of hack to bound loop-traversals: visit any block at a maximum of 3 times along a given path. llvm-svn: 47766
-
- Feb 28, 2008
-
-
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: 47690
-
Ted Kremenek authored
variables as uninitialized, and only "initialize" static function variables. llvm-svn: 47683
-
Ted Kremenek authored
In such cases, handle them just like Visit(). llvm-svn: 47665
-
Ted Kremenek authored
globals/parameters at the beginning of the analysis. llvm-svn: 47664
-
Ted Kremenek authored
llvm-svn: 47661
-
Ted Kremenek authored
ExplodedNode for the Callee subexpression we would not evaluate the CallExpr transfer function. llvm-svn: 47651
-
Ted Kremenek authored
sometimes skip evaluating all the arguments when some arguments would not create new ExplodedNodes. llvm-svn: 47650
-
Ted Kremenek authored
Fix bug when processing '?' operator: invalidate the old "Uninitialized" value of the block-level expression for ?. llvm-svn: 47645
-
- Feb 26, 2008
-
-
Ted Kremenek authored
uninitialized) value. At this point we're just too imprecise. llvm-svn: 47636
-
Ted Kremenek authored
Use custom diagnostics for static analysis checkers. Added warnings for dereferencing uninitialized values and divide-by-zeroes. llvm-svn: 47626
-
Ted Kremenek authored
llvm-svn: 47620
-
Ted Kremenek authored
CharacterLiteral expressions. llvm-svn: 47617
-
Ted Kremenek authored
now store in the state essentially which branch we took. This removes a bunch of bogus assumptions (and likely bugs), reduces the complexity of the implementation, and facilitates more optimizations. llvm-svn: 47613
-
Ted Kremenek authored
llvm-svn: 47590
-
Ted Kremenek authored
Added recording of divide-by-zero and divide-by-uninitialized nodes. llvm-svn: 47586
-
Ted Kremenek authored
llvm-svn: 47578
-
- Feb 25, 2008
-
-
Ted Kremenek authored
llvm-svn: 47562
-
Ted Kremenek authored
"remainder-by-zero" checking (operator '%'). llvm-svn: 47549
-
Ted Kremenek authored
llvm-svn: 47547
-
- Feb 22, 2008
-
-
Ted Kremenek authored
assumption logic for lval::DeclVal. llvm-svn: 47466
-
Ted Kremenek authored
against '0' of the same bit-width. llvm-svn: 47465
-
- Feb 21, 2008
-
-
Ted Kremenek authored
about. The default logic is to invalidate the values of all values passed-by-reference. llvm-svn: 47456
-
Ted Kremenek authored
llvm-svn: 47449
-
Ted Kremenek authored
do so implicitly. llvm-svn: 47447
-
Ted Kremenek authored
llvm-svn: 47445
-
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
llvm-svn: 47443
-
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
-
Ted Kremenek authored
the same time clearing up some logic of how the unary '*' operator is processed. llvm-svn: 47356
-
- Feb 19, 2008
-
-
Ted Kremenek authored
for pointer dereferences. llvm-svn: 47340
-
Ted Kremenek authored
cast's subexpression even if the cast itself has no effect. llvm-svn: 47335
-
Ted Kremenek authored
llvm-svn: 47333
-
Ted Kremenek authored
CharacterLiterals. This may not be a permanent solution; it doesn't cost that much, however, to create a few additional states, and solves a whole bunch of edge cases when handling ?, ||, and &&. llvm-svn: 47299
-