Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleGenerated Content

This page is automatically generated from the "Automated Detection" sections in the individual guidelines. Do not modify this page directly.

Version number:
4.3.5

C checkers Checker

Guideline

 PRE07-C. Avoid using repeated question marks
DCL07-C. Include the appropriate type information in function declarators 
DCL11-C. Understand the type issues associated with variadic functions 
DCL31-C. Declare identifiers before using them

 

DCL36-C. Do not declare an identifier with conflicting linkage classifications 
EXP05-C. Do not cast away a const qualification 
EXP13-C. Treat relational and equality operators as if they were nonassociative 

EXP16-C. Do not compare function pointers to constant values

 

EXP30-C. Do not depend on the order of evaluation for side effects

 

EXP32-C. Do not access a volatile object through a nonvolatile reference

 

EXP33-C. Do not read uninitialized memory 

EXP35-C. Do not modify objects with temporary lifetime

 

EXP36-C. Do not cast pointers into more strictly aligned pointer types 
EXP37-C. Call functions with the correct number and type of arguments 
EXP45-C. Do not perform assignments in selection statements
EXP16-C. Do not compare function pointers to constant values
EXP35-C. Do not modify objects with temporary lifetime 
FIO30-C. Exclude user input from format strings 
FIO47-C. Use valid format strings 
MSC01-C. Strive for logical completeness

 

MSC04-C. Use comments consistently and in a readable fashion

 

MSC07-C. Detect and remove dead code

 

PRE07-C. Avoid using repeated question marks
-Wchar-subscriptsSTR34-C. Cast characters to unsigned char before converting to larger integer sizes
-Wunused-parameterMSC12-C. Detect and remove code that has no effect
-Wunused-valueMSC12-C. Detect and remove code that has no effect

>