- Apr 30, 2008
-
-
Ted Kremenek authored
llvm-svn: 50494
-
Ted Kremenek authored
llvm-svn: 50493
-
- Apr 29, 2008
-
-
Ted Kremenek authored
llvm-svn: 50396
-
Ted Kremenek authored
llvm-svn: 50395
-
Ted Kremenek authored
The transfer functions for the checker don't do anything special yet in GC mode. llvm-svn: 50394
-
- Apr 25, 2008
-
-
Ted Kremenek authored
Implemented support for better localized leaks in the CF reference count checker. Now leaks should be flagged close to where they occur. This should implement the desired functionality in <rdar://problem/5879592>, although the diagnostics still need to be improved. llvm-svn: 50241
-
Ted Kremenek authored
llvm-svn: 50237
-
- Apr 24, 2008
-
-
Ted Kremenek authored
This fixes <rdar://problem/5886141>. Part of this change resulted in creating sparser summaries. I also added some more comments and did some minor code cleanups. llvm-svn: 50214
-
- 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
from registered BugTypes. This helps with debugging. Add detection of NULL values in ref count checker; this suppresses false positives. llvm-svn: 49912
-
Ted Kremenek authored
llvm-svn: 49907
-
Ted Kremenek authored
llvm-svn: 49895
-
Ted Kremenek authored
llvm-svn: 49894
-
Ted Kremenek authored
llvm-svn: 49892
-
Ted Kremenek authored
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
-
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
-
Ted Kremenek authored
llvm-svn: 49879
-
- Apr 17, 2008
-
-
Ted Kremenek authored
involving objects that are returned but have an excessive reference count. llvm-svn: 49861
-
Ted Kremenek authored
llvm-svn: 49824
-
- Apr 16, 2008
-
-
Ted Kremenek authored
represent possible stores to "Unknown." llvm-svn: 49811
-
Ted Kremenek authored
llvm-svn: 49771
-
Ted Kremenek authored
llvm-svn: 49756
-
- Apr 14, 2008
-
-
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
-
- 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
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
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
-
- Mar 31, 2008
-
-
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
-