Versions Compared

Key

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

...

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

Supported, but no explicit checker
Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C0185, C0184
Klocwork
Include Page
Klocwork_V
Klocwork_V
SV.FMT_STR.PRINT_PARAMS_WRONGNUM.FEW
SV.FMT_STR.PRINT_PARAMS_WRONGNUM.MANY
SV.FMT_STR.SCAN_PARAMS_WRONGNUM.FEW
SV.FMT_STR.SCAN_PARAMS_WRONGNUM.MANY

LDRA tool suite
Include Page
LDRA_V
LDRA_V

41 S

Enhanced Enforcement

Parasoft C/C++test

Include Page
Parasoft_V
Parasoft_V

CERT_C-DCL10-aThe number of format specifiers in the format string and the number of corresponding arguments in the invocation of a string formatting function should be equal
PC-lint Plus

Include Page
PC-lint Plus_V
PC-lint Plus_V

558, 719

Assistance provided: reports issues involving format strings

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C: Rec. DCL10-C


Checks for format string specifiers and arguments mismatch (rec. partially covered)

PRQA QA-C
Include Page
PRQA QA-C_vPRQA QA-C_v

0185, 0184

Partially implemented

Related Guidelines

ISO/IEC TR 24772:2013Subprogram Signature Mismatch [OTR]
MISRA C:2012Rule 17.1 (required)
MITRE CWECWE-628, Function call with incorrectly specified arguments

...