CodeQL library for Java
codeql/java-all 0.4.4 (changelog, source)
Search

Predicate androidExternalStorageSource

Holds if n is a node that reads the contents of an external file in Android. This is controllable by third-party applications, so is treated as a remote flow source.

Import path

import semmle.code.java.frameworks.android.ExternalStorage
predicate androidExternalStorageSource(Node n)