...
Automated Detection
The Coverity Prevent Version 5.0 BAD_COMPARE checker can detect the specific instance where the address of a function is compared against 0, such as in the case of geteuid
versus getuid()
in the Implementation-Specific Details.
...