CertCRecommendations-MSCΒΆ

Miscellaneous

Nested Rules

CertC-MSC00

Compile cleanly at high warning levels

CertC-MSC01

Strive for logical completeness

CertC-MSC04

Use comments consistently and in a readable fashion

CertC-MSC05

Do not manipulate time_t typed values directly

CertC-MSC06

Beware of compiler optimizations

CertC-MSC09

Character encoding: Use subset of ASCII for safety

CertC-MSC12

Detect and remove code that has no effect or is never executed

CertC-MSC13

Detect and remove unused values

CertC-MSC14

Do not introduce unnecessary platform dependencies

CertC-MSC15

Do not depend on undefined behavior

CertC-MSC17

Finish every set of statements associated with a case label with a break statement

CertC-MSC19

For functions that return an array, prefer returning an empty array over a null value

CertC-MSC20

Do not use a switch statement to transfer control into a complex block

CertC-MSC21

Use robust loop termination conditions

CertC-MSC24

Do not use deprecated or obsolescent functions

Options