Update Android app detection

This commit is contained in:
Owen Mansel-Chan
2024-06-26 05:53:46 +01:00
parent 9c82966022
commit 5347770608
3 changed files with 24 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ private import semmle.code.java.frameworks.android.Android
private class AndroidFilesystemCleartextStorageSink extends CleartextStorageSink {
AndroidFilesystemCleartextStorageSink() {
filesystemInput(_, this.asExpr()) and
isAndroid()
inAndroidApplication(this.getLocation().getFile())
}
}