mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Java: Add support and tests for implicitly exported activity aliases
This commit is contained in:
@@ -57,6 +57,12 @@ class ExportableAndroidComponent extends AndroidComponent {
|
||||
or
|
||||
this.hasIntentFilter() and
|
||||
not this.getAndroidComponentXmlElement().isNotExported()
|
||||
or
|
||||
exists(AndroidActivityAliasXmlElement e |
|
||||
e = this.getAndroidComponentXmlElement() and
|
||||
not e.isNotExported() and
|
||||
e.hasAnIntentFilterElement()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user