mirror of
https://github.com/github/codeql.git
synced 2026-03-28 02:08:17 +01:00
17 lines
477 B
Plaintext
17 lines
477 B
Plaintext
import java
|
|
import semmle.code.java.security.AndroidSensitiveCommunicationQuery
|
|
import TestUtilities.InlineExpectationsTest
|
|
import TestUtilities.InlineFlowTest
|
|
|
|
class EnableLegacy extends EnableLegacyConfiguration {
|
|
EnableLegacy() { exists(this) }
|
|
}
|
|
|
|
class HasFlowTest extends InlineFlowTest {
|
|
override DataFlow::Configuration getTaintFlowConfig() {
|
|
result = any(SensitiveCommunicationConfig c)
|
|
}
|
|
|
|
override DataFlow::Configuration getValueFlowConfig() { none() }
|
|
}
|