- 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
For now we just treat their values as "Unknown." llvm-svn: 47294
-
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 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
Fixed bug in transfer function for compound assignment operators when both operands where variables but had a non-pointer type (we fired an assertion). llvm-svn: 47184
-
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
-
Eli Friedman authored
llvm-svn: 47157
-
Ted Kremenek authored
llvm-svn: 47147
-
- Feb 14, 2008
-
-
Ted Kremenek authored
null-dereferences or bad control-flow red. llvm-svn: 47140
-
Ted Kremenek authored
Moved driver logic for --grsimple to GRSimpleVals.cpp. llvm-svn: 47137
-
Ted Kremenek authored
clang namespace. llvm-svn: 47136
-
Ted Kremenek authored
Still some cleanup to do, but this initial checkin compiles and runs correctly. llvm-svn: 47135
-
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
-
Ted Kremenek authored
llvm-svn: 47123
-
Ted Kremenek authored
from switch...case...default statements. llvm-svn: 47100
-
- Feb 13, 2008
-
-
Ted Kremenek authored
llvm-svn: 47076
-
Ted Kremenek authored
llvm-svn: 47072
-
Ted Kremenek authored
http://llvm.org/viewvc/llvm-project?rev=47070&view=rev llvm-svn: 47071
-
Ted Kremenek authored
Renamed class GRConstants => GRExprEngine. This was done with a Perl script, and will result in 80 col. violations that I will gradually fix up. llvm-svn: 47070
-
Ted Kremenek authored
llvm-svn: 47068
-
Ted Kremenek authored
llvm-svn: 47038
-
- Feb 12, 2008
-
-
Ted Kremenek authored
handling Non-Lvalues of the type nonlval::SymbolVal; we were accidentally casting them to lval::SymbolVal. llvm-svn: 47029
-
Ted Kremenek authored
doesn't support VLAs. Reordered some cases in the switch statement of GRConstant::Visit() so that they are ordered alphabetically based on AST node type. llvm-svn: 47021
-
Ted Kremenek authored
have been visited in a path. Added GRBlockCounter as an item to be enqueued to the worklist. Modified "ProcessBranch" in GRConstants to prune branches with symbolic conditions that have been already taken. llvm-svn: 47010
-
- 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
in VarKey and VariableBindingsTy. llvm-svn: 46887
-
Ted Kremenek authored
Fixed bug in dispatching to the correct transfer function for |=, &=, and ^|. llvm-svn: 46880
-
Ted Kremenek authored
llvm-svn: 46875
-
Ted Kremenek authored
Renamed UninitializedValue to UninitializedVal. llvm-svn: 46874
-
- Feb 07, 2008
-
-
Ted Kremenek authored
Minor cleanups with generating nodes for NULL-pointer dereferences. llvm-svn: 46851
-
Ted Kremenek authored
Modified the driver to pass the Diagnostic object to GRConstants. llvm-svn: 46847
-
Ted Kremenek authored
llvm-svn: 46846
-