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

Dataflow: Introduce support for src/sink grouping in path results. #11183

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aschackmull
Copy link
Contributor

@aschackmull aschackmull commented Nov 9, 2022

This introduces a new feature in the shared data flow library. The primary use-case is currently intended to be debugging, but the feature may also find other uses.

Sometimes we get a huge number of path results in a query, which can be cumbersome to look through. If, in these case, we mostly care about flow reaching some sink (possibly with some property) rather than needing to know about the specific sink, and we just want to see representative paths reaching arbitrary sinks, then it can be beneficial to reduce the number of source-sink pairs by adding one or more synthesised sink nodes that collect the flow from multiple sinks. E.g. for MaD sink model generation we care only about the sink kind that's reached rather than the specific sink node.
This PR introduces support for grouping several sink nodes into a single sink-group-node (represented by a string) in order to reduce the number of path results. The symmetric support for source grouping is also added.

Copy link

@github-code-scanning github-code-scanning bot left a comment

CodeQL found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

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.

None yet

1 participant