Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Parasoft C/C++test 10.4

...

Tool

Version

Checker

Description

Compass/ROSE



Can detect violations of the recommendation but cannot distinguish between incomplete array declarations and pointer declarations

Klocwork
Include Page
Klocwork_V
Klocwork_V
CWARN.MEMSET.SIZEOF.PTRFully implemented
LDRA tool suite
Include Page
LDRA_V
LDRA_V

401 S

Fully implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V
PB-32

CERT_C-ARR01-a

Do not call 'sizeof' on a pointer type

Fully implemented

Polyspace Bug FinderR2016a

MISRA C:2012 Rule 12.5

Possible misuse of sizeof

Wrong type used in sizeof

Use of sizeof operator can cause unintended results

Splint
Include Page
Splint_V
Splint_V



PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V511, V512, V514, V568, V579, V604, V697

...