CertC++-CON37

Do not call signal() in a multithreaded program

Required inputs: IR

This Cert Rule assumes that the software under analysis is multithreaded. If this is not the case, the rule can be disabled!

Excerpt from SEI CERT C++ Coding Standard [https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/concurrency-con/con37-c], Copyright (C) 1995-2026 Carnegie Mellon University. See 9.4 3rd-Party Licenses in the documentation for full details.

Possible Messages

Key

Text

Severity

Disabled

forbidden_libfunc_call

Do not call signal() in a multithreaded program.

None

False

Options

blacklist

blacklist

Type: dict[bauhaus.analysis.config.FileGlobPattern, list[bauhaus.analysis.config.GlobPattern]]

Default:

{
   'signal.h': ['signal']
}
Dictionary of header globbing to (list of) function name globbing(s) of forbidden functions.