-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Dataflow: Exclude param-param flow through with identical params. #3060
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
Dataflow: Exclude param-param flow through with identical params. #3060
Conversation
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. I think we should run differences jobs to be safe.
f76d6ca
to
f29f0f4
Compare
Java job looks fine. The other two still failed for some reason. |
I looked at CPP-Differences 1001 in the profile viewer and concluded that the Wireshark performance regression was unrelated to this PR. Probably noise. |
FTR, here is a successful CSharp-Differences run that shows performance is unchanged: https://jenkins.internal.semmle.com/job/Changes/job/CSharp-Differences/88/. |
This is a heuristic that we have been generally enforcing (and still enforce elsewhere in the lib), but it was accidentally dropped here in #2631. (Detecting something as a setter that writes a particular argument to a field of itself is unlikely to be real flow).