| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Migrated CFRefCount.cpp to use getBindings and BindingsAsString instead of
making assumptions about the Store (removed dependence on GRState::vb_iterator).
llvm-svn: 55522
|
| |
|
|
|
|
| |
Store.h)
llvm-svn: 55519
|
| |
|
|
|
|
| |
abstract representation of "memory regions" in the static analyzer.
llvm-svn: 55515
|
| |
|
|
|
|
|
|
| |
Their precise semantics will be implemented by a specific StoreManager.
Use function pointer to create the StoreManager in GRStateManager. This matches how we create ConstraintsManager.
llvm-svn: 55514
|
| |
|
|
| |
llvm-svn: 55494
|
| |
|
|
| |
llvm-svn: 55487
|
| |
|
|
| |
llvm-svn: 55448
|
| |
|
|
| |
llvm-svn: 55412
|
| |
|
|
| |
llvm-svn: 55403
|
| |
|
|
| |
llvm-svn: 55402
|
| |
|
|
| |
llvm-svn: 55392
|
| |
|
|
|
|
|
| |
Added 'getExtent()' to StoreManager.
Implemented 'getExtent()' for BasicStoreManager.
llvm-svn: 55321
|
| |
|
|
|
|
|
|
| |
an APInt directly to an ostream now, so add some hacks. It would
be better to switch all of the bugreport (and friends) stuff over
to raw_ostream.
llvm-svn: 55264
|
| |
|
|
| |
llvm-svn: 55213
|
| |
|
|
| |
llvm-svn: 55150
|
| |
|
|
| |
llvm-svn: 55144
|
| |
|
|
|
|
| |
This patch moves some code in GRStateManager::RemoveDeadBindings() to EnvironmentManager::RemoveDeadBindings().
llvm-svn: 55064
|
| |
|
|
| |
llvm-svn: 55060
|
| |
|
|
| |
llvm-svn: 55013
|
| |
|
|
|
|
|
| |
This patch extends BasicStoreManager::getInitialStore() to include code that symbolicates input variables.
It also removes redundant handling of ImplicitParamDecl, since it is a subclass of VarDecl.
llvm-svn: 54993
|
| |
|
|
|
|
|
|
|
|
|
| |
ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr):
Expr
-> CastExpr
-> ExplicitCastExpr
-> ImplicitCastExpr
llvm-svn: 54955
|
| |
|
|
| |
llvm-svn: 54874
|
| |
|
|
|
|
| |
directly, but instead have GRStateManager manage it.
llvm-svn: 54862
|
| |
|
|
|
|
| |
use the generic data map instead.
llvm-svn: 54860
|
| |
|
|
|
|
|
|
| |
specializations of GRStateTrait<>.
Modified GRStateTrait<ConstNotEq> in GRState to use the boilerplate in GRStateTrait<> for ImmutableMaps.
llvm-svn: 54859
|
| |
|
|
| |
llvm-svn: 54848
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
llvm-svn: 54798
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Updated checker state printer interface to allow transfer functions to return an arbitrary number of GRState::Printers.
llvm-svn: 54762
|
| |
|
|
|
|
| |
Rename ValueState.cpp -> GRState.cpp
llvm-svn: 54722
|
| |
|
|
|
|
| |
Rename ValueStateManager -> GRStateManager.
llvm-svn: 54721
|
| |
|
|
| |
llvm-svn: 54716
|
| |
|
|
|
|
| |
GRCoreEngineImpl.
llvm-svn: 54714
|
| |
|
|
| |
llvm-svn: 54704
|
| |
|
|
| |
llvm-svn: 54699
|
| |
|
|
| |
llvm-svn: 54696
|
| |
|
|
|
|
|
|
| |
this method. (code reduction).
Misc. cleanups.
llvm-svn: 54694
|
| |
|
|
|
|
|
|
| |
- Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h
- Moved Sema::getCurMethodDecl() out of line (dependent on
ObjCMethodDecl via dyn_cast).
llvm-svn: 54629
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move FormatError() from TextDiagnostic up to DiagClient, remove now
empty class TextDiagnostic
* Make DiagClient optional for Diagnostic
This fixes the following problems:
* -html-diags (and probably others) does now output the same set of
warnings as console clang does
* nothing crashes if one forgets to call setHeaderSearch() on
TextDiagnostic
* some code duplication is removed
llvm-svn: 54620
|
| |
|
|
| |
llvm-svn: 54605
|
| |
|
|
| |
llvm-svn: 54568
|
| |
|
|
|
|
| |
initialize to NULL.
llvm-svn: 54563
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 54492
|
| |
|
|
|
|
|
|
| |
over the ScopedDecls of a DeclStmt.
Updated a few clients of DeclStmt::getNextDeclarator() to use decl_iterator instead. Will update other clients after additional testing.
llvm-svn: 54368
|
| |
|
|
| |
llvm-svn: 54268
|
| |
|
|
|
|
| |
of the variable whose address was returned.
llvm-svn: 54253
|
| |
|
|
| |
llvm-svn: 54219
|
| |
|
|
| |
llvm-svn: 54106
|