CodeQL library for C/C++
codeql/cpp-all 2.1.1 (changelog, source)
Search

Predicate definitionByReferenceNodeFromArgument

Gets the Node corresponding to a definition by reference of the variable that is passed as argument of a call.

Import path

import semmle.code.cpp.dataflow.internal.DataFlowUtil
DefinitionByReferenceNode definitionByReferenceNodeFromArgument(Expr argument)