builtins, and also the various sanitizers. Support for these will be added in a later commit.
29 lines
875 B
C++
29 lines
875 B
C++
//===-- interception_mac.h --------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is a part of AddressSanitizer, an address sanity checker.
|
|
//
|
|
// Mac-specific interception methods.
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifdef __APPLE__
|
|
|
|
#if !defined(INCLUDED_FROM_INTERCEPTION_LIB)
|
|
# error "interception_mac.h should be included from interception.h only"
|
|
#endif
|
|
|
|
#ifndef INTERCEPTION_MAC_H
|
|
#define INTERCEPTION_MAC_H
|
|
|
|
#define INTERCEPT_FUNCTION_MAC(func)
|
|
#define INTERCEPT_FUNCTION_VER_MAC(func, symver)
|
|
|
|
#endif // INTERCEPTION_MAC_H
|
|
#endif // __APPLE__
|