SecureCoding-5.32¶
Passing arguments to character-handling functions that are not representable as unsigned char
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
missing_uchar_cast |
Missing explicit cast to unsigned char. |
None |
False |
missing_uchar_cast_on_routine_literal |
Missing explicit cast to unsigned char. |
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
functions¶
functions
Names of functions that require an unsigned char cast.Type: set[bauhaus.analysis.config.QualifiedName]
Default:
{'isalnum', 'isalpha', 'isblank', 'iscntrl', 'isdigit', 'isgraph', 'islower', 'isprint', 'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper'}