Versions Compared

Key

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

...

Failure to understand implementation-specific details regarding signal-handler persistence can lead to unexpected behavior.

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

SIG01-C

Low

Unlikely

Low

P3

L3

Automated Detection

Tool

Version

Checker

Description

CodeSonar
Include Page
CodeSonar_V
CodeSonar_V
BADFUNC.SIGNALUse of signal
Compass/ROSE

 

 



Could detect possible violations by flagging any signal handler that calls signal() to (re)assert itself as the handler for its signal

Helix QAC

Include Page
Helix QAC_V
Helix QAC_V

C5020
LDRA tool suite
Include Page
LDRA_V
LDRA_V
97 DPartially implemented
Parasoft C/C++test
9.5MISRA2012-RULE-21_5_bUse of signalPRQA QA-C Include PagePRQA QA-C_vPRQA QA-C_vwarncall for signal
Include Page
Parasoft_V
Parasoft_V
CERT_C-SIG01-a
The signal handling facilities of <signal.h> shall not be used
PC-lint Plus

Include Page
PC-lint Plus_V
PC-lint Plus_V

586

Assistance provided: reports use of the signal function

Partially implemented

Related Vulnerabilities

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

Related Guidelines

...


...

Image Modified Image Modified Image Modified