Evgeniy Stepanov | 97edeb3 | 2012-12-25 11:53:51 +0000 | [diff] [blame] | 1 | //===-- msan_flags.h --------------------------------------------*- C++ -*-===// |
Evgeniy Stepanov | 78c56c3 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 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 | // This file is a part of MemorySanitizer. |
| 11 | // |
| 12 | // MemorySanitizer allocator. |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | #ifndef MSAN_FLAGS_H |
| 15 | #define MSAN_FLAGS_H |
| 16 | |
| 17 | namespace __msan { |
| 18 | |
| 19 | // Flags. |
| 20 | struct Flags { |
| 21 | int exit_code; |
Evgeniy Stepanov | 78c56c3 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 22 | int verbosity; |
| 23 | bool poison_heap_with_zeroes; // default: false |
| 24 | bool poison_stack_with_zeroes; // default: false |
| 25 | bool poison_in_malloc; // default: true |
| 26 | bool report_umrs; |
Evgeniy Stepanov | a213ab6 | 2013-04-05 11:59:16 +0000 | [diff] [blame] | 27 | bool wrap_signals; |
Evgeniy Stepanov | bb881c7 | 2013-06-21 12:37:58 +0000 | [diff] [blame] | 28 | bool keep_going; |
Evgeniy Stepanov | 78c56c3 | 2012-12-11 12:27:27 +0000 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | Flags *flags(); |
| 32 | |
| 33 | } // namespace __msan |
| 34 | |
| 35 | #endif // MSAN_FLAGS_H |