Skip to content

Data flow: Restrict derived flow summaries#6931

Merged
aschackmull merged 6 commits into
github:mainfrom
hvitved:dataflow/restrict-derived-summaries
Nov 18, 2021
Merged

Data flow: Restrict derived flow summaries#6931
aschackmull merged 6 commits into
github:mainfrom
hvitved:dataflow/restrict-derived-summaries

Conversation

@hvitved
Copy link
Copy Markdown
Contributor

@hvitved hvitved commented Oct 21, 2021

This PR restricts how we generate derived flow summaries, to avoid spurious flow.

For derived fluent flow, this is now restricted to summaries where a parameter is returned (possibly in a (nested) field).

For derived flow through callback parameters, this is now restricted to summaries that are not themselves derived.

@hvitved hvitved force-pushed the dataflow/restrict-derived-summaries branch 2 times, most recently from 4a4fd46 to b25ca39 Compare October 22, 2021 07:36
@hvitved hvitved marked this pull request as ready for review October 22, 2021 08:43
@hvitved hvitved requested review from a team as code owners October 22, 2021 08:43
@hvitved hvitved force-pushed the dataflow/restrict-derived-summaries branch from b25ca39 to de7a0dd Compare November 2, 2021 09:22
@hvitved hvitved requested a review from a team as a code owner November 2, 2021 09:22
@github-actions github-actions Bot added the Ruby label Nov 2, 2021
@hvitved hvitved force-pushed the dataflow/restrict-derived-summaries branch from de7a0dd to 4eacbd1 Compare November 17, 2021 09:51
Copy link
Copy Markdown
Contributor

@aschackmull aschackmull 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've looked into one of the removed jdk results and that was a FP arising from the previous handling of derived summaries, as the post-to-pre edge for parameters caused weird interactions with modelled methods that also happened to have a concrete body.

@aschackmull aschackmull merged commit 6815a13 into github:main Nov 18, 2021
@hvitved hvitved deleted the dataflow/restrict-derived-summaries branch November 18, 2021 14:59
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.

2 participants