1 //===-- sanitizer/ubsan_interface.h -----------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file is a part of UBSanitizer (UBSan).
11 // Public interface header.
12 //===----------------------------------------------------------------------===//
13 #ifndef SANITIZER_UBSAN_INTERFACE_H
14 #define SANITIZER_UBSAN_INTERFACE_H
19 /// User-provided default option settings.
21 /// You can provide your own implementation of this function to return a string
22 /// containing UBSan runtime options (for example,
23 /// <c>verbosity=1:halt_on_error=0</c>).
25 /// \returns Default options string.
26 const char *SANITIZER_CDECL
__ubsan_default_options(void);
32 #endif // SANITIZER_UBSAN_INTERFACE_H