| Content by Label | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Info |
|---|
Information for Editors |
Risk Assessment Summary
Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| EXP30-C | Medium | Probable | No | Yes | P8 | L2 |
| EXP32-C | Low | Likely | No | Yes | P6 | L2 |
| EXP33-C | High | Probable | No | Yes | P12 | L1 |
| EXP34-C | High | Likely | No | Yes | P18 | L1 |
| EXP35-C | Low | Probable | Yes | Yes | P6 | L2 |
| EXP36-C | Low | Probable | No | No | P2 | L3 |
| EXP37-C | Medium | Probable | No | No | P4 | L3 |
| EXP39-C | Medium | Unlikely | No | No | P2 | L3 |
| EXP40-C | Low | Unlikely | Yes | No | P2 | L3 |
| EXP42-C | Medium | Probable | Yes | Yes | P12 | L1 |
| EXP43-C | Medium | Probable | No | No | P4 | L3 |
| EXP44-C | Low | Unlikely | Yes | Yes | P3 | L3 |
| EXP45-C | Low | Likely | Yes | No | P6 | L2 |
Related Rules and Recommendations
| Navigation Map | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
...
Recommendations
EXP00-A. Use parentheses for precedence of operation
EXP01-A. Don't take the sizeof a pointer to determine the size of a type
EXP02-A. The second operands of the logical AND and OR operators should not contain side effects
EXP03-A. Do not assume the size of a structure is the sum of the of the sizes of its members
EXP04-A. Operate on structure members rather than structures as a whole
EXP05-A. Do not cast away a const qualification
EXP06-A. Operands to the sizeof operator should not contain side effects
Rules
EXP30-C. Do not depend on order of evaluation between sequence points
EXP31-C. Do not modify constant values
EXP32-C. Do not access a volatile object through a non-volatile reference