reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

projects/compiler-rt/lib/asan/asan_interceptors.h
  131 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
projects/compiler-rt/lib/msan/msan_interceptors.cpp
   57 DECLARE_REAL(SIZE_T, strnlen, const char *s, SIZE_T maxlen)
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
  379 INTERCEPTOR(SIZE_T, strnlen, const char *s, SIZE_T maxlen) {

References

projects/compiler-rt/lib/asan/asan_interceptors.cpp
   57   if (REAL(strnlen)) {
   58     return REAL(strnlen)(s, maxlen);
projects/compiler-rt/lib/msan/msan_interceptors.cpp
  298   SIZE_T copy_size = REAL(strnlen)(src, n);
  378   SIZE_T copy_size = REAL(strnlen)(src, n);
  855     SIZE_T real_len = REAL(strnlen)(name, len);
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
  382   SIZE_T length = REAL(strnlen)(s, maxlen);
 9636   INIT_STRNLEN;