CodeQL library for Java
codeql/java-all 0.3.2 (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)