Versions Compared

Key

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

...

Tool

Version

Checker

Description

LDRA tool suite

Include Page
LDRA_VLDRA_V

585 S

Fully implemented.

Fortify SCA

V. 5.0

 

Can detect violations of this recommendation with the CERT C Rule Pack.

Compass/ROSE

 

 

Can detect violations of this recommendation. However, it can only detect those violations where both bitwise and arithmetic operators are used in the same expression.

Fortify SCA

5.0

 

Can detect violations of this recommendation with the CERT C Rule Pack.

LDRA tool suite

Include Page
LDRA_V
LDRA_V

585 S

Fully implemented.

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

...

...

...

...

...

Bit representations

...

[STR]
MISRA

...

-CRule 6.4

...

(required): Bit fields shall only be defined to be of type unsigned int or signed int
Rule 6.5 (required): Bit fields of type signed int shall be at least 2 bits long

Bibliography