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
flexible-array-member-assignment
flexible-array-member-declaration
Fully checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-MEM33Fully implemented
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

LANG.STRUCT.DECL.FAM

Declaration of Flexible Array Member

Compass/ROSE



Can detect all of these

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C1061, C1062, C1063, C1064
Klocwork
Include Page
Klocwork_V
Klocwork_V

MISRA.INCOMPLETE.STRUCT
MISRA.MEMB.FLEX_ARRAY.2012


LDRA tool suite
Include Page
LDRA_V
LDRA_V
649 S, 650 SFully implemented
Parasoft C/C++test

Include Page
Parasoft_V
Parasoft_V

CERT_C-MEM33-a
CERT_C-MEM33-b

Allocate structures containing a flexible array member dynamically
Do not copy instances of structures containing a flexible array member

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C: Rule MEM33-CChecks for misuse of structure with flexible array member (rule fully covered) PRQA QA-C
Include Page
PRQA QA-C_vPRQA QA-C_v
1061, 1062, 1063, 1064 RuleChecker

Include Page
RuleChecker_V
RuleChecker_V

flexible-array-member-assignment
flexible-array-member-declaration
Fully checked

...