Files
codeql/python/ql/test/experimental/dataflow/basic/callGraph.ql
Rasmus Wriedt Larsen 4dd3ea3798 Python: Update tests to new dataflow lib
Avoids some deprecation warnings :)
2023-12-04 12:36:57 +01:00

9 lines
280 B
Plaintext

import experimental.dataflow.callGraphConfig
from DataFlow::Node source, DataFlow::Node sink
where
CallGraphFlow::flow(source, sink) and
exists(source.getLocation().getFile().getRelativePath()) and
exists(sink.getLocation().getFile().getRelativePath())
select source, sink