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

Supported indirectly via MISRA C:2012 Rule 5.3.
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-DCL01
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V
LANG.ID.ND.NESTNon-distinct identifiers: nested scope
Compass/ROSE




ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

CC2.DCL01

Fully implemented

Klocwork
Include Page
Klocwork_V
Klocwork_V

MISRA.VAR.HIDDEN


LDRA tool suite
Include Page
LDRA_V
LDRA_V

131 S

Fully implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V

CERT_C-DCL01-a
CERT_C-DCL01-b

Identifier declared in a local or function prototype scope shall not hide an identifier declared in a global or namespace scope
Identifiers declared in an inner local scope should not hide identifiers declared in an outer local scope

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

Variable shadowing

MISRA CERT C: 2012 Rule 5.3Rec. DCL02-C


Checks for use of typographically ambiguous identifiers (rule fully covered)

Variable hides another variable of same name with nested scope

An identifier declared in an inner scope shall not hide an identifier declared in an outer scope

PRQA QA-C
Include Page
PRQA QA-C_v
PRQA QA-C_v

0795, 0796, 2547, 3334

Fully implemented
PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V561, V688, V703, V711
RuleChecker

Include Page
RuleChecker_V
RuleChecker_V


Supported indirectly via MISRA C:2012 Rule 5.3.
Splint
Include Page
Splint_V
Splint_V



...