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

Predicate functionEntry

Holds if entry is the entry point of a function.

Import path

import cpp
predicate functionEntry(ControlFlowNode entry)