Skip to content
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++: Don't use GVN as SSAVariable in new range analysis #14713

Merged
merged 2 commits into from Nov 8, 2023

Conversation

MathiasVP
Copy link
Contributor

In #10555 I added very specialized code to the range analysis library to catch a very specific pattern motivated by https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10160. This worked really well to convince ourselves that this query can catch real-world issues. Unfortunately, using a value number as an SSA variable gives some weird results because GVN doesn't behave as SSA would.

This PR basically reverts the above PR. We can then figure out how to properly do this once @aschackmull is done with his ongoing work on sharing the range analysis code between C/C++ and Java.

@MathiasVP MathiasVP requested a review from a team as a code owner November 7, 2023 15:02
@MathiasVP MathiasVP added the no-change-note-required This PR does not need a change note label Nov 7, 2023
@github-actions github-actions bot added the C++ label Nov 7, 2023
@MathiasVP
Copy link
Contributor Author

DCA was uneventful 🎉

@MathiasVP MathiasVP merged commit ab64d9a into github:main Nov 8, 2023
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants