CertC-ARRΒΆ
Arrays
Nested Rules
Do not apply the sizeof operator to a pointer when taking the size of an array |
|
Explicitly specify array bounds, even if implicitly defined by an initializer |
|
Do not form or use out-of-bounds pointers or array subscripts |
|
Ensure size arguments for variable length arrays are in a valid range |
|
Do not subtract or compare two pointers that do not refer to the same array |
|
Do not add or subtract an integer to a pointer to a non-array object |
|
Guarantee that library functions do not form invalid pointers |
|
Do not add or subtract a scaled integer to a pointer |
Options
Setting an option for this rule means setting the default for all nested rules.
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
This rule has no individual options.