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

Predicate exprNode

Gets the Node corresponding to the value of evaluating e. For data flowing out of an expression, like when an argument is passed by reference, use definitionByReferenceNodeFromArgument instead.

Import path

import semmle.code.cpp.dataflow.internal.DataFlowUtil
ExprNode exprNode(Expr e)