[PATCH] D54592: [CStringChecker] evaluate explicit_bzero

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 15 11:31:45 PST 2018


devnexen created this revision.
devnexen added reviewers: george.karpenkov, dergachev.a.
devnexen created this object with visibility "All Users".
Herald added a subscriber: cfe-commits.

- explicit_bzero has limited scope/usage only for security/crypto purposes but is non-optimisable version of memset/0 and bzero.
- explicit_memset has similar signature and semantics as memset but is also a non-optimisable version.


Repository:
  rC Clang

https://reviews.llvm.org/D54592

Files:
  lib/StaticAnalyzer/Checkers/CStringChecker.cpp
  test/Analysis/string.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54592.174257.patch
Type: text/x-patch
Size: 4444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181115/68380061/attachment.bin>


More information about the cfe-commits mailing list