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

Predicate sourceNode

Holds if node is specified as a source with the given kind in a MaD flow model.

Import path

import semmle.code.cpp.dataflow.ExternalFlow
predicate sourceNode(Node node, string kind)