- Oct 04, 2008
-
-
Ted Kremenek authored
This is a big patch, but the functionality change is small and the rest of the patch consists of deltas due to API changes. This patch overhauls the "memory region" abstraction that was prototyped (but never really used) as part of the Store.h. This patch adds MemRegion.h and MemRegion.cpp, which defines the class MemRegion and its subclasses. This classes serve to define an abstract representation of memory, with regions being layered on other regions to to capture the relationships between fields and variables, variables and the address space they are allocated in, and so on. The main motivation of this patch is that key parts of the analyzer assumed that all value bindings were to VarDecls. In the future this won't be the case, and this patch removes lval::DeclVal and replaces it with lval::MemRegionVal. Now all pieces of the analyzer must reason about abstract memory blocks instead of just variables. There should be no functionality change from this patch, but it opens the door for significant improvements to the analyzer such as field-sensitivity and object-sensitivity, both which were on hold until the memory abstraction got generalized. The memory region abstraction also allows type-information to literally be affixed to a memory region. This will allow the some now redundant logic to be removed from the retain/release checker. llvm-svn: 57042
-
- Aug 22, 2008
-
-
Zhongxing Xu authored
llvm-svn: 55150
-
- Aug 20, 2008
-
-
Ted Kremenek authored
This patch moves some code in GRStateManager::RemoveDeadBindings() to EnvironmentManager::RemoveDeadBindings(). llvm-svn: 55064
-
- Aug 19, 2008
-
-
Argyrios Kyrtzidis authored
Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr): Expr -> CastExpr -> ExplicitCastExpr -> ImplicitCastExpr llvm-svn: 54955
-
- 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
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- May 18, 2006
-
-
Evan Cheng authored
llvm-svn: 28378
-
- May 17, 2006
-
-
Evan Cheng authored
llvm-svn: 28368
-
- Jan 27, 2006
-
-
Chris Lattner authored
llvm-svn: 25674
-
- Jan 23, 2006
-
-
Duraid Madina authored
die, die!! r15, you are not callee-saved llvm-svn: 25527
-
Duraid Madina authored
fix register corruption! (my god.) r15 is a scratch reg, using that as a frame pointer is a pretty doofus thing to do. use r5 instead, and mark it callee-saved, coz that's what it is! llvm-svn: 25526
-
- Dec 22, 2005
-
-
Duraid Madina authored
llvm-svn: 24939
-
- Sep 30, 2005
-
-
Chris Lattner authored
as callee save. They can never be generated by the compiler. llvm-svn: 23551
-
- Apr 06, 2005
-
-
Duraid Madina authored
care of this ourselves llvm-svn: 21110
-
- Mar 17, 2005
-
-
Duraid Madina authored
PHASE 1: write instruction selector PHASE 2: ??? PHASE 3: profit! llvm-svn: 20652
-