CertC-ARRΒΆ

Arrays

Nested Rules

CertC-ARR01

Do not apply the sizeof operator to a pointer when taking the size of an array

CertC-ARR02

Explicitly specify array bounds, even if implicitly defined by an initializer

CertC-ARR30

Do not form or use out-of-bounds pointers or array subscripts

CertC-ARR32

Ensure size arguments for variable length arrays are in a valid range

CertC-ARR36

Do not subtract or compare two pointers that do not refer to the same array

CertC-ARR37

Do not add or subtract an integer to a pointer to a non-array object

CertC-ARR38

Guarantee that library functions do not form invalid pointers

CertC-ARR39

Do not add or subtract a scaled integer to a pointer

Options