Miscellaneous-NoCFunctionCall¶
Do not call C functions from C++ code
Required inputs: IR
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¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
allowlist¶
allowlist : set[bauhaus.analysis.config.FunctionName] = {'__assert_fail'}