mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
19 lines
700 B
Plaintext
19 lines
700 B
Plaintext
import java
|
|
import semmle.code.java.security.ImplicitlyExportedAndroidComponent
|
|
import TestUtilities.InlineExpectationsTest
|
|
|
|
class ImplicitlyExportedAndroidComponentTest extends InlineExpectationsTest {
|
|
ImplicitlyExportedAndroidComponentTest() { this = "ImplicitlyExportedAndroidComponentTest" }
|
|
|
|
override string getARelevantTag() { result = "hasImplicitExport" }
|
|
|
|
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
|
tag = "hasImplicitExport" and
|
|
exists(ImplicitlyExportedAndroidComponent impExpAndroidComp |
|
|
impExpAndroidComp.getLocation() = location and
|
|
element = impExpAndroidComp.toString() and
|
|
value = ""
|
|
)
|
|
}
|
|
}
|