mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
14 lines
339 B
Plaintext
14 lines
339 B
Plaintext
import semmle.python.dataflow.new.DataFlow
|
|
|
|
/**
|
|
* A configuration to find all flows.
|
|
* To be used on tiny programs.
|
|
*/
|
|
module AllFlowsConfig implements DataFlow::ConfigSig {
|
|
predicate isSource(DataFlow::Node node) { any() }
|
|
|
|
predicate isSink(DataFlow::Node node) { any() }
|
|
}
|
|
|
|
module AllFlowsFlow = DataFlow::Global<AllFlowsConfig>;
|