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

Declarations

projects/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h
   22 DECLARE_REAL(void*, memset, void *block, int c, uptr size)
projects/compiler-rt/lib/msan/msan_interceptors.cpp
   59 DECLARE_REAL(void *, memset, void *dest, int c, uptr n)
projects/compiler-rt/lib/msan/msan_poisoning.cpp
   19 DECLARE_REAL(void *, memset, void *dest, int c, uptr n)
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
  776 INTERCEPTOR(void *, memset, void *dst, int v, uptr size) {

References

projects/compiler-rt/lib/asan/asan_allocator.cpp
  535       REAL(memset)(res, fl.malloc_fill_byte, fill_size);
  582         REAL(memset)((void *)scribble_start, fl.free_fill_byte, size_to_fill);
  685       REAL(memset)(ptr, 0, nmemb * size);
projects/compiler-rt/lib/asan/asan_fake_stack.cpp
  279   REAL(memset)(reinterpret_cast<void*>(MemToShadow(top)), 0,
projects/compiler-rt/lib/asan/asan_malloc_linux.cpp
   58     REAL(memset)(prev_mem, 0, last_dlsym_alloc_size_in_words * kWordSize);
  214   REAL(memset)(&res, 0, sizeof(res));
projects/compiler-rt/lib/asan/asan_poisoning.cpp
   39   CHECK(REAL(memset));
  140   REAL(memset)(beg.chunk, kAsanUserPoisonedMemoryMagic, end.chunk - beg.chunk);
  171   REAL(memset)(beg.chunk, 0, end.chunk - beg.chunk);
  321   REAL(memset)((void *)addr, 0, size);
  325   REAL(memset)((void *)addr, 0xf1, size);
  329   REAL(memset)((void *)addr, 0xf2, size);
  333   REAL(memset)((void *)addr, 0xf3, size);
  337   REAL(memset)((void *)addr, 0xf5, size);
  341   REAL(memset)((void *)addr, 0xf8, size);
projects/compiler-rt/lib/asan/asan_poisoning.h
   58     REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg);
   65       REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg);
   68         REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg);
   71         REAL(memset)((void *)page_end, 0, shadow_end - page_end);
projects/compiler-rt/lib/asan/asan_stats.cpp
   28   CHECK(REAL(memset));
   29   REAL(memset)(this, 0, sizeof(AsanStats));
projects/compiler-rt/lib/msan/msan_interceptors.cpp
  259   REAL(memset)(sret, 0, sizeof(*sret));
 1557   REAL(memset)(a, 0, size);
 1574   if (msan_init_is_running) return REAL(memset)(s, c, n);
 1576   void *res = REAL(memset)(s, c, n);
projects/compiler-rt/lib/msan/msan_poisoning.cpp
  127     REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg);
  133       REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg);
  136         REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg);
  139         REAL(memset)((void *)page_end, 0, shadow_end - page_end);
projects/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
 6213   REAL(memset)(s, 0, sizeof(*s));
 9653   INIT_MEMSET;
projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
 2616   REAL(memset) = internal_memset;