Skip to content

Python: Shared dataflow, post-update nodes#4161

Merged
codeql-ci merged 3 commits intogithub:mainfrom
yoff:SharedDataflow_PostUpdateNodes
Aug 31, 2020
Merged

Python: Shared dataflow, post-update nodes#4161
codeql-ci merged 3 commits intogithub:mainfrom
yoff:SharedDataflow_PostUpdateNodes

Conversation

@yoff
Copy link
Contributor

@yoff yoff commented Aug 28, 2020

This PR adds post-update nodes in the recommended places (arguments, loads, and stores). It updates local flow, but does not add any load steps or store steps, so there should be no resulting field flow yet.

The approach to defining post-update nodes is to define a subset of Nodes called PreUpdateNodes. These will have an associated synthetic post-update node referring to them, so we can simply extend this class whenever we want to mark new Nodes as needing a post-update node. We might, for instance, want to add nodes to container stores.

@yoff yoff requested review from a team as code owners August 28, 2020 11:06
aschackmull
aschackmull previously approved these changes Aug 28, 2020
Copy link
Contributor

@jbj jbj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes that touch C/C++ LGTM!

@codeql-ci codeql-ci merged commit dc9cc20 into github:main Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments