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

Predicate getSystemProperty

Gets an expression that retrieves the value of propertyName from System.getProperty().

Note: Expression type is not just String.

Import path

import semmle.code.java.environment.SystemProperty
Expr getSystemProperty(string propertyName)