[PATCH] D46066: [analyzer] Add checker for underflowing unsigned integers
Paul Fultz II via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 25 08:21:07 PDT 2018
pfultz2 created this revision.
pfultz2 added reviewers: NoQ, xazax.hun, dkrupp, whisperity, george.karpenkov.
pfultz2 added a project: clang.
Herald added subscribers: cfe-commits, a.sidorin, rnkovacs, szepet, mgorny.
This will check for when assigning a negative value to an unsigned integer, when it happens implicitly.
Repository:
rC Clang
https://reviews.llvm.org/D46066
Files:
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/UnderflowChecker.cpp
test/Analysis/underflow.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46066.143936.patch
Type: text/x-patch
Size: 5042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180425/dfed8727/attachment.bin>
More information about the cfe-commits
mailing list