[PATCH] D10305: [Clang Static Analyzer] Bug identification

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 06:42:00 PDT 2015


xazax.hun updated this revision to Diff 35721.
xazax.hun added a comment.

Unfortunately Bence is can no longer work on this patch, because he had to switch to another team within Ericsson. I took the authorship of this patch.

This version has several changes since the last one:

- Updated to latest trunk.
- The name of the hash field was changed to issue_hash_2.
- Correctly handle prototypeless C functions.
- Eliminated a string copy when generating the hash.
- Added a debug checker to dump the context of the hash.
- Made the lit tests pass.
- Style fixes.


http://reviews.llvm.org/D10305

Files:
  include/clang/StaticAnalyzer/Core/BugId.h
  lib/StaticAnalyzer/Checkers/Checkers.td
  lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  lib/StaticAnalyzer/Core/BugId.cpp
  lib/StaticAnalyzer/Core/CMakeLists.txt
  lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  test/Analysis/MismatchedDeallocator-path-notes.cpp
  test/Analysis/NewDelete-path-notes.cpp
  test/Analysis/bug_hash_test.cpp
  test/Analysis/conditional-path-notes.c
  test/Analysis/cxx-for-range.cpp
  test/Analysis/diagnostics/deref-track-symbolic-region.c
  test/Analysis/diagnostics/report-issues-within-main-file.cpp
  test/Analysis/diagnostics/undef-value-caller.c
  test/Analysis/diagnostics/undef-value-param.c
  test/Analysis/diagnostics/undef-value-param.m
  test/Analysis/edges-new.mm
  test/Analysis/inline-plist.c
  test/Analysis/inline-unique-reports.c
  test/Analysis/inlining/eager-reclamation-path-notes.c
  test/Analysis/inlining/eager-reclamation-path-notes.cpp
  test/Analysis/inlining/path-notes.c
  test/Analysis/inlining/path-notes.cpp
  test/Analysis/inlining/path-notes.m
  test/Analysis/malloc-plist.c
  test/Analysis/method-call-path-notes.cpp
  test/Analysis/model-file.cpp
  test/Analysis/null-deref-path-notes.m
  test/Analysis/objc-arc.m
  test/Analysis/plist-macros.cpp
  test/Analysis/plist-output-alternate.m
  test/Analysis/plist-output.m
  test/Analysis/retain-release-path-notes-gc.m
  test/Analysis/retain-release-path-notes.m
  test/Analysis/unix-fns.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10305.35721.patch
Type: text/x-patch
Size: 387881 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150925/9c27745e/attachment-0001.bin>


More information about the cfe-commits mailing list