Files
codeql/python/ql/test/experimental/dataflow/basic/maximalFlows.ql
Rasmus Wriedt Larsen c952f6a648 Python: Update rest of tests to new dataflow lib
I had missed these originally, since I had just fixed the ones that were
highlighted in the actions logs, thinking they had covered everything :(
2023-12-04 14:49:40 +01:00

10 lines
285 B
Plaintext

import maximalFlowsConfig
from DataFlow::Node source, DataFlow::Node sink
where
source != sink and
MaximalFlowsFlow::flow(source, sink) and
exists(source.getLocation().getFile().getRelativePath()) and
exists(sink.getLocation().getFile().getRelativePath())
select source, sink