Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM Cost Reform

...

Incorrectly using threads that asynchronously cancel may result in silent corruption, resource leaks, and, in the worst case, unpredictable interactions.

Rule

Severity

Likelihood

Detectable

RepairableRemediation Cost

Priority

Level

POS47-C

Medium

Probable

No

NoLow

P12P4

L1L3

Automated Detection

Tool

Version

Checker

Description

Astrée
Include Page
Astrée_V
Astrée_V

bad-macro-use

bad-macro-expansion

Supported
Axivion Bauhaus Suite

Include Page
Axivion Bauhaus Suite_V
Axivion Bauhaus Suite_V

CertC-POS47
Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C5035
Klocwork
Include Page
Klocwork_V
Klocwork_V
CERT.POS.THREAD.ASYNC_CANCEL
Parasoft C/C++test

Include Page
Parasoft_V
Parasoft_V

CERT_C-POS47-a

The function 'pthread_setcanceltype()' should not be called with 'PTHREAD_CANCEL_ASYNCHRONOUS' argument

PC-lint Plus

Include Page
PC-lint Plus_V
PC-lint Plus_V

586

Fully supported

Polyspace Bug Finder

Include Page
Polyspace Bug Finder_V
Polyspace Bug Finder_V

CERT C: Rule POS47-CChecks for asynchronously cancellable thread (rule fully covered)
RuleChecker

Include Page
RuleChecker_V
RuleChecker_V

bad-macro-use

bad-macro-expansion

Supported

...