| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
from registered BugTypes. This helps with debugging.
Add detection of NULL values in ref count checker; this suppresses false positives.
llvm-svn: 49912
|
| |
|
|
|
|
| |
node cache.
llvm-svn: 49907
|
| |
|
|
| |
llvm-svn: 49895
|
| |
|
|
| |
llvm-svn: 49894
|
| |
|
|
| |
llvm-svn: 49892
|
| |
|
|
|
|
|
|
| |
Shuffled around code in CFRefCount to better pair classes with implementation,
and started adding subclasses of RangedBugReport to handle better diagnostics
for reference count bugs.
llvm-svn: 49889
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 49879
|
| |
|
|
|
|
| |
involving objects that are returned but have an excessive reference count.
llvm-svn: 49861
|
| |
|
|
| |
llvm-svn: 49824
|
| |
|
|
|
|
| |
represent possible stores to "Unknown."
llvm-svn: 49811
|
| |
|
|
| |
llvm-svn: 49771
|
| |
|
|
|
|
| |
checker.
llvm-svn: 49756
|
| |
|
|
|
|
| |
to functions with NULL summaries.
llvm-svn: 49660
|
| |
|
|
|
|
| |
warnings are emitted as part of the warnings registered by GRSimpleVals.
llvm-svn: 49658
|
| |
|
|
|
|
|
| |
Still need some boilerplate in BugReporter to report bugs at the end
of a function (not associated with a particular statement).
llvm-svn: 49564
|
| |
|
|
| |
llvm-svn: 49558
|
| |
|
|
| |
llvm-svn: 49556
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 49552
|
| |
|
|
|
|
| |
use-after-release errors. Added test case.
llvm-svn: 49509
|
| |
|
|
| |
llvm-svn: 49505
|
| |
|
|
| |
llvm-svn: 49503
|
| |
|
|
|
|
|
|
| |
code path in the clang driver.
Renamed options --grsimple to -checker-simple and -check-cfref to -checker-cfref.
llvm-svn: 49500
|
| |
|
|
|
|
| |
function.
llvm-svn: 49488
|
| |
|
|
| |
llvm-svn: 49455
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
checker.
llvm-svn: 49414
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
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
|