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

Predicate Cached::abortingFunction

Functions that are known not to return. This is normally because the function exits the program or longjmps to another location.

Import path

import semmle.code.cpp.controlflow.internal.ConstantExprs
predicate abortingFunction(Function f)