Versions Compared

Key

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

...

Tool

Version

Checker

Description

CodeSonar
Include Page
CodeSonar_V
CodeSonar_V
(customization)Users who wish to avoid using strtok() entirely can add a custom check for all uses of strtok().

Compass/ROSE

 

 

 

Fortify SCA

5.0

 

Can detect violations of this rule with CERT C Rule Pack

LDRA tool suite

Include Page
LDRA_V
LDRA_V

602 S

Enhanced Enforcement

Polyspace Bug FinderR2016a

Writing to const qualified object

Modification of internal buffer returned from nonreentrant standard function

Object declared with a const qualifier is modified

Function attempts to modify internal buffer returned from a nonreentrant standard function

PRQA QA-C
Include Page
PRQA QA-C_v
PRQA QA-C_v
-wc strtok 

...