...
Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
ERR30-C | Medium | Probable | Yes | Yes | P12 | L1 |
Automated Detection
Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Astrée |
| chained-errno-function-calls | Partially checked | ||||||
| Axivion Bauhaus Suite |
| CertC-ERR30 | Fully implemented | ||||||
| CodeSonar |
| LANG.STRUCT.RC | Redundant Condition | ||||||
| Compass/ROSE | Could detect violations of this rule by ensuring that each library function is accompanied by the proper treatment of | ||||||||
| Coverity |
| MISRA C 2012 Rule 22.8 MISRA C 2012 Rule 22.9 MISRA C 2012 Rule 22.10 | Implemented | ||||||
| Cppcheck Premium |
| premium-cert-err30-c | |||||||
| Helix QAC |
| C2500, C2501, C2502, C2503 C++3172, C++3173, C++3174, C++3175, C++3176, C++3177, C++3178, C++3179, C++3183, C++3184 | |||||||
| Klocwork |
| CXX.ERRNO.NOT_SET | |||||||
| LDRA tool suite |
| 111 D, 121 D, 122 D, 132 D, 134 D | Fully implemented | ||||||
| Parasoft C/C++test |
| CERT_C-ERR30-a | Properly use errno value | ||||||
| Checks for:
Rule fully covered. | ||||||||
| RuleChecker |
| chained-errno-function-calls errno-test-after-wrong-call | Partially checked |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...