qtil
advanced-security/qtil-java 0.0.3
Search

Member predicate MethodCallSystemGetProperty::hasCompileTimeConstantGetPropertyName

Holds if this call has a compile-time constant first argument with the value propertyName. For example: System.getProperty("user.dir").

Note: Better to use semmle.code.java.environment.SystemProperty#getSystemProperty instead as that predicate covers ways of accessing the same information via various libraries.

predicate hasCompileTimeConstantGetPropertyName(string propertyName)