CertC++-MSCΒΆ

Miscellaneous

Nested Rules

CertC++-MSC30

Do not use the rand() function for generating pseudorandom numbers

CertC++-MSC32

Properly seed pseudorandom number generators

CertC++-MSC33

Do not pass invalid data to the asctime() function

CertC++-MSC37

Ensure that control never reaches the end of a non-void function

CertC++-MSC38

Do not treat a predefined identifier as an object if it might only be implemented as a macro

CertC++-MSC39

Do not call va_arg() on a va_list that has an indeterminate value

CertC++-MSC40

Do not violate constraints

CertC++-MSC41

Never hard code sensitive information

CertC++-MSC50

Do not use std::rand() for generating pseudorandom numbers

CertC++-MSC51

Ensure your random number generator is properly seeded

CertC++-MSC52

Value-returning functions must return a value from all exit paths

CertC++-MSC53

Do not return from a function declared [[noreturn]]

Options