Versions Compared

Key

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

...

Tool

Version

Checker

Description

Section

LDRA tool suite

7.6.0

 

 

Section

GCC

 

 

Section

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

Section

Compass/ROSE

 

 

 

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

CP1.EXP35

Fully implemented

PRQA QA-C++
Include Page
PRQA QA-C++_v
PRQA QA-C++_v
3060,3083 

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

...

[ISO/IEC 14882-2003] Sections 3.9.3 CV-qualifiers and 3.10 Lvalues and rvalues (para. 13).
[Sutter 04] Item 94: Avoid casting away const.

...

EXP34-CPP. Ensure a null pointer is not dereferencedImage Added      03. Expressions (EXP)      EXP36-CPP. Do not convert cast pointers into more strictly aligned pointer types