mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
16 lines
364 B
Plaintext
16 lines
364 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.FlowSources
|
|
import TestUtilities.InlineFlowTest
|
|
|
|
class Conf extends DefaultTaintFlowConf {
|
|
override predicate isSource(DataFlow::Node node) {
|
|
super.isSource(node)
|
|
or
|
|
node instanceof RemoteFlowSource
|
|
}
|
|
}
|
|
|
|
class LegacyConfig extends EnableLegacyConfiguration {
|
|
LegacyConfig() { this instanceof Unit }
|
|
}
|