- Apr 11, 2008
-
-
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
-
Ted Kremenek authored
llvm-svn: 49184
-
Ted Kremenek authored
llvm-svn: 49183
-
Ted Kremenek authored
the ranges of highlighted elements in the source code. llvm-svn: 49181
-
Ted Kremenek authored
the new BugReporter interface. llvm-svn: 49180
-
Ted Kremenek authored
llvm-svn: 49155
-
Ted Kremenek authored
llvm-svn: 49139
-
Ted Kremenek authored
BFS path to the root. This also avoids problems with loops in the ExplodedGraph. llvm-svn: 49133
-
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 28, 2008
-
-
Ted Kremenek authored
Added skeleton checking for NSString's method initWithFormat: (do not pass nil). This won't be useful in most cases right now because the analyzer isn't tracking expected types for an object, and [NSString alloc] just runs "id". llvm-svn: 48917
-
- Mar 27, 2008
-
-
Ted Kremenek authored
llvm-svn: 48898
-
Ted Kremenek authored
Added test case to test warning about passing 'nil' to NSString's compare: method. llvm-svn: 48896
-
Ted Kremenek authored
llvm-svn: 48895
-
Ted Kremenek authored
llvm-svn: 48886
-
Ted Kremenek authored
Added "GRAuditor" and "GRSimpleAPICheck" interface to allow simple stateless checkers to be injected into the analyzer. Added "AnnotatedPath" class to record an annotated path that will be useful for inspecting paths. Added some boilerplate code for simple checks of Apple's Foundation API. llvm-svn: 48867
-
Ted Kremenek authored
PathDiagnostic no longer contains a diagnostic ID or diagnostic level. llvm-svn: 48864
-
Ted Kremenek authored
Added classes "PathDiagnosticPiece", "PathDiagnostic", and "PathDiagnosticClient", which encapsulate diagnostic reporting for paths. llvm-svn: 48861
-