- Aug 21, 2009
-
-
Zhongxing Xu authored
GRStateManager to create the SelfRegion. llvm-svn: 79628
-
Zhongxing Xu authored
llvm-svn: 79591
-
Zhongxing Xu authored
llvm-svn: 79590
-
Zhongxing Xu authored
to untie the ExplodedGraph from a specific Decl. llvm-svn: 79588
-
- Aug 20, 2009
-
-
Fariborz Jahanian authored
A field rename and more comments. llvm-svn: 79537
-
Ted Kremenek authored
just as if it behaved like an init function. This fixes <rdar://problem/7129086>. llvm-svn: 79515
-
Zhongxing Xu authored
Although this does not make the CFG more correct, it makes the CFG more beautiful without multiple roots. llvm-svn: 79509
-
Zhongxing Xu authored
Otherwise we get a wrong CFG. llvm-svn: 79507
-
Zhongxing Xu authored
llvm-svn: 79502
-
Ted Kremenek authored
fixing <rdar://problem/7152619>. Along the way, merge test cases in 'test/Analysis/rdar-6539791.c' into 'test/Analysis/retain-release.m'. llvm-svn: 79499
-
- Aug 19, 2009
-
-
Zhongxing Xu authored
and other core analysis logic will be untied to a particular Decl. llvm-svn: 79420
-
- Aug 18, 2009
-
-
Fariborz Jahanian authored
Removed an unnecessary loop to get to setters incoming argument. Added DoxyGen comments. Still more work to do in this area (WIP). llvm-svn: 79365
-
Zhongxing Xu authored
llvm-svn: 79328
-
Zhongxing Xu authored
BugReporter. llvm-svn: 79327
-
Ted Kremenek authored
which allows custom checks to register callback creator functions for creating BugReporterVisitor objects. This allows various checks to include diagnostics such as 'assuming value is null' with little extra work. Eventually this API should be refactored to be cleaner and more simple. llvm-svn: 79302
-
- Aug 17, 2009
-
-
Zhongxing Xu authored
of GRStateManager and GRExprEngine, pass the initial location context to the getInitialState() method. llvm-svn: 79228
-
- Aug 15, 2009
-
-
Zhongxing Xu authored
which is either a stack frame context of the function or a local scope context. llvm-svn: 79072
-
- Aug 07, 2009
-
-
-
Ted Kremenek authored
llvm-svn: 78407
-
Ted Kremenek authored
with array accesses. In the process, refactor some common logic in RetrieveElement() and RetrieveField() into RetrieveFieldOrElementCommon(). llvm-svn: 78349
-
- Aug 06, 2009
-
-
Ted Kremenek authored
involving reasoning about unions (which we don't handle yet). llvm-svn: 78342
-
Mike Stump authored
llvm-svn: 78305
-
Zhongxing Xu authored
Some Builders need further cleanup. llvm-svn: 78301
-
Zhongxing Xu authored
merge GRCoreEngineImpl and GRCoreEngine. Introduce a new interface class GRSubEngine as the subengine of GRCoreEngine. GRExprEngine subclasses GRSubEngine now. llvm-svn: 78298
-
Zhongxing Xu authored
merge ExplodedGraphImpl and ExplodedGraph. llvm-svn: 78291
-
-
Ted Kremenek authored
llvm-svn: 78284
-
Ted Kremenek authored
llvm-svn: 78280
-
Ted Kremenek authored
already been uniqued. llvm-svn: 78279
-
Zhongxing Xu authored
llvm-svn: 78273
-
Zhongxing Xu authored
and their impl base classes. This can greatly simply some code of the core analysis engine. This patch merges ExplodedNodeImpl into ExplodedNode. llvm-svn: 78270
-
Ted Kremenek authored
RegionStore already lazily abstracted the contents of arrays and structs, when doing an assignment from one array/struct to another we did an explicit element-wise copy, which resulted in a loss of laziness and huge performance problem when analyzing many code bases. Now RegionStoreManager handles such assignments using a new SVal could 'LazyCompoundSVal', which basically means the value of a given struct or array (a MemRegion*) in a specific state (GRState). When we do a load from a field whose encompassing struct binds to a LazyCompoundSVal, we essentially do a field lookup in the original structure. This means we have essentially zero copying of data for structs/arrays and everything stays lazy. llvm-svn: 78268
-
- Aug 05, 2009
-
-
Eli Friedman authored
llvm-svn: 78230
-
Ted Kremenek authored
region to the worklist used to create the subregion map. llvm-svn: 78228
-
Ted Kremenek authored
Fix a bug in RegionStoreSubRegionManager::add() where multiple subregions wouldn't correctly get registered in the SubRegion map. llvm-svn: 78162
-
Zhongxing Xu authored
constant value. If the UnaryOperator has location type, create the constant with int type and pointer width. This fixes the bug that all pointer increments 'p++' evaluated to Unknown. llvm-svn: 78147
-
- Aug 03, 2009
-
-
Ted Kremenek authored
llvm-svn: 78000
-
Zhongxing Xu authored
llvm-svn: 77961
-
- Aug 02, 2009
-
-
Ted Kremenek authored
llvm-svn: 77876
-
Ted Kremenek authored
llvm-svn: 77875
-