msan.h 243 B

123456789101112
  1. #pragma once
  2. #include <stddef.h>
  3. #if defined(__clang__)
  4. #if __has_feature(memory_sanitizer)
  5. extern "C" void __msan_unpoison(const volatile void* ptr, size_t size);
  6. #ifndef __SANITIZE_MEMORY__
  7. #define __SANITIZE_MEMORY__
  8. #endif
  9. #endif
  10. #endif