mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Update to DataFlow::Global
This commit is contained in:
@@ -6,6 +6,6 @@ class HasFlowTest extends InlineFlowTest {
|
||||
override predicate hasTaintFlow(DataFlow::Node src, DataFlow::Node sink) { none() }
|
||||
|
||||
override predicate hasValueFlow(DataFlow::Node src, DataFlow::Node sink) {
|
||||
WebviewDebugEnabledFlow::hasFlow(src, sink)
|
||||
WebviewDebugEnabledFlow::flow(src, sink)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ class UnsafeAndroidAccessTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "hasUnsafeAndroidAccess" and
|
||||
exists(DataFlow::Node sink | FetchUntrustedResourceFlow::hasFlowTo(sink) |
|
||||
exists(DataFlow::Node sink | FetchUntrustedResourceFlow::flowTo(sink) |
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
value = ""
|
||||
|
||||
@@ -9,7 +9,7 @@ class HasAndroidIntentRedirectionTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "hasAndroidIntentRedirection" and
|
||||
exists(DataFlow::Node sink | IntentRedirectionFlow::hasFlowTo(sink) |
|
||||
exists(DataFlow::Node sink | IntentRedirectionFlow::flowTo(sink) |
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user