...
Tool | Version | Checker | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| BAD_COMPARE | Can detect the specific instance where the address of a function is compared against 0, such as in the case of Include Page | | LDRA_V | LDRA_V | |||||||
GCC |
| Can detect violations of this recommendation when the | ||||||||||
| EFFECT | |||||||||||
|
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
...
CERT C++ Secure Coding Standard | EXP16-CPP. Avoid conversions using void pointers |
---|---|
ISO/IEC TR 17961 | (Draft) Comparing function addresses to zero [funcaddr] |
ISO/IEC TR 24772 | Likely incorrect expressions [KOA] |
MITRE CWE | CWE-480, Use of incorrect operator, and CWE-482, Comparing instead of assigning |
...
[Hatton 1995] | Section 2.7.2, "Errors of Omission and Addition" |
---|