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 | |
21 | namespace __msan { |
22 | |
23 | void ReportUMR(StackTrace *stack, u32 origin); |
24 | void ReportExpectedUMRNotFound(StackTrace *stack); |
25 | void ReportStats(); |
26 | void ReportAtExitStatistics(); |
27 | void DescribeMemoryRange(const void *x, uptr size); |
28 | void ReportUMRInsideAddressRange(const char *function, const void *start, |
29 | uptr size, uptr offset); |
30 | |
31 | } // namespace __msan |
32 | |
33 | #endif // MSAN_REPORT_H |
34 | |