mirror of
https://github.com/github/codeql.git
synced 2026-01-06 19:20:25 +01:00
17 lines
404 B
Plaintext
17 lines
404 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.TaintTracking
|
|
import semmle.code.java.dataflow.FlowSources
|
|
import TestUtilities.InlineFlowTest
|
|
|
|
module Config implements DataFlow::ConfigSig {
|
|
predicate isSource(DataFlow::Node node) {
|
|
DefaultFlowConfig::isSource(node)
|
|
or
|
|
node instanceof RemoteFlowSource
|
|
}
|
|
|
|
predicate isSink = DefaultFlowConfig::isSink/1;
|
|
}
|
|
|
|
import FlowTest<Config, Config>
|