...
Risk Assessment
Rule | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
STR09-C | Low | Unlikely | Yes | LowNo | P3P2 | L3 |
Automated Detection
Tool | Version | Checker | Description | |||||||
| Astrée |
| Supported indirectly via MISRA C:2012 rule 10.1. | ||||||||
| Axivion Bauhaus Suite |
| CertC-STR09 | ||||||||
| Helix QAC |
| C2106, C2107, but no explicit checker | ||||||||
| LDRA tool suite |
| 329 S | Fully implemented | |||||||
| Parasoft C/C++test |
| CERT_C-STR09-a | Expressions with type (plain) char and wchar_t shall not be used as operands to built-in operators other than =, ==, != and the unary & operator | |||||||
| PRQA QAPC-Clint Plus |
| 9209 | Fully supported | |||||||
| RuleChecker |
| Supported indirectly via MISRA C:2012 rule 10.1. 2106 2107 |
Related Guidelines
| SEI CERT C++ Coding Standard | VOID STR07-CPP. Don't assume numeric values for expressions with type plain character |
...