mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
update isDebuggable predicate
This commit is contained in:
@@ -60,7 +60,13 @@ class AndroidApplicationXmlElement extends XMLElement {
|
||||
/**
|
||||
* Holds if this application element has the attribute `android:debuggable` set to `true`.
|
||||
*/
|
||||
predicate isDebuggable() { this.getAttributeValue("debuggable") = "true" }
|
||||
predicate isDebuggable() {
|
||||
exists(AndroidXmlAttribute attr |
|
||||
this.getAnAttribute() = attr and
|
||||
attr.getName() = "debuggable" and
|
||||
attr.getValue() = "true"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user