1 //===-- msan_report.h -------------------------------------------*- C++ -*-===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is distributed under the University of Illinois Open Source 6 // License. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 /// 10 /// \file 11 /// This file is a part of MemorySanitizer. MSan-private header for error 12 /// reporting functions. 13 /// 14 //===----------------------------------------------------------------------===// 15 16 #ifndef MSAN_REPORT_H 17 #define MSAN_REPORT_H 18 19 #include "sanitizer_common/sanitizer_internal_defs.h" 20 #include "sanitizer_common/sanitizer_stacktrace.h" 21 22 namespace __msan { 23 24 void ReportUMR(StackTrace *stack, u32 origin); 25 void ReportExpectedUMRNotFound(StackTrace *stack); 26 void ReportStats(); 27 void ReportAtExitStatistics(); 28 void DescribeMemoryRange(const void *x, uptr size); 29 void ReportUMRInsideAddressRange(const char *what, const void *start, uptr size, 30 uptr offset); 31 32 } // namespace __msan 33 34 #endif // MSAN_REPORT_H 35