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

Module ExternalProcess

Definitions related to external processes.

Import path

import semmle.code.java.security.ExternalProcess

Imports

Member

Provides classes and predicates for working with members of Java classes and interfaces, that is, methods, constructors, fields and nested types.

Predicates

argumentToExec

Holds if e is an expression used as an argument to a call that executes an external command. For calls to varargs method calls, this only includes the first argument, which will be the command to be executed.

Classes

ArgumentToExec

An expression used as an argument to a call that executes an external command. For calls to varargs method calls, this only includes the first argument, which will be the command to be executed.

StringArgumentToExec

An ArgumentToExec of type String.