forked from OSchip/llvm-project
36 lines
925 B
C++
36 lines
925 B
C++
//===-- msan_flags.h --------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is a part of MemorySanitizer.
|
|
//
|
|
// MemorySanitizer allocator.
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef MSAN_FLAGS_H
|
|
#define MSAN_FLAGS_H
|
|
|
|
namespace __msan {
|
|
|
|
// Flags.
|
|
struct Flags {
|
|
int exit_code;
|
|
bool poison_heap_with_zeroes; // default: false
|
|
bool poison_stack_with_zeroes; // default: false
|
|
bool poison_in_malloc; // default: true
|
|
bool poison_in_free; // default: true
|
|
bool report_umrs;
|
|
bool wrap_signals;
|
|
bool halt_on_error;
|
|
};
|
|
|
|
Flags *flags();
|
|
|
|
} // namespace __msan
|
|
|
|
#endif // MSAN_FLAGS_H
|