mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
The extra hist in `test.py` seen in `globalStep.expected` are due to the removal of manual filtering code. (That code was from when dataflow had many strange things in it.)
12 lines
284 B
Plaintext
12 lines
284 B
Plaintext
/**
|
|
* @kind path-problem
|
|
*/
|
|
|
|
import python
|
|
import experimental.dataflow.testConfig
|
|
import DataFlow::PathGraph
|
|
|
|
from TestConfiguration config, DataFlow::PathNode source, DataFlow::PathNode sink
|
|
where config.hasFlowPath(source, sink)
|
|
select sink.getNode(), source, sink, "Flow found"
|