Versions Compared

Key

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

...

The LDRA tool suite V 7.6.0 is able to detect violations of this recommendation.

Compass/ROSE could detect violations of this recommendation...typedefs are well represented in ROSE's AST. To detect violations, we first have to rigorously define what constitutes a 'too complicated type'. Most could concede that a pointer to a simple type is not too complicated, but a function type is. I think a reasonable definition of 'too complicated' would be any type that has two pointers, two arrays, one array + one pointer, or one function.

Related Vulnerabilities

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

...