...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
| DEADCODE
| Can detect the specific instance where code can never be reached because of a logical contradiction or a dead "default" in Can detect the instances where code block is unreachable because of the syntactic structure of the code. | |||||||
GCC |
|
| Can detect violations of this recommendation when the | ||||||
| LV_UNUSED.GEN VA_UNUSED.* UNREACH.* |
| |||||||
| 1 J | Fully implemented. | |||||||
PRQA QA-C |
| 0689 | Fully implemented. | ||||||
Splint |
|
| Can detect violations of this recommendation when the |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...
CERT C++ Secure Coding Standard | MSC07-CPP. Detect and remove dead code |
ISO/IEC TR 24772 | Leveraging human experience [BRS] Unspecified functionality [BVQ] Dead and deactivated code [XYQ] |
MISRA - C:2012 | Rule 2Directive 4.4 (advisory) |
MITRE CWE | CWE-561, Dead code |
...