add service flow sources

This commit is contained in:
Jami Cogswell
2022-09-19 15:54:45 -04:00
parent 3bd456e52d
commit decba39c09
2 changed files with 29 additions and 0 deletions

View File

@@ -250,6 +250,12 @@ class AndroidIntentInput extends DataFlow::Node {
this.asParameter() = m.getParameter(1) and
receiverType = m.getDeclaringType()
)
or
exists(Method m, AndroidServiceIntentMethod sI |
m.overrides*(sI) and
this.asParameter() = m.getParameter(0) and
receiverType = m.getDeclaringType()
)
}
}