- Aug 16, 2008
-
-
Ted Kremenek authored
- Remove ConstNotEq from GRState/GRStateManager (!= tracking uses GDM instead). - GRStateManager now can book-keep "contexts" (e.g., factory objects) for uses with data elements stored into the GDM. - Refactor pretty-printing of states to use GRState::Printer objects exclusively. This removed a huge amount of pretty-printing logic from GRExprEngine. CFRefCount - Simplified some API calls based on refinements to the GDM api. llvm-svn: 54835
-
- Aug 14, 2008
-
-
Ted Kremenek authored
of using CheckerState). Removed CheckerState from GRState. Added class GRStateRef which wraps GRState* and GRStateManager*. This is handy for generating new states with a single handle. Added member template set/get functions to GRStateRef/GRState/GRStateManager for accessing the Generic Data Map. llvm-svn: 54788
-
- Aug 13, 2008
-
-
Ted Kremenek authored
Updated checker state printer interface to allow transfer functions to return an arbitrary number of GRState::Printers. llvm-svn: 54762
-
Ted Kremenek authored
Rename ValueState.cpp -> GRState.cpp llvm-svn: 54722
-
Ted Kremenek authored
Rename ValueStateManager -> GRStateManager. llvm-svn: 54721
-
- Aug 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 54704
-
- Aug 08, 2008
-
-
Ted Kremenek authored
Added AssumeSymGT, AssumeSymGE, AssumeSymLT, AssumeSymLE to add some minor improvements to path-sensitivity. Right now we basically treat 'x > y' and 'x < y' as implying 'x != y', but this restriction will only inevitably apply to our must rudimentary value tracking component (we'll implement more advanced value reasoning later). llvm-svn: 54493
-
- Jul 22, 2008
-
-
Ted Kremenek authored
This implements <rdar://problem/6069935> llvm-svn: 53891
-
- Jul 18, 2008
-
-
Ted Kremenek authored
llvm-svn: 53743
-
- Jul 17, 2008
-
-
Ted Kremenek authored
Moved RemoveDeadBindings logic for the contents of 'Store' to a virtual RemoveDeadBindings method in StoreManager. llvm-svn: 53726
-
- Jul 11, 2008
-
-
Ted Kremenek authored
current store implementation is now encapsulated by BasicStore. These changes prompted some long due constification of ValueState. Much of the diffs in this patch include adding "const" qualifiers. llvm-svn: 53423
-
- Jul 10, 2008
-
-
Ted Kremenek authored
llvm-svn: 53412
-
- Jul 08, 2008
-
-
Ted Kremenek authored
Constraints. These concepts are already present in the current ValueState, but the implementation is monolothic. Making ValueState more modular opens up new design choices for customizing the analysis engine. In the context of the analysis engine, the "Environment" is the binding between Expr* (expressions) and intermediate symbolic values (RValues). llvm-svn: 53252
-
- Jul 07, 2008
-
-
Ted Kremenek authored
llvm-svn: 53172
-
- May 01, 2008
-
-
Ted Kremenek authored
Correctly invalidate reference count state when passing objects by reference in message expressions we don't understand. llvm-svn: 50541
-
- Apr 30, 2008
-
-
Ted Kremenek authored
llvm-svn: 50458
-
Ted Kremenek authored
llvm-svn: 50453
-
Ted Kremenek authored
This removes the failure in null-deref-ps.c (test suite). llvm-svn: 50449
-
- Apr 29, 2008
-
-
Ted Kremenek authored
EvalStore/EvalLoad to handle all loads/stores from symbolic memory, allowing us to do checks for null dereferences, etc., at any arbitrary load/store (these were missed checks before). This also resulted in some major cleanups, some conceptual, and others just in the structure of the code. This temporarily introduces a regression in the test suite (null-deref-ps.c) before I add a new LVal type for structure fields. llvm-svn: 50443
-
- Apr 25, 2008
-
-
Ted Kremenek authored
llvm-svn: 50246
-
Ted Kremenek authored
llvm-svn: 50245
-
Ted Kremenek authored
Implemented support for better localized leaks in the CF reference count checker. Now leaks should be flagged close to where they occur. This should implement the desired functionality in <rdar://problem/5879592>, although the diagnostics still need to be improved. llvm-svn: 50241
-
- Apr 24, 2008
-
-
Ted Kremenek authored
function logic to act when symbols become dead. llvm-svn: 50221
-
- Apr 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 50109
-
Ted Kremenek authored
Added "nonlval::LValAsInteger" to represent abstract LVals casted to integers, allowing us to track lvals when they are casted back to pointers. llvm-svn: 50108
-
- Mar 16, 2008
-
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-
- Mar 15, 2008
-
-
Ted Kremenek authored
llvm-svn: 48400
-
Ted Kremenek authored
levels; eventually we will need a plug-in model (similar to GRTransferFuncs) to represent symbolic memory. llvm-svn: 48399
-
- Mar 11, 2008
-
-
Ted Kremenek authored
object to pretty-print the component of a state that is specific to a checker. llvm-svn: 48237
-
Ted Kremenek authored
llvm-svn: 48214
-
- Mar 09, 2008
-
-
Ted Kremenek authored
Bug fix: Don't call RemoveDeadBindings more than once (can kill newly generated values to Block-Level Expressions). llvm-svn: 48079
-
- Mar 07, 2008
-
-
Ted Kremenek authored
llvm-svn: 48025
-
- Mar 06, 2008
-
-
Gabor Greif authored
llvm-svn: 47995
-
- Mar 05, 2008
-
-
Chris Lattner authored
llvm-svn: 47954
-
- Mar 04, 2008
-
-
Ted Kremenek authored
llvm-svn: 47894
-
- Feb 28, 2008
-
-
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
globals/parameters at the beginning of the analysis. llvm-svn: 47664
-
Ted Kremenek authored
llvm-svn: 47661
-
Ted Kremenek authored
Fix bug when processing '?' operator: invalidate the old "Uninitialized" value of the block-level expression for ?. llvm-svn: 47645
-