[PATCH] D70470: [analyzer] Add FuchsiaHandleCheck to catch handle leaks, use after frees and double frees

Gábor Horváth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 11:27:32 PST 2019


xazax.hun updated this revision to Diff 230500.
xazax.hun edited the summary of this revision.
xazax.hun added a comment.

- Make the patch standalone and the check on by default for the fuchsia platform.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70470/new/

https://reviews.llvm.org/D70470

Files:
  clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
  clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
  clang/test/Analysis/fuchsia_handle.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70470.230500.patch
Type: text/x-patch
Size: 25728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191121/4bd510d8/attachment-0001.bin>


More information about the cfe-commits mailing list