Skip to content

How to Represent Intermediate Path Nodes in Taint Analysis with CodeQL? #16029

Closed Answered by owen-mc
Roarcannotprogramming asked this question in Q&A
Discussion options

You must be logged in to vote

The way that the dataflow library works does not make this feasible. It finds (source, sink) pairs where there is some path between them, but the paths are actually not constructed in CodeQL. They are constructed after the CodeQL has finished running. So even knowing how many paths there are between a given source and sink is not possible in CodeQL. And, for similar reasons, it isn't possible to talk about the nodes on one particular path.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Roarcannotprogramming
Comment options

Comment options

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

@owen-mc
Comment options

Answer selected by Roarcannotprogramming
@Roarcannotprogramming
Comment options

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