...
Inadvertent trigraphs can result in unexpected behavior. Some compilers provide options to warn when trigraphs are encountered or to disable trigraph expansion. Use the warning options and ensure your code compiles cleanly. (See MSC00-C. Compile cleanly at high warning levels.)
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
PRE07-C | low | unlikely | medium | P2 | L3 |
...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
| 81 S | Fully implemented. | |||||||
GCC |
| Can detect violation of this recommendation when the | |||||||
| dtrigraf | Fully implemented. | |||||||
PRQA QA-C |
| 3601 | Partially implemented |
Related Vulnerabilities
...
ISO/IEC 9899:2011 Section 5.2.1.1, "Trigraph sequences"
MISRA 2004 Rule 4.2
...