Refactor UnsafeAndroidAccess

This commit is contained in:
Ed Minnix
2023-03-21 16:36:26 -04:00
parent 807588a031
commit 1e0c6811a4
3 changed files with 17 additions and 5 deletions

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, FetchUntrustedResourceConfiguration conf | conf.hasFlowTo(sink) |
exists(DataFlow::Node sink | FetchUntrustedResourceFlow::hasFlowTo(sink) |
sink.getLocation() = location and
element = sink.toString() and
value = ""