[PATCH] D48521: [analyzer] Highlight STL object destruction in MallocChecker

Reka Kovacs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 23 11:56:51 PDT 2018


rnkovacs created this revision.
rnkovacs added reviewers: NoQ, xazax.hun, george.karpenkov, dcoughlin.
Herald added subscribers: mikhail.ramalho, a.sidorin, dkrupp, szepet, baloghadamsoftware, whisperity.

Extend `MallocBugVisitor` to place a note at the point where objects with `AF_InternalBuffer` allocation family are destroyed.


Repository:
  rC Clang

https://reviews.llvm.org/D48521

Files:
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  test/Analysis/dangling-internal-buffer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48521.152600.patch
Type: text/x-patch
Size: 5190 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180623/9f0bdc44/attachment-0001.bin>


More information about the cfe-commits mailing list