34 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8///9/// \file10/// This file is a part of MemorySanitizer. MSan-private header for error11/// reporting functions.12///13//===----------------------------------------------------------------------===//14 15#ifndef MSAN_REPORT_H16#define MSAN_REPORT_H17 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 *function, const void *start,29 uptr size, uptr offset);30 31} // namespace __msan32 33#endif // MSAN_REPORT_H34