1//===-- asan_activation_flags.inc -------------------------------*- C++ -*-===//
2//
3// This file is distributed under the University of Illinois Open Source
4// License. See LICENSE.TXT for details.
5//
6//===----------------------------------------------------------------------===//
7//
8// A subset of ASan (and common) runtime flags supported at activation time.
9//
10//===----------------------------------------------------------------------===//
11#ifndef ASAN_ACTIVATION_FLAG
12# error "Define ASAN_ACTIVATION_FLAG prior to including this file!"
13#endif
14
15#ifndef COMMON_ACTIVATION_FLAG
16# error "Define COMMON_ACTIVATION_FLAG prior to including this file!"
17#endif
18
19// ASAN_ACTIVATION_FLAG(Type, Name)
20// See COMMON_FLAG in sanitizer_flags.inc for more details.
21
22ASAN_ACTIVATION_FLAG(int, redzone)
23ASAN_ACTIVATION_FLAG(int, max_redzone)
24ASAN_ACTIVATION_FLAG(int, quarantine_size_mb)
25ASAN_ACTIVATION_FLAG(int, thread_local_quarantine_size_kb)
26ASAN_ACTIVATION_FLAG(bool, alloc_dealloc_mismatch)
27ASAN_ACTIVATION_FLAG(bool, poison_heap)
28
29COMMON_ACTIVATION_FLAG(bool, allocator_may_return_null)
30COMMON_ACTIVATION_FLAG(int, malloc_context_size)
31COMMON_ACTIVATION_FLAG(bool, coverage)
32COMMON_ACTIVATION_FLAG(const char *, coverage_dir)
33COMMON_ACTIVATION_FLAG(int, verbosity)
34COMMON_ACTIVATION_FLAG(bool, help)
35COMMON_ACTIVATION_FLAG(s32, allocator_release_to_os_interval_ms)
36