...
Tool | Version | Checker | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Astrée |
| dead-assignemnt dead-initializer | Partially checked and soundly supported. | |||||||||||
CodeSonar |
| DIAG.UNEX.* | Code not exercised by analysis | |||||||||||
| 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 | ||||||||||||
Helix QAC |
| C1501, C1503, C2008, C2877, C2880, C2881, C2882, C2883,C3202, C3203, C3205, C3206, C3207, C3210, C3219, C3229, C3404, C3422, C3423, C3425, C3470 DF2877, DF2880, DF2881, DF2882, DF2883, DF2980, DF2981, DF2982, DF2983, DF2984, DF2985, DF2986 | ||||||||||||
Klocwork |
| LVLA_UNUSED INVARIANT_CONDITION.UNREACH | ||||||||||||
LDRA tool suite |
| 1 J | Fully implemented | |||||||||||
Parasoft C/C++test |
| MISRA2004-14_1_a, MISRA2004-14_1_b, MISRA2004-14_1_c, MISRA2004-14_1_d, MISRA2004-14_1_e, MISRA2004-14_1_f, MISRA2004-14_1_g, BD-PB-SWITCH | Fully implemented | CERT_C-MSC07-a | There shall be no unreachable code in "else" block | |||||||||
Polyspace Bug Finder |
| CERT C: Rule MSC07-C | Polyspace Bug Finder | R2016a | Checks for: |
| PRQA QA-C||||||||
RuleChecker |
| PRQA QA-C_v |
| dead-assignemnt | Partially checked | PRQA QA-C_v | 1501,1503,2008,2880,2881,2882,2883,2877,3196, 3202,3203,3205,3206,3207,3210,3219,3229,3404, 3422,3423,3425,3470,2980,2981,2982,2983,2984,2985,2986 | Fully implemented|||||||
SonarQube C/C++ Plugin |
| S1763, S1751 | ||||||||||||
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.
...