...
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 | |||||||
| |||||||||
GCC |
| Can detect violations of this recommendation when the | |||||||
| EFFECT |
...
ISO/IEC TR 24772 "KOA Likely Incorrect Expressionsincorrect expressions"
MITRE CWE: CWE-482, "Comparing instead of Assigningassigning"
MITRE CWE: CWE-480, "Use of Incorrect Operatorincorrect operator"
Bibliography
[Hatton 1995] Section 2.7.2, "Errors of omission and addition"
...