[PATCH] D105819: [analyzer] MallocChecker: Add a visitor to leave a note on functions that could have, but did not change ownership on leaked memory
Kristóf Umann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 15 02:55:23 PDT 2021
Szelethus updated this revision to Diff 358883.
Szelethus added a comment.
- Fixes according to reviewer comments!
- Rebase on D105553 <https://reviews.llvm.org/D105553>.
- Primitively check whether the allocated memory was actually passed into the function.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105819/new/
https://reviews.llvm.org/D105819
Files:
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
clang/test/Analysis/NewDeleteLeaks.cpp
clang/test/Analysis/self-assign.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105819.358883.patch
Type: text/x-patch
Size: 17907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210715/6805d15d/attachment-0001.bin>
More information about the cfe-commits
mailing list