Files
codeql/python/ql/test/library-tests/dataflow/tainttracking/basic/LocalTaintStep.ql
2024-04-23 09:40:44 +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