2020-01-16 16:38:04 +00:00
|
|
|
//===-- asan_activation.h ---------------------------------------*- C++ -*-===//
|
2019-04-12 14:10:50 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2020-01-16 16:38:04 +00:00
|
|
|
// This file is a part of AddressSanitizer, an address sanity checker.
|
2019-04-12 14:10:50 +00:00
|
|
|
//
|
2020-01-16 16:38:04 +00:00
|
|
|
// ASan activation/deactivation logic.
|
2019-04-12 14:10:50 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2020-01-16 16:38:04 +00:00
|
|
|
#ifndef ASAN_ACTIVATION_H
|
|
|
|
#define ASAN_ACTIVATION_H
|
2019-04-12 14:10:50 +00:00
|
|
|
|
2020-01-16 16:38:04 +00:00
|
|
|
namespace __asan {
|
|
|
|
void AsanDeactivate();
|
|
|
|
void AsanActivate();
|
|
|
|
} // namespace __asan
|
2019-04-12 14:10:50 +00:00
|
|
|
|
2020-01-16 16:38:04 +00:00
|
|
|
#endif // ASAN_ACTIVATION_H
|