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