Versions Compared

Key

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

...

Tool

Version

Checker

Description

Astrée

Include Page
Astrée_V
Astrée_V

cast-integer-to-enum
Partially checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC++-INT50
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

LANG.CAST.COERCE

LANG.CAST.VALUE

Coercion Alters Value

Cast Alters Value

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C++3013
Parasoft C/C++test

Include Page
Parasoft_V
Parasoft_V

CERT_CPP-INT50-a

An expression with enum underlying type shall only have values corresponding to the enumerators of the enumeration

PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V1016
RuleChecker
Include Page
RuleChecker_V
RuleChecker_V
cast-integer-to-enumPartially checked
Polyspace Bug Finder

Include Page
RuleCheckerPolyspace Bug Finder_VRuleChecker
Polyspace Bug Finder_V

CERT C++: INT50-CPPChecks for casting to out-of-range enumeration value (rule fully covered)

...