Update to DataFlow::Global

This commit is contained in:
Ed Minnix
2023-03-24 09:54:53 -04:00
parent 2eea34dc4a
commit 1bf4dd9649
12 changed files with 19 additions and 19 deletions

View File

@@ -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)
}
}

View File

@@ -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 = ""

View File

@@ -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 = ""