- Apr 16, 2008
-
-
Ted Kremenek authored
two worklists: for nodes whose locations are block edges with loop terminators and another for nodes with all other locations. We only dequeue from the loop worklist when the other is empty. Exploration of the graph is still in reverse-BFS. llvm-svn: 49791
-
Ted Kremenek authored
llvm-svn: 49771
-
Ted Kremenek authored
llvm-svn: 49763
-
Ted Kremenek authored
llvm-svn: 49756
-
Ted Kremenek authored
to start logically organizing them. Added initial plug-in transfer function support for Objective-C message expressions. llvm-svn: 49752
-
Ted Kremenek authored
as before r49748 (where BlockVarDecl was removed). llvm-svn: 49749
-
Steve Naroff authored
Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl(). This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it). llvm-svn: 49748
-
- Apr 15, 2008
-
-
Ted Kremenek authored
Fix bug in terminator processing for uninitialized-values: simply ignore the terminator, don't reprocess it. LiveVariables analysis now does a flow-insensitive analysis to determine what variables have their address taken; these variables are now always treated as being live. The DataflowSolver now uses "SetTopValue()" when getting the initial value for the entry/exit block. llvm-svn: 49734
-
Argyrios Kyrtzidis authored
llvm-svn: 49727
-
Ted Kremenek authored
llvm-svn: 49711
-
Ted Kremenek authored
in a block's terminator. This expression is visited within a block, but it is accessed by the terminator. This is important to observe because for live-variables analysis the block-level expression is live between the terminator and where the expression occurs in the block. So far this hasn't been an issue to not observe this because the block-level expression used in the terminator is always the last one in the block, and we have never queried the liveness information about this point (but before the terminator). llvm-svn: 49709
-
Ted Kremenek authored
in a DeclStmt. llvm-svn: 49708
-
Ted Kremenek authored
"Alive" as opposed to staying the same. llvm-svn: 49707
-
Ted Kremenek authored
is still live. llvm-svn: 49705
-
- Apr 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 49672
-
Ted Kremenek authored
llvm-svn: 49668
-
Ted Kremenek authored
assume that DeclStmts only have VarDecls; they can have TypedefDecls. llvm-svn: 49662
-
Ted Kremenek authored
to functions with NULL summaries. llvm-svn: 49660
-
Ted Kremenek authored
warnings are emitted as part of the warnings registered by GRSimpleVals. llvm-svn: 49658
-
- Apr 12, 2008
-
-
Ted Kremenek authored
Still need some boilerplate in BugReporter to report bugs at the end of a function (not associated with a particular statement). llvm-svn: 49564
-
Ted Kremenek authored
evaluating transfer functions at the end-of-path. llvm-svn: 49561
-
- Apr 11, 2008
-
-
Ted Kremenek authored
llvm-svn: 49558
-
Ted Kremenek authored
llvm-svn: 49556
-
Ted Kremenek authored
GRSimpleVals::EvalCal(), and don't change reference counts. Remove "getDoNothingSummary()", as a NULL summary does the same thing. Added temporary hack for the "Get" rule for objects that return a pointer type: treat them as non-owned CF objects. Added test case to detect the release of a non-owned object. llvm-svn: 49555
-
Ted Kremenek authored
llvm-svn: 49552
-
Ted Kremenek authored
llvm-svn: 49551
-
Ted Kremenek authored
use-after-release errors. Added test case. llvm-svn: 49509
-
Ted Kremenek authored
llvm-svn: 49505
-
Ted Kremenek authored
llvm-svn: 49503
-
Ted Kremenek authored
code path in the clang driver. Renamed options --grsimple to -checker-simple and -check-cfref to -checker-cfref. llvm-svn: 49500
-
- Apr 10, 2008
-
-
Ted Kremenek authored
llvm-svn: 49488
-
Ted Kremenek authored
BugReport-specific SourceRanges (when available). llvm-svn: 49486
-
Ted Kremenek authored
iterator instead of "end") and not implementing "getDescription()" for Nil argument checks. llvm-svn: 49485
-
Ted Kremenek authored
llvm-svn: 49455
-
- Apr 09, 2008
-
-
Ted Kremenek authored
Bugs are now reported using a combination of "BugType" (previously BugDescription) and Bug "BugReport" objects, which are fed to BugReporter (which generates PathDiagnostics). This provides a far more modular way of registering bug types and plugging in diagnostics. GRExprEngine now owns its copy of GRCoreEngine, and is not owned by the ExplodedGraph. ExplodedGraph is no longer templated on the "checker", but instead on the state contained in the nodes. llvm-svn: 49453
-
Ted Kremenek authored
llvm-svn: 49414
-
Ted Kremenek authored
checker-specific diagnostics. llvm-svn: 49412
-
- Apr 08, 2008
-
-
Ted Kremenek authored
llvm-svn: 49356
-
- Apr 06, 2008
-
-
Chris Lattner authored
llvm-svn: 49258
-
- Apr 03, 2008
-
-
Ted Kremenek authored
llvm-svn: 49193
-