Versions Compared

Key

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

This page was automatically generated and should not be edited.

Note

The information on this page was provided by outside contributors and has not been verified by SEI CERT.

Tip

The table below can be re-ordered, by clicking column headers.

...

Include Page
Cppcheck_V
Cppcheck_V

Checker

Guideline

arrayIndexOutOfBounds ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
arrayIndexOutOfBoundsCond ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
arrayIndexThenCheck ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
cert.py EXP42-C. Do not compare padding data
cert.py EXP46-C. Do not use a bitwise operator with a Boolean-like operand
ignoredReturnValue EXP12-C. Do not ignore values returned by functions
leakReturnValNotUsed MEM31-C. Free dynamically allocated memory when no longer needed
leakReturnValNotUsed EXP12-C. Do not ignore values returned by functions
memsetValueOutOfRange INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data
negativeArraySize ARR32-C. Ensure size arguments for variable length arrays are in a valid range
negativeIndex ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
nullPointer EXP34-C. Do not dereference null pointers
nullPointerDefaultArg EXP34-C. Do not dereference null pointers
nullPointerRedundantCheck EXP34-C. Do not dereference null pointers
outOfBounds ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
possibleBufferAccessOutOfBounds ARR30-C. Do not form or use out-of-bounds pointers or array subscripts
preprocessorErrorDirective PRE30-C. Do not create a universal character name through concatenation
preprocessorErrorDirective PRE32-C. Do not use preprocessor directives in invocations of function-like macros
shiftNegative INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
shiftTooManyBits INT34-C. Do not shift an expression by a negative number of bits or by greater than or equal to the number of bits that exist in the operand
uninitMemberVar uninitdata EXP33-C. Do not read uninitialized memory
uninitStructMember uninitMemberVar EXP33-C. Do not read uninitialized memory
uninitdata uninitstring EXP33-C. Do not read uninitialized memory
uninitstring uninitStructMember EXP33-C. Do not read uninitialized memory
uninitvar EXP33-C. Do not read uninitialized memory
zerodiv INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors
zerodivcond INT33-C. Ensure that division and remainder operations do not result in divide-by-zero errors