[PATCH] D122150: [clang][analyzer] Add checker for bad use of 'errno'.

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 08:41:21 PDT 2022


martong accepted this revision.
martong added a comment.

LGTM, it is a good start for an alpha checker.



================
Comment at: clang/docs/ReleaseNotes.rst:525
+- Added a new checker ``alpha.unix.Errno``. This can find the first read
+  of ``errno`` after not failed standard function calls, such use of ``errno``
+  could be unsafe.
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122150



More information about the cfe-commits mailing list