[PATCH] D39438: [analyzer] Diagnose stack leaks via block captures

Alexander Shaposhnikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 30 15:43:31 PDT 2017


alexshap created this revision.
Herald added subscribers: szepet, xazax.hun.

This diff extends StackAddrEscapeChecker to catch stack addr leaks via block captures if the block is executed
asynchronously. 
Test plan: make check-all


Repository:
  rL LLVM

https://reviews.llvm.org/D39438

Files:
  lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp
  test/Analysis/stack-async-leak.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39438.120906.patch
Type: text/x-patch
Size: 6571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171030/ebca73db/attachment-0001.bin>


More information about the cfe-commits mailing list