- Feb 22, 2008
-
-
Ted Kremenek authored
is symbolic. llvm-svn: 47463
-
- 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
an error to cast it to LVal. llvm-svn: 47450
-
Ted Kremenek authored
llvm-svn: 47449
-
Ted Kremenek authored
do so implicitly. llvm-svn: 47447
-
Ted Kremenek authored
llvm-svn: 47446
-
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
two concrete integer values. llvm-svn: 47341
-
Ted Kremenek authored
for pointer dereferences. llvm-svn: 47340
-
Ted Kremenek authored
another symbolic value. llvm-svn: 47339
-
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
or UnknownVal to be interpreted as an actual NonLValue/LValue. llvm-svn: 47304
-
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
-
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
their own [.cpp;.h] files. llvm-svn: 47201
-
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
-
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
-
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 14, 2008
-
-
Ted Kremenek authored
null-dereferences or bad control-flow red. llvm-svn: 47140
-
Ted Kremenek authored
llvm-svn: 47139
-
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
-