brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 30a7fd8 Raw
35 lines · c
1//===-- sanitizer/ubsan_interface.h -----------------------------*- C++ -*-===//2//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-exception6//7//===----------------------------------------------------------------------===//8//9// This file is a part of UBSanitizer (UBSan).10//11// Public interface header.12//===----------------------------------------------------------------------===//13#ifndef SANITIZER_UBSAN_INTERFACE_H14#define SANITIZER_UBSAN_INTERFACE_H15 16#include <sanitizer/common_interface_defs.h>17 18#ifdef __cplusplus19extern "C" {20#endif21/// User-provided default option settings.22///23/// You can provide your own implementation of this function to return a string24/// containing UBSan runtime options (for example,25/// <c>verbosity=1:halt_on_error=0</c>).26///27/// \returns Default options string.28const char *SANITIZER_CDECL __ubsan_default_options(void);29 30#ifdef __cplusplus31} // extern "C"32#endif33 34#endif // SANITIZER_UBSAN_INTERFACE_H35