mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
minor updates, removed comments
This commit is contained in:
@@ -17,9 +17,5 @@ from AndroidXmlAttribute androidXmlAttr
|
||||
where
|
||||
androidXmlAttr.getName() = "debuggable" and
|
||||
androidXmlAttr.getValue() = "true" and
|
||||
not androidXmlAttr.getLocation().getFile().getAbsolutePath().matches("%/build%") // USE THIS (from speaking with Tony) - 11 MRVA results
|
||||
//not androidXmlAttr.getLocation().toString().matches("%build%") // my original query - 2 MRVA results
|
||||
//not androidXmlAttr.getLocation().toString().matches("%/build%") // 11 MRVA results
|
||||
//not androidXmlAttr.getLocation().getFile().getAbsolutePath().matches("%build%") // 2 MRVA results...
|
||||
// comment for test commit to new branch
|
||||
select androidXmlAttr, "The 'debuggable' attribute is enabled."
|
||||
not androidXmlAttr.getLocation().getFile().getRelativePath().matches("%/build%")
|
||||
select androidXmlAttr, "The 'android:debuggable' attribute is enabled."
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<manifest ... >
|
||||
<!-- GOOD: 'android:debuggable' set to false -->
|
||||
<!-- GOOD: 'android:debuggable' set to 'false' -->
|
||||
<application
|
||||
android:debuggable="false">
|
||||
<activity ... >
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<manifest ... >
|
||||
<!-- BAD: 'android:debuggable' set to true -->
|
||||
<!-- BAD: 'android:debuggable' set to 'true' -->
|
||||
<application
|
||||
android:debuggable="true">
|
||||
<activity ... >
|
||||
|
||||
Reference in New Issue
Block a user