1336817Sdim//===-- msan_report.h -------------------------------------------*- C++ -*-===//
2336817Sdim//
3353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4353358Sdim// See https://llvm.org/LICENSE.txt for license information.
5353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6336817Sdim//
7336817Sdim//===----------------------------------------------------------------------===//
8336817Sdim///
9336817Sdim/// \file
10336817Sdim/// This file is a part of MemorySanitizer. MSan-private header for error
11336817Sdim/// reporting functions.
12336817Sdim///
13336817Sdim//===----------------------------------------------------------------------===//
14336817Sdim
15336817Sdim#ifndef MSAN_REPORT_H
16336817Sdim#define MSAN_REPORT_H
17336817Sdim
18336817Sdim#include "sanitizer_common/sanitizer_internal_defs.h"
19336817Sdim#include "sanitizer_common/sanitizer_stacktrace.h"
20336817Sdim
21336817Sdimnamespace __msan {
22336817Sdim
23336817Sdimvoid ReportUMR(StackTrace *stack, u32 origin);
24336817Sdimvoid ReportExpectedUMRNotFound(StackTrace *stack);
25336817Sdimvoid ReportStats();
26336817Sdimvoid ReportAtExitStatistics();
27336817Sdimvoid DescribeMemoryRange(const void *x, uptr size);
28336817Sdimvoid ReportUMRInsideAddressRange(const char *what, const void *start, uptr size,
29336817Sdim                                 uptr offset);
30336817Sdim
31336817Sdim}  // namespace __msan
32336817Sdim
33336817Sdim#endif  // MSAN_REPORT_H
34