2012-02-09 03:52:01 +08:00
|
|
|
//===-- 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
|
|
|
|
|
2013-02-05 23:57:12 +08:00
|
|
|
#define INTERCEPT_FUNCTION_MAC(func)
|
2013-10-16 16:20:31 +08:00
|
|
|
#define INTERCEPT_FUNCTION_VER_MAC(func, symver)
|
2012-02-09 03:52:01 +08:00
|
|
|
|
|
|
|
#endif // INTERCEPTION_MAC_H
|
|
|
|
#endif // __APPLE__
|