Miscellaneous-NoCFunctionCall

Do not call C functions from C++ code

Required inputs: IR

This rule prevents the call of extern "C" functions from C++ functions.

Possible Messages

Key

Text

Severity

Disabled

c_function_call

Call to C function from C++ code.

None

False

Options

allowlist

allowlist : set[bauhaus.analysis.config.FunctionName] = {'__assert_fail'}

List of C function names that are allowed to be called from C++ code.