Versions Compared

Key

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

...

Tool

Version

Checker

Description

Compass/ROSE

 

 

 

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

CC2.EXP05

Fully implemented

GCC

Include Page
GCC_V
GCC_V

 

Can detect violations of this recommendation when the -Wcast-qual flag is used

LDRA tool suite

Include Page
LDRA_V
LDRA_V

203 S

Fully implemented

PRQA QA-C
Include Page
PRQA QA-C_Vv
PRQA QA-C_Vv
0311,431Fully implemented

Related Vulnerabilities

...

Related Guidelines

CERT C++ Secure Coding StandardEXP35EXP55-CPP. Do not cast away a const qualificationaccess a cv-qualified object through a cv-unqualified type
ISO/IEC TR 24772:2013Pointer Casting and Pointer Type Changes [HFC]
Type System [IHN]
MISRA C:2012Rule 11.8 (required)
MITRE CWECWE-704, Incorrect type conversion or cast

...