[PATCH] D49074: [Analyzer] [WIP] Basic support for multiplication and division in the constraint manager
Balogh, Ádám via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 3 08:15:47 PDT 2018
baloghadamsoftware updated this revision to Diff 159012.
baloghadamsoftware edited the summary of this revision.
baloghadamsoftware added a comment.
Completely rewritten: works correctly for modular arithmetic (multiplication), works correctly for truncation (division), only uses integers, no floats.
https://reviews.llvm.org/D49074
Files:
include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
lib/StaticAnalyzer/Core/RangedConstraintManager.cpp
test/Analysis/multiplicative-folding.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49074.159012.patch
Type: text/x-patch
Size: 69997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180803/03a30ff2/attachment-0001.bin>
More information about the cfe-commits
mailing list