Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version number:
3.1.1

Checker

Guideline

-standardDCL01-C. Do not reuse variable names in subscopesDCL15-C. Declare file-scope objects or functions that do not need external linkage as staticDCL30-C. Declare objects with appropriate storage durationsDCL36-C. Do not declare an identifier with conflicting linkage classificationsEXP12-C. Do not ignore values returned by functionsEXP30-C. Do not depend on the order of evaluation for side effectsEXP33-C. Do not read uninitialized memoryEXP34-C. Do not dereference null pointersEXP35-C. Do not modify objects with temporary lifetimeINT01-C. Use rsize_t or size_t for all integer values representing the size of an objectINT07-C. Use only explicitly signed or unsigned char type for numeric valuesINT13-C. Use bitwise operators only on unsigned operandsFLP06-C. Convert integers to floating point for floating-point operationsARR01-C. Do not apply the sizeof operator to a pointer when taking the size of an arrayARR38-C. Guarantee that library functions do not form invalid pointersSTR30-C. Do not attempt to modify string literalsSTR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminatorSTR11-C. Do not specify the bound of a character array initialized with a string literalMEM30-C. Do not access freed memoryMEM31-C. Free dynamically allocated memory when no longer neededMEM35-C. Allocate sufficient memory for an objectFIO30-C. Exclude user input from format stringsFIO34-C. Distinguish between characters read from a file and EOF or WEOFSIG30-C. Call only asynchronous-safe functions within signal handlersMSC07-C. Detect and remove dead codeMSC12-C. Detect and remove code that has no effect or is never executed

>