CodeQL library for Java/Kotlin
codeql/java-all 0.10.0 (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.

ExecCallable

DEPRECATED: A callable that executes a command.

StringArgumentToExec

An ArgumentToExec of type String.