...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
Astrée |
| evaluation-order multiple-volatile-accesses | Fully checked | ||||||
Axivion Bauhaus Suite |
| CertC-EXP30 | |||||||
Clang |
| -Wunsequenced | Detects simple violations of this rule, but does not diagnose unsequenced function call arguments. | ||||||
Compass/ROSE | Can detect simple violations of this rule. It needs to examine each expression and make sure that no variable is modified twice in the expression. It also must check that no variable is modified once, then read elsewhere, with the single exception that a variable may appear on both the left and right of an assignment operator | ||||||||
| EVALUATION_ORDER | Can detect the specific instance where a statement contains multiple side effects on the same value with an undefined evaluation order because, with different compiler flags or different compilers or platforms, the statement may behave differently | |||||||
| CC2.EXP30 | Fully implemented | |||||||
GCC |
| Can detect violations of this rule when the | |||||||
Klocwork |
| PORTING.VAR.EFFECTS | |||||||
LDRA tool suite |
| 35 D, 1 Q, 9 S, 30 S, 134 S | Partially implemented | ||||||
Parasoft C/C++test |
| CERT_C-EXP30-a | The value of an expression shall be the same under any order of evaluation that the standard permits | ||||||
PC-lint Plus |
| 564 | Partially supported | ||||||
Polyspace Bug Finder |
| CERT C: Rule EXP30-C | Checks for situations when expression value depends on order of evaluation or of side effects (rule partially covered) | ||||||
PRQA QA-C |
| 0400, 0401, 0402, 0403, 0404, 0405 | Fully implemented | ||||||
PVS-Studio |
| V567 | |||||||
RuleChecker |
| evaluation-order multiple-volatile-accesses | Fully checked | ||||||
Splint |
| ||||||||
SonarQube C/C++ Plugin |
| IncAndDecMixedWithOtherOperators | |||||||
TrustInSoft Analyzer |
| separated | Exhaustively verified (see one compliant and one non-compliant example). | ||||||
Helix QAC |
| C: 0400, 0401, 0402, 0403, 0404, 0405 |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...