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

Predicate functionEntry

Holds if entry is the entry point of a function.

Import path

import cpp
predicate functionEntry(ControlFlowNode entry)