CertCRecommendations-STR¶
Characters and Strings
Nested Rules
Do not inadvertently truncate a string |
|
Use plain char for characters in the basic character set |
|
Use pointers to const when referring to string literals |
|
Do not assume that strtok() leaves the parse string unchanged |
|
Don’t assume numeric values for expressions with type plain character |
|
Do not concatenate different type of string literals |
|
Do not specify the bound of a character array initialized with a string literal |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: confidence, 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
This rule has no individual options.