2014-01-16 20:31:50 +08:00
|
|
|
//===-- asan_activation.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.
|
|
|
|
//
|
|
|
|
// ASan activation/deactivation logic.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef ASAN_ACTIVATION_H
|
|
|
|
#define ASAN_ACTIVATION_H
|
|
|
|
|
|
|
|
namespace __asan {
|
2014-12-20 04:35:53 +08:00
|
|
|
void AsanDeactivate();
|
2014-01-16 20:31:50 +08:00
|
|
|
void AsanActivate();
|
2014-01-16 21:17:13 +08:00
|
|
|
} // namespace __asan
|
2014-01-16 20:31:50 +08:00
|
|
|
|
2014-01-16 21:17:13 +08:00
|
|
|
#endif // ASAN_ACTIVATION_H
|