llvm/compiler-rt/lib/msan/msan_report.cpp

//===-- msan_report.cpp ---------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file is a part of MemorySanitizer.
//
// Error reporting.
//===----------------------------------------------------------------------===//

#include "msan_report.h"

#include "msan.h"
#include "msan_chained_origin_depot.h"
#include "msan_origin.h"
#include "sanitizer_common/sanitizer_allocator_internal.h"
#include "sanitizer_common/sanitizer_common.h"
#include "sanitizer_common/sanitizer_flags.h"
#include "sanitizer_common/sanitizer_mutex.h"
#include "sanitizer_common/sanitizer_report_decorator.h"
#include "sanitizer_common/sanitizer_stackdepot.h"
#include "sanitizer_common/sanitizer_stacktrace_printer.h"
#include "sanitizer_common/sanitizer_symbolizer.h"

usingnamespace__sanitizer;

namespace __msan {

class Decorator: public __sanitizer::SanitizerCommonDecorator {};

static void DescribeStackOrigin(const char *so, uptr pc) {}

static void DescribeOrigin(u32 id) {}

void ReportUMR(StackTrace *stack, u32 origin) {}

void ReportExpectedUMRNotFound(StackTrace *stack) {}

void ReportStats() {}

void ReportAtExitStatistics() {}

class OriginSet {};

void DescribeMemoryRange(const void *x, uptr size) {}

void ReportUMRInsideAddressRange(const char *function, const void *start,
                                 uptr size, uptr offset) {}

}  // namespace __msan