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

Method checkAlwaysTrueOrFalseStringCompare

trunk/lib/checkstring.cpp:78–117  ·  view source on GitHub ↗

--------------------------------------------------------------------------- Check for string comparison involving two static strings. if(strcmp("00FF00","00FF00")==0) // <- statement is always true ---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runSimplifiedChecksFunction · 0.80

Calls 3

isEnabledMethod · 0.80
tokensMethod · 0.80
tokAtMethod · 0.80

Tested by

no test coverage detected