1//===-- msan_report.h -------------------------------------------*- C++ -*-===// 2// 3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4// See https://llvm.org/LICENSE.txt for license information. 5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6// 7//===----------------------------------------------------------------------===// 8/// 9/// \file 10/// This file is a part of MemorySanitizer. MSan-private header for error 11/// reporting functions. 12/// 13//===----------------------------------------------------------------------===// 14 15#ifndef MSAN_REPORT_H 16#define MSAN_REPORT_H 17 18#include "sanitizer_common/sanitizer_internal_defs.h" 19#include "sanitizer_common/sanitizer_stacktrace.h" 20 21namespace __msan { 22 23void ReportUMR(StackTrace *stack, u32 origin); 24void ReportExpectedUMRNotFound(StackTrace *stack); 25void ReportStats(); 26void ReportAtExitStatistics(); 27void DescribeMemoryRange(const void *x, uptr size); 28void ReportUMRInsideAddressRange(const char *what, const void *start, uptr size, 29 uptr offset); 30 31} // namespace __msan 32 33#endif // MSAN_REPORT_H 34