mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
21 lines
482 B
Plaintext
21 lines
482 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.TaintTracking
|
|
import semmle.code.java.dataflow.FlowSources
|
|
import TestUtilities.InlineFlowTest
|
|
|
|
class TaintFlowConf extends DefaultTaintFlowConf {
|
|
override predicate isSource(DataFlow::Node n) {
|
|
super.isSource(n)
|
|
or
|
|
n instanceof RemoteFlowSource
|
|
}
|
|
}
|
|
|
|
class ValueFlowConf extends DefaultValueFlowConf {
|
|
override predicate isSource(DataFlow::Node n) {
|
|
super.isSource(n)
|
|
or
|
|
n instanceof RemoteFlowSource
|
|
}
|
|
}
|