Skip to content

Conversation

aschackmull
Copy link
Contributor

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).

Copy link
Contributor

@hvitved hvitved left a 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.

@aschackmull aschackmull force-pushed the dataflow/no-param-to-same-param-flow branch from f76d6ca to f29f0f4 Compare March 23, 2020 16:28
@aschackmull
Copy link
Contributor Author

Java job looks fine. The other two still failed for some reason.

@aschackmull
Copy link
Contributor Author

@hvitved hvitved merged commit 42e180d into github:master Apr 1, 2020
@aschackmull aschackmull deleted the dataflow/no-param-to-same-param-flow branch April 1, 2020 07:43
@jbj
Copy link
Contributor

jbj commented Apr 1, 2020

I looked at CPP-Differences 1001 in the profile viewer and concluded that the Wireshark performance regression was unrelated to this PR. Probably noise.

max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request Apr 1, 2020
@hvitved
Copy link
Contributor

hvitved commented Apr 3, 2020

FTR, here is a successful CSharp-Differences run that shows performance is unchanged: https://jenkins.internal.semmle.com/job/Changes/job/CSharp-Differences/88/.

max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request May 6, 2020
max-schaefer pushed a commit to max-schaefer/codeql-go that referenced this pull request May 6, 2020
owen-mc pushed a commit to owen-mc/codeql-go that referenced this pull request Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants