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

//===-- msan_poisoning.cpp --------------------------------------*- C++ -*-===//
//
// 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.
//
//===----------------------------------------------------------------------===//

#include "msan_poisoning.h"

#include "interception/interception.h"
#include "msan_origin.h"
#include "msan_thread.h"
#include "sanitizer_common/sanitizer_common.h"

DECLARE_REAL()
DECLARE_REAL()
DECLARE_REAL()

namespace __msan {

u32 GetOriginIfPoisoned(uptr addr, uptr size) {}

void SetOriginIfPoisoned(uptr addr, uptr src_shadow, uptr size,
                         u32 src_origin) {}

void CopyOrigin(const void *dst, const void *src, uptr size,
                StackTrace *stack) {}

void ReverseCopyOrigin(const void *dst, const void *src, uptr size,
                       StackTrace *stack) {}

void MoveOrigin(const void *dst, const void *src, uptr size,
                StackTrace *stack) {}

void MoveShadowAndOrigin(const void *dst, const void *src, uptr size,
                         StackTrace *stack) {}

void CopyShadowAndOrigin(const void *dst, const void *src, uptr size,
                         StackTrace *stack) {}

void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) {}

void SetShadow(const void *ptr, uptr size, u8 value) {}

void SetOrigin(const void *dst, uptr size, u32 origin) {}

void PoisonMemory(const void *dst, uptr size, StackTrace *stack) {}

}  // namespace __msan