xref: /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ubsan_interface.inc (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
10b57cec5SDimitry Andric//===-- ubsan_interface.inc -----------------------------------------------===//
20b57cec5SDimitry Andric//
30b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
40b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
50b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
60b57cec5SDimitry Andric//
70b57cec5SDimitry Andric//===----------------------------------------------------------------------===//
80b57cec5SDimitry Andric// Ubsan interface list.
90b57cec5SDimitry Andric//===----------------------------------------------------------------------===//
100b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_add_overflow)
110b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_add_overflow_abort)
120b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_alignment_assumption)
130b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_alignment_assumption_abort)
140b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_builtin_unreachable)
150b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_cfi_bad_type)
160b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_cfi_check_fail)
170b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_cfi_check_fail_abort)
180b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_divrem_overflow)
190b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_divrem_overflow_abort)
200b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_dynamic_type_cache_miss)
210b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_dynamic_type_cache_miss_abort)
220b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_float_cast_overflow)
230b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_float_cast_overflow_abort)
24*06c3fb27SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_function_type_mismatch)
25*06c3fb27SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_function_type_mismatch_abort)
260b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_implicit_conversion)
270b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_implicit_conversion_abort)
280b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_invalid_builtin)
290b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_invalid_builtin_abort)
305ffd83dbSDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_invalid_objc_cast)
315ffd83dbSDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_invalid_objc_cast_abort)
320b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_load_invalid_value)
330b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_load_invalid_value_abort)
340b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_missing_return)
350b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_mul_overflow)
360b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_mul_overflow_abort)
370b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_negate_overflow)
380b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_negate_overflow_abort)
390b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nonnull_arg)
400b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nonnull_arg_abort)
410b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nonnull_return_v1)
420b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nonnull_return_v1_abort)
430b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nullability_arg)
440b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nullability_arg_abort)
450b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nullability_return_v1)
460b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_nullability_return_v1_abort)
470b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_out_of_bounds)
480b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_out_of_bounds_abort)
490b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_pointer_overflow)
500b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_pointer_overflow_abort)
510b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds)
520b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds_abort)
530b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_sub_overflow)
540b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_sub_overflow_abort)
550b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_type_mismatch_v1)
560b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_type_mismatch_v1_abort)
570b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_vla_bound_not_positive)
580b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_handle_vla_bound_not_positive_abort)
590b57cec5SDimitry AndricINTERFACE_WEAK_FUNCTION(__ubsan_default_options)
600b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_on_report)
610b57cec5SDimitry AndricINTERFACE_FUNCTION(__ubsan_get_current_report_data)
62