[PATCH] D47135: [analyzer] A checker for dangling internal buffer pointers in C++
Reka Kovacs via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 28 10:18:26 PDT 2018
rnkovacs updated this revision to Diff 148827.
rnkovacs added a comment.
Added a check for `UnknownVal` and two FIXMEs (one for the `OriginExpr` and one for the new `CheckKind`).
https://reviews.llvm.org/D47135
Files:
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/AllocationState.h
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/DanglingInternalBufferChecker.cpp
lib/StaticAnalyzer/Checkers/MallocChecker.cpp
test/Analysis/dangling-internal-buffer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47135.148827.patch
Type: text/x-patch
Size: 9679 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180528/3762b292/attachment-0001.bin>
More information about the cfe-commits
mailing list