[PATCH] D49361: [analyzer] Detect pointers escaped after return statement execution in MallocChecker

Reka Kovacs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 1 20:04:43 PDT 2018


rnkovacs updated this revision to Diff 158681.
rnkovacs marked an inline comment as done.
rnkovacs added a comment.

Add helper function to be used in both callbacks.


https://reviews.llvm.org/D49361

Files:
  lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  test/Analysis/inner-pointer.cpp
  test/Analysis/malloc-free-after-return.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49361.158681.patch
Type: text/x-patch
Size: 5162 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180802/c25a79ee/attachment-0001.bin>


More information about the cfe-commits mailing list