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

Predicate functionEntry

Holds if entry is the entry point of a function.

Import path

import cpp
predicate functionEntry(ControlFlowNode entry)