Skip to content

Steps in Global Dataflow Paths [python] #9165

Discussion options

You must be logged in to vote

You can use DataFlow::PathNodes (and hasFlowPath) instead of ordinary DataFlow::Nodes and then use the getASuccessor function to get the successor of the source N and so on.
But as far as I know, CodeQL will aggressively prune steps for performance reasons, i.e., some steps of the flow are not represented as PathNodes and will not be returned by getASuccessor.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hvitved
Comment options

@ppashakhanloo
Comment options

@hvitved
Comment options

Answer selected by ppashakhanloo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants