- Feb 21, 2008
-
-
Ted Kremenek authored
an error to cast it to LVal. llvm-svn: 47450
-
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
the same time clearing up some logic of how the unary '*' operator is processed. llvm-svn: 47356
-
- Feb 19, 2008
-
-
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
-
Ted Kremenek authored
llvm-svn: 47298
-
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
-
- Feb 15, 2008
-
-
Ted Kremenek authored
Added more boilerplate transfer function support for pointer arithmetic. Added more pretty-printing support for symbolic constraints. Added transfer function support for handling enum values. Minor pointer types cleanup in ExplodedGraphImpl. llvm-svn: 47183
-
Ted Kremenek authored
referenced by an RValue, instead of having to query the type of the RValue. Modified ValueState::RemoveDeadBindings to also prune dead symbols. llvm-svn: 47142
-
- Feb 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 47030
-
Ted Kremenek authored
Added transfer function support for CharacterLiteral. llvm-svn: 47014
-
Ted Kremenek authored
factories. Fixed a horrible bug in lval:DeclVar::classof(RValue* V); we weren't checking V was an LValue, allowing nonlval::ConcereteInts to match isa<lval::DeclVar>. llvm-svn: 46976
-
- Feb 11, 2008
-
-
Ted Kremenek authored
bindings for block-level expressions. Moved pretty-printing logic (DOT) for ValueStates to ValueState.cpp. llvm-svn: 46965
-
- Feb 08, 2008
-
-
Ted Kremenek authored
llvm-svn: 46892
-
Ted Kremenek authored
Expr* instead of a Stmt*, since we only store bindings for Expr*. llvm-svn: 46891
-
Ted Kremenek authored
GRConstants logic to ValueStateManager. llvm-svn: 46888
-
Ted Kremenek authored
llvm-svn: 46875
-
Ted Kremenek authored
Renamed UninitializedValue to UninitializedVal. llvm-svn: 46874
-
- Feb 07, 2008
-
-
Ted Kremenek authored
llvm-svn: 46843
-
Ted Kremenek authored
Fixed bug in RemoveDeadBindings by implementing a simple "mark-and-sweep" cleaner over the bindings, starting from the Decls and block-level expressions that are considered "live" by the Liveness analysis. Fixed bug in isa<> implementation for class LValue. Added "VisitDeclRefExpr" to GRConstants so that we explicitly bind the current value of variable to the Block-level Expression (i.e., when the DeclRefExpr is at the CFGBlock level). llvm-svn: 46839
-
Ted Kremenek authored
Fixed insidious bug in handling dereferences. llvm-svn: 46835
-
- Feb 06, 2008
-
-
Ted Kremenek authored
using the bump-pointer allocator and a placed new; we accidentally allocated a ValueStateImpl* instead, causing an overrun when we did a placed new(). llvm-svn: 46793
-
Ted Kremenek authored
This action will add constraints to the possible values of a symbol. Still needs to be debugged. llvm-svn: 46789
-
- Feb 05, 2008
-
-
Ted Kremenek authored
This noticeably cleans up the naming of these classes. llvm-svn: 46770
-
Ted Kremenek authored
Added a "ConstantNotEq" map to ValueState (and added necessary typedefs and factory objects to ValueStateManager). llvm-svn: 46758
-
Ted Kremenek authored
structure that can contain several maps, not just one. llvm-svn: 46744
-
Ted Kremenek authored
__builtin_choose. llvm-svn: 46731
-
- Feb 04, 2008
-
-
Ted Kremenek authored
llvm-svn: 46722
-