Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Tool

Version

Checker

Description

Section

LDRA tool suite

Include Page
c:LDRA_Vc:
LDRA_V
Section

94 S
540 S

Section

Fully Implemented

Section

GCC

Include Page
c:GCC_Vc:
GCC_V

 

Section

Can detect some violations of this rule when the -Wcast-align flag is used.

Section

EDG Front End to Compass/ROSE

 

 

 

Section

Compass/ROSE

 

 

Section

Can detect violations of this rule. However, it does not flag explicit casts to void * and then back to another pointer type.

Section

ECLAIR

Include Page
c:ECLAIR_Vc:
ECLAIR_V
Section

castexpr

Section

Fully Implemented

...

MISRA Rules 11.2 and 11.3

Bibliography

Wiki MarkupWalfridsson, Krister. [Aliasing, pointer casts and gcc 3.3|http://mail-index. netbsd.org/tech-kern/2003/08/11/0001.html]. August, 2003. \[
[Bryant 2003|AA. Bibliography#Bryant 03]\]

...

EXP35-C. Do not access or modify an array in the result of a function call after a subsequent sequence point      03. Expressions (EXP)      EXP37-C. Call functions with the arguments intended by the API