-
Notifications
You must be signed in to change notification settings - Fork 1.9k
C++: fix equality refinement in new range analysis #13226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++: fix equality refinement in new range analysis #13226
Conversation
| exists(SemExpr e, D::Delta d1, D::Delta d2 | | ||
| unequalFlowStepIntegralSsa(v, pos, e, d1, reason) and | ||
| boundedUpper(e, b, d1) and | ||
| boundedUpper(e, b, d2) and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to add a range analysis library-test for this as well? That would also help make this commit independent of the other commits.
ef96fef to
681cc4c
Compare
MathiasVP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
cpp/ql/test/experimental/query-tests/Security/CWE/CWE-193/constant-size/test.cpp
Show resolved
Hide resolved
See my last comment about test annotation.
MathiasVP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once DCA is happy!
No description provided.