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

Predicate Public::definitionByReferenceNodeFromArgument

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

Import path

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