mirror of
https://github.com/github/codeql.git
synced 2026-01-12 06:00:23 +01:00
16 lines
424 B
Plaintext
16 lines
424 B
Plaintext
import java
|
|
import TestUtilities.InlineFlowTest
|
|
import semmle.code.java.security.WebviewDubuggingEnabledQuery
|
|
|
|
class EnableLegacy extends EnableLegacyConfiguration {
|
|
EnableLegacy() { exists(this) }
|
|
}
|
|
|
|
class HasFlowTest extends InlineFlowTest {
|
|
override DataFlow::Configuration getTaintFlowConfig() { none() }
|
|
|
|
override DataFlow::Configuration getValueFlowConfig() {
|
|
result = any(WebviewDebugEnabledConfig c)
|
|
}
|
|
}
|