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

Member predicate Function::getEntryPoint

Gets the first node in this function’s control flow graph.

For most functions, this first node will be the BlockStmt returned by getBlock. However in C++, the first node can also be a FunctionTryStmt.

Stmt getEntryPoint()