xref: /freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ubsan_interface.inc (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
1//===-- ubsan_interface.inc -----------------------------------------------===//
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-exception
6//
7//===----------------------------------------------------------------------===//
8// Ubsan interface list.
9//===----------------------------------------------------------------------===//
10INTERFACE_FUNCTION(__ubsan_handle_add_overflow)
11INTERFACE_FUNCTION(__ubsan_handle_add_overflow_abort)
12INTERFACE_FUNCTION(__ubsan_handle_alignment_assumption)
13INTERFACE_FUNCTION(__ubsan_handle_alignment_assumption_abort)
14INTERFACE_FUNCTION(__ubsan_handle_builtin_unreachable)
15INTERFACE_FUNCTION(__ubsan_handle_cfi_bad_type)
16INTERFACE_FUNCTION(__ubsan_handle_cfi_check_fail)
17INTERFACE_FUNCTION(__ubsan_handle_cfi_check_fail_abort)
18INTERFACE_FUNCTION(__ubsan_handle_divrem_overflow)
19INTERFACE_FUNCTION(__ubsan_handle_divrem_overflow_abort)
20INTERFACE_FUNCTION(__ubsan_handle_dynamic_type_cache_miss)
21INTERFACE_FUNCTION(__ubsan_handle_dynamic_type_cache_miss_abort)
22INTERFACE_FUNCTION(__ubsan_handle_float_cast_overflow)
23INTERFACE_FUNCTION(__ubsan_handle_float_cast_overflow_abort)
24INTERFACE_FUNCTION(__ubsan_handle_function_type_mismatch)
25INTERFACE_FUNCTION(__ubsan_handle_function_type_mismatch_abort)
26INTERFACE_FUNCTION(__ubsan_handle_implicit_conversion)
27INTERFACE_FUNCTION(__ubsan_handle_implicit_conversion_abort)
28INTERFACE_FUNCTION(__ubsan_handle_invalid_builtin)
29INTERFACE_FUNCTION(__ubsan_handle_invalid_builtin_abort)
30INTERFACE_FUNCTION(__ubsan_handle_invalid_objc_cast)
31INTERFACE_FUNCTION(__ubsan_handle_invalid_objc_cast_abort)
32INTERFACE_FUNCTION(__ubsan_handle_load_invalid_value)
33INTERFACE_FUNCTION(__ubsan_handle_load_invalid_value_abort)
34INTERFACE_FUNCTION(__ubsan_handle_missing_return)
35INTERFACE_FUNCTION(__ubsan_handle_mul_overflow)
36INTERFACE_FUNCTION(__ubsan_handle_mul_overflow_abort)
37INTERFACE_FUNCTION(__ubsan_handle_negate_overflow)
38INTERFACE_FUNCTION(__ubsan_handle_negate_overflow_abort)
39INTERFACE_FUNCTION(__ubsan_handle_nonnull_arg)
40INTERFACE_FUNCTION(__ubsan_handle_nonnull_arg_abort)
41INTERFACE_FUNCTION(__ubsan_handle_nonnull_return_v1)
42INTERFACE_FUNCTION(__ubsan_handle_nonnull_return_v1_abort)
43INTERFACE_FUNCTION(__ubsan_handle_nullability_arg)
44INTERFACE_FUNCTION(__ubsan_handle_nullability_arg_abort)
45INTERFACE_FUNCTION(__ubsan_handle_nullability_return_v1)
46INTERFACE_FUNCTION(__ubsan_handle_nullability_return_v1_abort)
47INTERFACE_FUNCTION(__ubsan_handle_out_of_bounds)
48INTERFACE_FUNCTION(__ubsan_handle_out_of_bounds_abort)
49INTERFACE_FUNCTION(__ubsan_handle_pointer_overflow)
50INTERFACE_FUNCTION(__ubsan_handle_pointer_overflow_abort)
51INTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds)
52INTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds_abort)
53INTERFACE_FUNCTION(__ubsan_handle_sub_overflow)
54INTERFACE_FUNCTION(__ubsan_handle_sub_overflow_abort)
55INTERFACE_FUNCTION(__ubsan_handle_type_mismatch_v1)
56INTERFACE_FUNCTION(__ubsan_handle_type_mismatch_v1_abort)
57INTERFACE_FUNCTION(__ubsan_handle_vla_bound_not_positive)
58INTERFACE_FUNCTION(__ubsan_handle_vla_bound_not_positive_abort)
59INTERFACE_WEAK_FUNCTION(__ubsan_default_options)
60INTERFACE_FUNCTION(__ubsan_on_report)
61INTERFACE_FUNCTION(__ubsan_get_current_report_data)
62