xref: /aosp_15_r20/external/compiler-rt/lib/asan/asan_activation_flags.inc (revision 7c3d14c8b49c529e04be81a3ce6f5cc23712e4c6)
1*7c3d14c8STreehugger Robot//===-- asan_activation_flags.inc -------------------------------*- 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// A subset of ASan (and common) runtime flags supported at activation time.
11*7c3d14c8STreehugger Robot//
12*7c3d14c8STreehugger Robot//===----------------------------------------------------------------------===//
13*7c3d14c8STreehugger Robot#ifndef ASAN_ACTIVATION_FLAG
14*7c3d14c8STreehugger Robot# error "Define ASAN_ACTIVATION_FLAG prior to including this file!"
15*7c3d14c8STreehugger Robot#endif
16*7c3d14c8STreehugger Robot
17*7c3d14c8STreehugger Robot#ifndef COMMON_ACTIVATION_FLAG
18*7c3d14c8STreehugger Robot# error "Define COMMON_ACTIVATION_FLAG prior to including this file!"
19*7c3d14c8STreehugger Robot#endif
20*7c3d14c8STreehugger Robot
21*7c3d14c8STreehugger Robot// ASAN_ACTIVATION_FLAG(Type, Name)
22*7c3d14c8STreehugger Robot// See COMMON_FLAG in sanitizer_flags.inc for more details.
23*7c3d14c8STreehugger Robot
24*7c3d14c8STreehugger RobotASAN_ACTIVATION_FLAG(int, redzone)
25*7c3d14c8STreehugger RobotASAN_ACTIVATION_FLAG(int, max_redzone)
26*7c3d14c8STreehugger RobotASAN_ACTIVATION_FLAG(int, quarantine_size_mb)
27*7c3d14c8STreehugger RobotASAN_ACTIVATION_FLAG(bool, alloc_dealloc_mismatch)
28*7c3d14c8STreehugger RobotASAN_ACTIVATION_FLAG(bool, poison_heap)
29*7c3d14c8STreehugger Robot
30*7c3d14c8STreehugger RobotCOMMON_ACTIVATION_FLAG(bool, allocator_may_return_null)
31*7c3d14c8STreehugger RobotCOMMON_ACTIVATION_FLAG(int, malloc_context_size)
32*7c3d14c8STreehugger RobotCOMMON_ACTIVATION_FLAG(bool, coverage)
33*7c3d14c8STreehugger RobotCOMMON_ACTIVATION_FLAG(const char *, coverage_dir)
34*7c3d14c8STreehugger RobotCOMMON_ACTIVATION_FLAG(int, verbosity)
35*7c3d14c8STreehugger RobotCOMMON_ACTIVATION_FLAG(bool, help)
36