Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Parasoft C/C++test 10.4

...

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

Supported, but no explicit checker
Compass/ROSE



Can detect some violations of this rule

Coverity
Include Page
Coverity_V
Coverity_V
STRING_NULLFully implemented
Klocwork
Include Page
Klocwork_V
Klocwork_V

NNTS.MIGHT
NNTS.MUST

NNTS.TAINTED


LDRA tool suite
Include Page
LDRA_V
LDRA_V

404 S, 600 S

Partially implemented

Parasoft C/C++test
Include Page
Parasoft_V
Parasoft_V
BDCERT_C-PBSTR32-OVERFNZTa

Avoid overflow due to reading a not zero terminated string

Implemented

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

Invalid use of standard library string routine

Standard function call with incorrect arguments

Tainted NULL or non-null-terminated string

MISRA C:2012 Rule 21.17

Standard library string function called with invalid arguments

Argument to a standard function does not meet requirements for use in the function


Argument is from an unsecure source and may be NULL or not NULL-terminated

Use of the string handling function from <string.h> shall not result in accesses beyond the bounds of the objects referenced by their pointer parameters

PRQA QA-C++4.2 0145 
PVS-Studio

Include Page
PVS-Studio_V
PVS-Studio_V

V692

...