1 //===-- ubsan_interface.inc -----------------------------------------------===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
7 // Ubsan interface list.
8 //===----------------------------------------------------------------------===//
9 INTERFACE_FUNCTION(__ubsan_handle_add_overflow)
10 INTERFACE_FUNCTION(__ubsan_handle_add_overflow_abort)
11 INTERFACE_FUNCTION(__ubsan_handle_builtin_unreachable)
12 INTERFACE_FUNCTION(__ubsan_handle_cfi_bad_type)
13 INTERFACE_FUNCTION(__ubsan_handle_cfi_check_fail)
14 INTERFACE_FUNCTION(__ubsan_handle_cfi_check_fail_abort)
15 INTERFACE_FUNCTION(__ubsan_handle_divrem_overflow)
16 INTERFACE_FUNCTION(__ubsan_handle_divrem_overflow_abort)
17 INTERFACE_FUNCTION(__ubsan_handle_dynamic_type_cache_miss)
18 INTERFACE_FUNCTION(__ubsan_handle_dynamic_type_cache_miss_abort)
19 INTERFACE_FUNCTION(__ubsan_handle_float_cast_overflow)
20 INTERFACE_FUNCTION(__ubsan_handle_float_cast_overflow_abort)
21 INTERFACE_FUNCTION(__ubsan_handle_function_type_mismatch)
22 INTERFACE_FUNCTION(__ubsan_handle_function_type_mismatch_abort)
23 INTERFACE_FUNCTION(__ubsan_handle_invalid_builtin)
24 INTERFACE_FUNCTION(__ubsan_handle_invalid_builtin_abort)
25 INTERFACE_FUNCTION(__ubsan_handle_load_invalid_value)
26 INTERFACE_FUNCTION(__ubsan_handle_load_invalid_value_abort)
27 INTERFACE_FUNCTION(__ubsan_handle_missing_return)
28 INTERFACE_FUNCTION(__ubsan_handle_mul_overflow)
29 INTERFACE_FUNCTION(__ubsan_handle_mul_overflow_abort)
30 INTERFACE_FUNCTION(__ubsan_handle_negate_overflow)
31 INTERFACE_FUNCTION(__ubsan_handle_negate_overflow_abort)
32 INTERFACE_FUNCTION(__ubsan_handle_nonnull_arg)
33 INTERFACE_FUNCTION(__ubsan_handle_nonnull_arg_abort)
34 INTERFACE_FUNCTION(__ubsan_handle_nonnull_return_v1)
35 INTERFACE_FUNCTION(__ubsan_handle_nonnull_return_v1_abort)
36 INTERFACE_FUNCTION(__ubsan_handle_nullability_arg)
37 INTERFACE_FUNCTION(__ubsan_handle_nullability_arg_abort)
38 INTERFACE_FUNCTION(__ubsan_handle_nullability_return_v1)
39 INTERFACE_FUNCTION(__ubsan_handle_nullability_return_v1_abort)
40 INTERFACE_FUNCTION(__ubsan_handle_out_of_bounds)
41 INTERFACE_FUNCTION(__ubsan_handle_out_of_bounds_abort)
42 INTERFACE_FUNCTION(__ubsan_handle_pointer_overflow)
43 INTERFACE_FUNCTION(__ubsan_handle_pointer_overflow_abort)
44 INTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds)
45 INTERFACE_FUNCTION(__ubsan_handle_shift_out_of_bounds_abort)
46 INTERFACE_FUNCTION(__ubsan_handle_sub_overflow)
47 INTERFACE_FUNCTION(__ubsan_handle_sub_overflow_abort)
48 INTERFACE_FUNCTION(__ubsan_handle_type_mismatch_v1)
49 INTERFACE_FUNCTION(__ubsan_handle_type_mismatch_v1_abort)
50 INTERFACE_FUNCTION(__ubsan_handle_vla_bound_not_positive)
51 INTERFACE_FUNCTION(__ubsan_handle_vla_bound_not_positive_abort)
52 INTERFACE_WEAK_FUNCTION(__ubsan_default_options)