Path: blob/main/contrib/llvm-project/compiler-rt/include/sanitizer/ubsan_interface.h
35235 views
//===-- sanitizer/ubsan_interface.h -----------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file is a part of UBSanitizer (UBSan).9//10// Public interface header.11//===----------------------------------------------------------------------===//12#ifndef SANITIZER_UBSAN_INTERFACE_H13#define SANITIZER_UBSAN_INTERFACE_H1415#ifdef __cplusplus16extern "C" {17#endif18/// User-provided default option settings.19///20/// You can provide your own implementation of this function to return a string21/// containing UBSan runtime options (for example,22/// <c>verbosity=1:halt_on_error=0</c>).23///24/// \returns Default options string.25const char *SANITIZER_CDECL __ubsan_default_options(void);2627#ifdef __cplusplus28} // extern "C"29#endif3031#endif // SANITIZER_UBSAN_INTERFACE_H323334