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

9 lines
302 B
Plaintext

import experimental.dataflow.callGraphConfig
from DataFlow::Node source, DataFlow::Node sink
where
exists(CallGraphConfig cfg | cfg.hasFlow(source, sink)) and
exists(source.getLocation().getFile().getRelativePath()) and
exists(sink.getLocation().getFile().getRelativePath())
select source, sink