Path: blob/main/contrib/llvm-project/compiler-rt/lib/msan/msan_report.h
35262 views
//===-- msan_report.h -------------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7///8/// \file9/// This file is a part of MemorySanitizer. MSan-private header for error10/// reporting functions.11///12//===----------------------------------------------------------------------===//1314#ifndef MSAN_REPORT_H15#define MSAN_REPORT_H1617#include "sanitizer_common/sanitizer_internal_defs.h"18#include "sanitizer_common/sanitizer_stacktrace.h"1920namespace __msan {2122void ReportUMR(StackTrace *stack, u32 origin);23void ReportExpectedUMRNotFound(StackTrace *stack);24void ReportStats();25void ReportAtExitStatistics();26void DescribeMemoryRange(const void *x, uptr size);27void ReportUMRInsideAddressRange(const char *function, const void *start,28uptr size, uptr offset);2930} // namespace __msan3132#endif // MSAN_REPORT_H333435