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