...
Incorrect use of relational and equality operators can lead to incorrect control flow.
Remediation CostDetectable | Repairable | Priority | Level |
|---|
EXP13-C | Low | Unlikely |
MediumP2 Automated Detection
Tool | Version | Checker | Description |
|---|
| Astrée | | chained-comparison | Fully checked |
ECLAIR | | CC2.EXP13
| Fully implemented |
| GCC | |
| R2016a | Possibly | unintended evaluation of expression because of operator precedence rules |
Operator precedence rules cause unexpected evaluation order in arithmetic expression | PRQA QA-CPRQA QACvPRQA QACv3392 3401 4111 4112 4113 | RuleChecker_V |
|---|
| RuleChecker_V |
|---|
|
| chained-comparison | Fully checked |
Fully implementedRelated Guidelines
Bibliography
...
...
Image Modified
Image Modified
Image Modified