minor updates, removed comments

This commit is contained in:
Jami Cogswell
2022-07-30 17:47:45 -04:00
parent e2374f816a
commit 475d67a4df
3 changed files with 4 additions and 8 deletions

View File

@@ -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."

View File

@@ -1,5 +1,5 @@
<manifest ... >
<!-- GOOD: 'android:debuggable' set to false -->
<!-- GOOD: 'android:debuggable' set to 'false' -->
<application
android:debuggable="false">
<activity ... >

View File

@@ -1,5 +1,5 @@
<manifest ... >
<!-- BAD: 'android:debuggable' set to true -->
<!-- BAD: 'android:debuggable' set to 'true' -->
<application
android:debuggable="true">
<activity ... >