Versions Compared

Key

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

...

Recommendation

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

STR11-C

Low

Probable

Yes

LowYes

P6

L2

Automated Detection

Supported: Astrée can detect subsequent code defects that this rule aims to prevent. declare size an array when the array is initializedMissing Partially implemented

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

initializer-excess
string-initializer-null

Partially checked
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-STR11
Compass/ROSE




ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

CC2.STR36

Fully implemented

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C1312
LDRA tool suite
Include Page
LDRA_V
LDRA_V
404 SPartially implemented
Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V

CERT_C-STR11-a

Do not

specify the

bound of

a character array initialized with a string literal

PC-lint Plus

Include Page
PC-lint Plus_V
PC-lint Plus_V

784

Partially supported

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C: Rec. STR11-C

Checks for missing null in string array

String does not terminate with null character

PRQA QA-C
Include Page
PRQA QA-C_vPRQA QA-C_v1312,0690

(rec. partially covered)

RuleChecker

Include Page
RuleChecker_V
RuleChecker_V

initializer-excess
string-initializer-null
Patially checked
Splint
Include Page
Splint_V
Splint_V



...