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

Predicate MakeImplStage1::ImplStage1::parameterFlowThroughAllowedEx

Holds if flow from p to a return node of kind kind is allowed.

We don’t expect a parameter to return stored in itself, unless explicitly allowed

Import path

import codeql.dataflow.internal.DataFlowImplStage1
predicate parameterFlowThroughAllowedEx(ParamNodeEx p, ReturnKindExt kind)