[PATCH] D114718: [analyzer] Implement a new checker for Strict Aliasing Rule.
Denys Petrov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 14 09:33:36 PST 2021
ASDenysPetrov updated this revision to Diff 394290.
ASDenysPetrov added a comment.
Changed handler `check::` functions. Reworked. Covered more cases.
Several cases left (marked as FIXME in the test file). For the glance some of them we can't handle because of (possibly) wrong symbolic modeling.
WIP.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114718/new/
https://reviews.llvm.org/D114718
Files:
clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
clang/lib/StaticAnalyzer/Checkers/StrictAliasingChecker.cpp
clang/test/Analysis/Checkers/StrictAliasingChecker/strict-aliasing.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114718.394290.patch
Type: text/x-patch
Size: 29342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211214/097af922/attachment-0001.bin>
More information about the cfe-commits
mailing list