MCPcopy Create free account
hub / github.com/R-Fuzz/symsan / StrCmp

Function StrCmp

runtime/interception/interception_linux.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23#if SANITIZER_NETBSD
24static int StrCmp(const char *s1, const char *s2) {
25 while (true) {
26 if (*s1 != *s2)
27 return false;
28 if (*s1 == 0)
29 return true;
30 s1++;
31 s2++;
32 }
33}
34#endif
35
36static void *GetFuncAddr(const char *name, uptr wrapper_addr) {

Callers 1

GetFuncAddrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected