| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 50498
|
|
|
|
| |
llvm-svn: 50494
|
|
|
|
| |
llvm-svn: 50486
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 50109
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
to start logically organizing them.
Added initial plug-in transfer function support for Objective-C message expressions.
llvm-svn: 49752
|
|
|
|
| |
llvm-svn: 49727
|
|
|
|
|
|
| |
warnings are emitted as part of the warnings registered by GRSimpleVals.
llvm-svn: 49658
|
|
|
|
|
|
|
|
| |
code path in the clang driver.
Renamed options --grsimple to -checker-simple and -check-cfref to -checker-cfref.
llvm-svn: 49500
|
|
|
|
|
|
|
| |
iterator instead of "end") and not implementing "getDescription()" for Nil
argument checks.
llvm-svn: 49485
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 49258
|
|
|
|
| |
llvm-svn: 49184
|
|
|
|
| |
llvm-svn: 49183
|
|
|
|
|
|
| |
the new BugReporter interface.
llvm-svn: 49180
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
| |
llvm-svn: 49120
|
|
|
|
| |
llvm-svn: 49119
|
|
|
|
| |
llvm-svn: 49102
|
|
|
|
| |
llvm-svn: 49101
|
|
|
|
|
|
| |
that describe a bug.
llvm-svn: 49086
|
|
|
|
|
|
| |
GRSimpleVals warnings. Cleaning up, but now we get multiple bubbles (branches are annotated).
llvm-svn: 49077
|
|
|
|
| |
llvm-svn: 49057
|
|
|
|
|
|
| |
a PathDiagnosticClient.
llvm-svn: 48996
|
|
|
|
| |
llvm-svn: 48990
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
of a stack variable. This is the path-sensitive version of a check that
is already done during semantic analysis.
llvm-svn: 48980
|
|
|
|
| |
llvm-svn: 48895
|
|
|
|
|
|
| |
driver.
llvm-svn: 48886
|
|
|
|
|
|
| |
passing an uninitialized value to a message expresion.
llvm-svn: 48776
|
|
|
|
| |
llvm-svn: 48659
|
|
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.
llvm-svn: 48402
|