Files
codeql/python/ql/test/experimental/dataflow/tainttracking/basic/LocalTaintStep.ql
2023-05-16 14:38:51 +02:00

11 lines
366 B
Plaintext

import python
import semmle.python.dataflow.new.TaintTracking
import semmle.python.dataflow.new.DataFlow
from DataFlow::Node nodeFrom, DataFlow::Node nodeTo
where
TaintTracking::localTaintStep(nodeFrom, nodeTo) and
exists(nodeFrom.getLocation().getFile().getRelativePath()) and
exists(nodeTo.getLocation().getFile().getRelativePath())
select nodeFrom, nodeTo