MCPcopy Create free account
hub / github.com/Tencent/TscanCode / checkSuspiciousEqualityComparison

Method checkSuspiciousEqualityComparison

trunk/lib/checkother.cpp:1086–1126  ·  view source on GitHub ↗

--------------------------------------------------------------------------- if (x == 1) x == 0; // <- suspicious equality comparison. ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runSimplifiedChecksFunction · 0.80

Calls 4

isEnabledMethod · 0.80
sizeMethod · 0.80
linkAtMethod · 0.80
tokAtMethod · 0.80

Tested by

no test coverage detected