mirror of
https://github.com/github/codeql.git
synced 2025-12-19 02:13:17 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
9 lines
316 B
Plaintext
9 lines
316 B
Plaintext
import python
|
|
import semmle.python.dataflow.TaintTracking
|
|
import TaintLib
|
|
|
|
from TaintedNode n, TaintedNode s
|
|
where s = n.getASuccessor()
|
|
select n.toString(), n.getLocation().toString(), n.getNode().toString(), n.getContext(), "-->",
|
|
s.toString(), s.getLocation().toString(), s.getNode().toString(), s.getContext()
|