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

Predicate cloneStep

Holds if n1 is the qualifier of a call to clone() and n2 is the result.

Import path

import semmle.code.java.dataflow.internal.DataFlowPrivate
predicate cloneStep(Node n1, Node n2)