mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-24 23:32:06 +00:00
24 lines
788 B
C++
24 lines
788 B
C++
//===-- sanitizer_interception.h --------------------------------*- C++ -*-===//
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Common macro definitions for interceptors.
|
|
// Always use this headers instead of interception/interception.h.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef SANITIZER_INTERCEPTION_H
|
|
#define SANITIZER_INTERCEPTION_H
|
|
|
|
#include "interception/interception.h"
|
|
#include "sanitizer_common.h"
|
|
|
|
#if SANITIZER_LINUX && !defined(SANITIZER_GO)
|
|
#undef REAL
|
|
#define REAL(x) IndirectExternCall(__interception::PTR_TO_REAL(x))
|
|
#endif
|
|
|
|
#endif // SANITIZER_INTERCEPTION_H
|