Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: trying to get the automated detection table to format better

...

Tool

Version

Checker

Description

Section

LDRA tool suite

Include Page
LDRA_V
LDRA_V
Section

57 D
69 D

Section

Fully Implementedimplemented

Section

Fortify SCA

 

 

Section

can Can detect violations of this rule, but will return false positives if the initialization was done in another function.

Section

Splint

Include Page
Splint_V
Splint_V

 

 

Section

GCC

Include Page
GCC_V
GCC_V

 

Section

can Can detect some violations of this rule when the -Wuninitialized flag is used.

Section

Compass/ROSE

 

 

Section

automatically Automatically detects simple violations of this rule, although it may return some false positives. It may not catch more complex violations, such as initialization within functions taking uninitialized variables as arguments. It does catch the second noncompliant code example, and can be extended to catch the first as well.

Section

Coverity Prevent

Include Page
Coverity_V
Coverity_V
Section

NO_EFFECT

Section

can Can find cases of an uninitialized variable being used before it is initialized, although it cannot detect cases of uninitialized members of a struct. Because Coverity Prevent cannot discover all violations of this rule further verification is necessary.

Section

Klocwork

Include Page
Klocwork_V
Klocwork_V
Section

UNINIT.HEAP.MIGHT UNINIT.HEAP.MUST UNINIT.STACK.ARRAY.MIGHT UNINIT.STACK.ARRAY.MUST UNINIT.STACK.ARRAY.PARTIAL.MUST UNINIT.STACK.MUST

 

...