...
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 | |||||||
Cppcheck |
| zerodiv zerodivcond | Context sensitive analysis of division by zero | |||||||
Fortify SCA | 5.0 | Can detect violations of this rule with CERT C Rule Pack | ||||||||
| 43 D, 127 D, 248 S, 629 S, 80 X | Partially implemented | ||||||||
Parasoft C/C++test | 9.5 | BD-PB-ZERO | Fully implemented | |||||||
Parasoft Insure++ | Runtime detection | |||||||||
PRQA QA-C |
| 2830 (C) | Fully implementedCppcheck | |||||||
SonarQube C/C++ Plugin |
| zerodiv zerodivcond | S3518 | 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.
...