...
Tool | Version | Checker | Description | |||||||||||||||
Astrée |
| wide-narrow-string-cast wide-narrow-string-cast-implicit | Partially checked | |||||||||||||||
Axivion Bauhaus Suite |
| CertC-STR38 | Fully implemented | |||||||||||||||
Clang |
| -Wincompatible-pointer-types | ||||||||||||||||
CodeSonar |
| LANG.MEM.BO | Buffer Overrun | |||||||||||||||
Coverity |
| PW | Implemented | |||||||||||||||
Helix QAC |
| C0432 C++0403 | ||||||||||||||||
Klocwork |
| CXX.DIFF.WIDTH.STR_AND_FUNC | ||||||||||||||||
Parasoft C/C++test |
| CERT_C-STR38-a | Do not confuse narrow and wide character strings and functions | |||||||||||||||
PC-lint Plus |
| 2454, 2480, 2481 | Partially supported: reports illegal conversions involving pointers to char or wchar_t as well as byte/wide-oriented stream inconsistencies | |||||||||||||||
Polyspace Bug Finder |
| Pointer implicitly cast to different data type Allocated memory does not match destination pointer Function writes to buffer at offset greater than buffer size | PRQA QA-C | |||||||||||||||
Include Page | PRQA QA-C_v | PRQA QA-C_v | 0432 | PRQA QA-C++ | 4.2 | Checks for misuse of narrow or wide character string (rule fully covered) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
RuleChecker |
| wide-narrow-string-cast wide-narrow-string-cast-implicit | Partially checked | |||||||||||||||
TrustInSoft Analyzer |
| pointer arithmetic | Partially verified.0403 |
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...