- Jul 11, 2008
-
-
Ted Kremenek authored
Refactored auditor interface within GRExprEngine and GRCoreEngine to use a "batch auditor" to dispatch to specialized auditors instead of having a separate vector for each audited Expr*. This not only provides a much cleaner implementation, but also allows us to install auditors for any expression. llvm-svn: 53464
-
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 03, 2008
-
-
Ted Kremenek authored
llvm-svn: 53054
-
- Jul 02, 2008
-
-
Ted Kremenek authored
Refactored some of the BugReporter interface so that data such as the ASTContext&, PathDiagnosticClient*, can be provided by an external source. Split BugReporter into BugReporter and GRBugReporter so checkers not based on GRExprEngine can still use the BugReporter mechanism. llvm-svn: 53048
-
- Jun 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 52799
-
- May 12, 2008
-
-
Ted Kremenek authored
llvm-svn: 50979
-
- May 10, 2008
-
-
Ted Kremenek authored
Rename IsPointerType to LVal::IsLValType, and update CFRefCount::EvalSummary to use IsLValType when conjuring symbols for return values (this fixes a bug with an assertion firing in the analyzer when two qualified objective-c types were compared). llvm-svn: 50924
-
- May 05, 2008
-
-
Ted Kremenek authored
highlight the most nested subexpression that appears most responsible (giving the user better diagnostic feedback). Updated test cases to illustrate this feature. Implements: <rdar://problem/5880443> llvm-svn: 50647
-
- Apr 30, 2008
-
-
Ted Kremenek authored
llvm-svn: 50498
-
Ted Kremenek authored
llvm-svn: 50494
-
Ted Kremenek authored
llvm-svn: 50486
-
- Apr 23, 2008
-
-
rdar://problem/5881148Ted Kremenek authored
Problem: In the recently refactored VisitDeref (which processes dereferences), we were incorrectly skipping the node just generated for the subexpression of the dereference. This was a horrible regression. llvm-svn: 50176
-
- Apr 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 50109
-
- Apr 18, 2008
-
-
Ted Kremenek authored
can decide the policy on how to cache related bugs. This allows us to properly to handle warning about multiple leaks in the same location in the ref count checker (not yet done). llvm-svn: 49918
-
Ted Kremenek authored
EmitPathWarning into one method. We now properly handle emitting warnings without a PathDiagnosticClient when the warning does not involve a particular statement. llvm-svn: 49884
-
- Apr 16, 2008
-
-
Ted Kremenek authored
to start logically organizing them. Added initial plug-in transfer function support for Objective-C message expressions. llvm-svn: 49752
-
- Apr 15, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 49727
-
- Apr 14, 2008
-
-
Ted Kremenek authored
warnings are emitted as part of the warnings registered by GRSimpleVals. llvm-svn: 49658
-
- Apr 11, 2008
-
-
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
iterator instead of "end") and not implementing "getDescription()" for Nil argument checks. llvm-svn: 49485
-
- 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
-
- Apr 06, 2008
-
-
Chris Lattner authored
llvm-svn: 49258
-
- Apr 03, 2008
-
-
Ted Kremenek authored
llvm-svn: 49184
-
Ted Kremenek authored
llvm-svn: 49183
-
Ted Kremenek authored
the new BugReporter interface. llvm-svn: 49180
-
Ted Kremenek authored
"BugReporter" and "BugDescription". BugDescription is used to describe a bug and provide pieces of the PathDiagnostic, and BugReporter creates the actual PathDiagnostic by crawling through the ExplodedGraph. Migrated checks done by GRSimpleVals to be reported using the new BugReporter mechanism. llvm-svn: 49127
-
Ted Kremenek authored
llvm-svn: 49120
-
Ted Kremenek authored
llvm-svn: 49119
-
- Apr 02, 2008
-
-
Ted Kremenek authored
llvm-svn: 49102
-
Chris Lattner authored
llvm-svn: 49101
-
Ted Kremenek authored
that describe a bug. llvm-svn: 49086
-
Ted Kremenek authored
GRSimpleVals warnings. Cleaning up, but now we get multiple bubbles (branches are annotated). llvm-svn: 49077
-
Ted Kremenek authored
llvm-svn: 49057
-
- Mar 31, 2008
-
-
Ted Kremenek authored
a PathDiagnosticClient. llvm-svn: 48996
-
Ted Kremenek authored
llvm-svn: 48990
-
Ted Kremenek authored
GRSimpleVals.h Added a PathDiagnosticClient option to the driver functions for the CFRefCountChecker and the GRSimpleVals analysis. Both analyses now accept a "-o" argument from the driver that specifies where HTML reports should be dumped. llvm-svn: 48989
-
Ted Kremenek authored
of a stack variable. This is the path-sensitive version of a check that is already done during semantic analysis. llvm-svn: 48980
-
- Mar 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 48895
-
Ted Kremenek authored
llvm-svn: 48886
-
- Mar 25, 2008
-
-
Ted Kremenek authored
passing an uninitialized value to a message expresion. llvm-svn: 48776
-