CodeQL library for Python
codeql/python-all 0.11.12 (changelog, source)
Search

Predicate Implementation::copyCall

Holds if tonode is a call that returns a copy (or similar) of the argument fromnode

Import path

import semmle.python.dataflow.old.Implementation
predicate copyCall(ControlFlowNode fromnode, CallNode tonode)