...
Recommendation | Severity | Likelihood | Detectable | RepairableRemediation Cost | Priority | Level |
|---|---|---|---|---|---|---|
DCL02-C | Low | Unlikely | Yes | YesMedium | P2P3 | L3 |
Automated Detection
Tool | Version | Checker | Description | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Axivion Bauhaus Suite |
| CertC-DCL02 | ||||||||||||
| CodeSonar |
| LANG.ID.AMBIG | Typographically ambiguous identifiers | |||||||||||
| Compass/ROSE | ||||||||||||||
| CC2.DCL02 | Fully implemented | ||||||||||||
| LDRA tool suite |
| 67 X | Fully implemented | |||||||||||
| Parasoft C/C++test |
| CERT_C-DCL02-a All letters contained in function and variable names will be composed entirely of lowercase letters | Use visually distinct identifiers | |||||||||||
| PC-lint Plus |
| 9046 | Partially supported: does not report ‘Q’ or ‘D’ vs ‘0’ or ‘O’ | |||||||||||
| Polyspace Bug Finder |
| R2015b | MISRA C:2012 Directive 4.5 |
| CERT C: Rec. DCL02-C | Checks for use of typographically ambiguous identifiers (rec. fully covered)Identifiers in the same name space with overlapping visibility should be typographically unambiguous |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
| SEI CERT C++ Coding Standard | VOID DCL02-CPP. Use visually distinct identifiers |
| ISO/IEC TR 24772:2013 | Choice of Clear Names [NAI] |
| MISRA C:2012 | Directive 4.5 (advisory) |
...