Refactor ImplicitPendingIntents

This commit is contained in:
Ed Minnix
2023-03-22 23:38:03 -04:00
parent 8621a49645
commit 6a3eadf6cb
3 changed files with 54 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ class ImplicitPendingIntentsTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
tag = "hasImplicitPendingIntent" and
exists(DataFlow::Node sink | any(ImplicitPendingIntentStartConf c).hasFlowTo(sink) |
exists(DataFlow::Node sink | ImplicitPendingIntentStartFlow::flowTo(sink) |
sink.getLocation() = location and
element = sink.toString() and
value = ""