CertC++-EXP

Expressions

Nested Rules

CertC++-EXP34

Do not dereference null pointers

CertC++-EXP35

Do not modify objects with temporary lifetime

CertC++-EXP36

Do not cast pointers into more strictly aligned pointer types

CertC++-EXP37

Call functions with the correct number and type of arguments

CertC++-EXP39

Do not access a variable through a pointer of an incompatible type

CertC++-EXP42

Do not compare padding data

CertC++-EXP45

Do not perform assignments in selection statements

CertC++-EXP46

Do not use a bitwise operator with a Boolean-like operand

CertC++-EXP47

Do not call va_arg with an argument of the incorrect type

CertC++-EXP50

Do not depend on the order of evaluation for side effects

CertC++-EXP51

Do not delete an array through a pointer of the incorrect type

CertC++-EXP52

Do not rely on side effects in unevaluated operands

CertC++-EXP53

Do not read uninitialized memory

CertC++-EXP54

Do not access an object outside of its lifetime

CertC++-EXP55

Do not access a cv-qualified object through a cv-unqualified type

CertC++-EXP57

Do not cast or delete pointers to incomplete classes

CertC++-EXP58

Pass an object of the correct type to va_start

CertC++-EXP59

Use offsetof() on valid types and members

CertC++-EXP61

A lambda object must not outlive any of its reference captured objects

CertC++-EXP62

Do not access the bits of an object representation that are not part of the object’s value representation

CertC++-EXP63

Do not rely on the value of a moved-from object

Options