...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
CodeSonar |
| LANG.ARITH.DIVZERO | Division by zero | ||||||
Can detect some violations of this rule. In particular, it ensures that all operations involving division or modulo are preceded by a check ensuring that the second operand is nonzero | |||||||||
Coverity | 6.5 | DIVIDE_BY_ZERO | Fully implemented | ||||||
Fortify SCA | 5.0 | Can detect violations of this rule with CERT C Rule Pack | |||||||
| 43 D, 248 S, 629 S | Partially implemented | |||||||
PRQA QA-C |
| 2830 (C) | Fully implemented | ||||||
Cppcheck |
| zerodiv, zerodivcond | Context sensitive analysis of division by zero Not detected for division by struct member / array element / pointer data that is 0. Detected when there is unsafe division by variable before/after test if variable is zero |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...