| 22 | |
| 23 | #if SANITIZER_NETBSD |
| 24 | static 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 | |
| 36 | static void *GetFuncAddr(const char *name, uptr wrapper_addr) { |