CodeQL library for Go
codeql/go-all 8.1.0 (changelog, source)
Search

Member predicate Function::mustNotReturnNormally

Holds if calling this function never returns normally (for example because it always panics, exits the process, or loops forever).

Unlike mayReturnNormally, this predicate must be defined without reference to the control-flow graph, so that it can be used during CFG construction to suppress normal-flow successors of calls to this function.

predicate mustNotReturnNormally()