xref: /aosp_15_r20/external/compiler-rt/lib/asan/asan_activation.h (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot //===-- asan_activation.h ---------------------------------------*- C++ -*-===//
2*7c3d14c8STreehugger Robot //
3*7c3d14c8STreehugger Robot //                     The LLVM Compiler Infrastructure
4*7c3d14c8STreehugger Robot //
5*7c3d14c8STreehugger Robot // This file is distributed under the University of Illinois Open Source
6*7c3d14c8STreehugger Robot // License. See LICENSE.TXT for details.
7*7c3d14c8STreehugger Robot //
8*7c3d14c8STreehugger Robot //===----------------------------------------------------------------------===//
9*7c3d14c8STreehugger Robot //
10*7c3d14c8STreehugger Robot // This file is a part of AddressSanitizer, an address sanity checker.
11*7c3d14c8STreehugger Robot //
12*7c3d14c8STreehugger Robot // ASan activation/deactivation logic.
13*7c3d14c8STreehugger Robot //===----------------------------------------------------------------------===//
14*7c3d14c8STreehugger Robot 
15*7c3d14c8STreehugger Robot #ifndef ASAN_ACTIVATION_H
16*7c3d14c8STreehugger Robot #define ASAN_ACTIVATION_H
17*7c3d14c8STreehugger Robot 
18*7c3d14c8STreehugger Robot namespace __asan {
19*7c3d14c8STreehugger Robot void AsanDeactivate();
20*7c3d14c8STreehugger Robot void AsanActivate();
21*7c3d14c8STreehugger Robot }  // namespace __asan
22*7c3d14c8STreehugger Robot 
23*7c3d14c8STreehugger Robot #endif  // ASAN_ACTIVATION_H
24