1 //===-- asan_interface.inc ------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
8 // Asan interface list.
9 //===----------------------------------------------------------------------===//
11 INTERFACE_FUNCTION(__asan_addr_is_in_fake_stack)
12 INTERFACE_FUNCTION(__asan_address_is_poisoned)
13 INTERFACE_FUNCTION(__asan_after_dynamic_init)
14 INTERFACE_FUNCTION(__asan_alloca_poison)
15 INTERFACE_FUNCTION(__asan_allocas_unpoison)
16 INTERFACE_FUNCTION(__asan_before_dynamic_init)
17 INTERFACE_FUNCTION(__asan_describe_address)
18 INTERFACE_FUNCTION(__asan_exp_load1)
19 INTERFACE_FUNCTION(__asan_exp_load2)
20 INTERFACE_FUNCTION(__asan_exp_load4)
21 INTERFACE_FUNCTION(__asan_exp_load8)
22 INTERFACE_FUNCTION(__asan_exp_load16)
23 INTERFACE_FUNCTION(__asan_exp_loadN)
24 INTERFACE_FUNCTION(__asan_exp_store1)
25 INTERFACE_FUNCTION(__asan_exp_store2)
26 INTERFACE_FUNCTION(__asan_exp_store4)
27 INTERFACE_FUNCTION(__asan_exp_store8)
28 INTERFACE_FUNCTION(__asan_exp_store16)
29 INTERFACE_FUNCTION(__asan_exp_storeN)
30 INTERFACE_FUNCTION(__asan_get_alloc_stack)
31 INTERFACE_FUNCTION(__asan_get_current_fake_stack)
32 INTERFACE_FUNCTION(__asan_get_free_stack)
33 INTERFACE_FUNCTION(__asan_get_report_access_size)
34 INTERFACE_FUNCTION(__asan_get_report_access_type)
35 INTERFACE_FUNCTION(__asan_get_report_address)
36 INTERFACE_FUNCTION(__asan_get_report_bp)
37 INTERFACE_FUNCTION(__asan_get_report_description)
38 INTERFACE_FUNCTION(__asan_get_report_pc)
39 INTERFACE_FUNCTION(__asan_get_report_sp)
40 INTERFACE_FUNCTION(__asan_get_shadow_mapping)
41 INTERFACE_FUNCTION(__asan_handle_no_return)
42 INTERFACE_FUNCTION(__asan_handle_vfork)
43 INTERFACE_FUNCTION(__asan_init)
44 INTERFACE_FUNCTION(__asan_load_cxx_array_cookie)
45 INTERFACE_FUNCTION(__asan_load1)
46 INTERFACE_FUNCTION(__asan_load2)
47 INTERFACE_FUNCTION(__asan_load4)
48 INTERFACE_FUNCTION(__asan_load8)
49 INTERFACE_FUNCTION(__asan_load16)
50 INTERFACE_FUNCTION(__asan_loadN)
51 INTERFACE_FUNCTION(__asan_load1_noabort)
52 INTERFACE_FUNCTION(__asan_load2_noabort)
53 INTERFACE_FUNCTION(__asan_load4_noabort)
54 INTERFACE_FUNCTION(__asan_load8_noabort)
55 INTERFACE_FUNCTION(__asan_load16_noabort)
56 INTERFACE_FUNCTION(__asan_loadN_noabort)
57 INTERFACE_FUNCTION(__asan_locate_address)
58 INTERFACE_FUNCTION(__asan_memcpy)
59 INTERFACE_FUNCTION(__asan_memmove)
60 INTERFACE_FUNCTION(__asan_memset)
61 INTERFACE_FUNCTION(__asan_poison_cxx_array_cookie)
62 INTERFACE_FUNCTION(__asan_poison_intra_object_redzone)
63 INTERFACE_FUNCTION(__asan_poison_memory_region)
64 INTERFACE_FUNCTION(__asan_poison_stack_memory)
65 INTERFACE_FUNCTION(__asan_print_accumulated_stats)
66 INTERFACE_FUNCTION(__asan_region_is_poisoned)
67 INTERFACE_FUNCTION(__asan_register_globals)
68 INTERFACE_FUNCTION(__asan_register_elf_globals)
69 INTERFACE_FUNCTION(__asan_register_image_globals)
70 INTERFACE_FUNCTION(__asan_report_error)
71 INTERFACE_FUNCTION(__asan_report_exp_load1)
72 INTERFACE_FUNCTION(__asan_report_exp_load2)
73 INTERFACE_FUNCTION(__asan_report_exp_load4)
74 INTERFACE_FUNCTION(__asan_report_exp_load8)
75 INTERFACE_FUNCTION(__asan_report_exp_load16)
76 INTERFACE_FUNCTION(__asan_report_exp_load_n)
77 INTERFACE_FUNCTION(__asan_report_exp_store1)
78 INTERFACE_FUNCTION(__asan_report_exp_store2)
79 INTERFACE_FUNCTION(__asan_report_exp_store4)
80 INTERFACE_FUNCTION(__asan_report_exp_store8)
81 INTERFACE_FUNCTION(__asan_report_exp_store16)
82 INTERFACE_FUNCTION(__asan_report_exp_store_n)
83 INTERFACE_FUNCTION(__asan_report_load1)
84 INTERFACE_FUNCTION(__asan_report_load2)
85 INTERFACE_FUNCTION(__asan_report_load4)
86 INTERFACE_FUNCTION(__asan_report_load8)
87 INTERFACE_FUNCTION(__asan_report_load16)
88 INTERFACE_FUNCTION(__asan_report_load_n)
89 INTERFACE_FUNCTION(__asan_report_load1_noabort)
90 INTERFACE_FUNCTION(__asan_report_load2_noabort)
91 INTERFACE_FUNCTION(__asan_report_load4_noabort)
92 INTERFACE_FUNCTION(__asan_report_load8_noabort)
93 INTERFACE_FUNCTION(__asan_report_load16_noabort)
94 INTERFACE_FUNCTION(__asan_report_load_n_noabort)
95 INTERFACE_FUNCTION(__asan_report_present)
96 INTERFACE_FUNCTION(__asan_report_store1)
97 INTERFACE_FUNCTION(__asan_report_store2)
98 INTERFACE_FUNCTION(__asan_report_store4)
99 INTERFACE_FUNCTION(__asan_report_store8)
100 INTERFACE_FUNCTION(__asan_report_store16)
101 INTERFACE_FUNCTION(__asan_report_store_n)
102 INTERFACE_FUNCTION(__asan_report_store1_noabort)
103 INTERFACE_FUNCTION(__asan_report_store2_noabort)
104 INTERFACE_FUNCTION(__asan_report_store4_noabort)
105 INTERFACE_FUNCTION(__asan_report_store8_noabort)
106 INTERFACE_FUNCTION(__asan_report_store16_noabort)
107 INTERFACE_FUNCTION(__asan_report_store_n_noabort)
108 INTERFACE_FUNCTION(__asan_set_death_callback)
109 INTERFACE_FUNCTION(__asan_set_error_report_callback)
110 INTERFACE_FUNCTION(__asan_set_shadow_00)
111 INTERFACE_FUNCTION(__asan_set_shadow_01)
112 INTERFACE_FUNCTION(__asan_set_shadow_02)
113 INTERFACE_FUNCTION(__asan_set_shadow_03)
114 INTERFACE_FUNCTION(__asan_set_shadow_04)
115 INTERFACE_FUNCTION(__asan_set_shadow_05)
116 INTERFACE_FUNCTION(__asan_set_shadow_06)
117 INTERFACE_FUNCTION(__asan_set_shadow_07)
118 INTERFACE_FUNCTION(__asan_set_shadow_f1)
119 INTERFACE_FUNCTION(__asan_set_shadow_f2)
120 INTERFACE_FUNCTION(__asan_set_shadow_f3)
121 INTERFACE_FUNCTION(__asan_set_shadow_f5)
122 INTERFACE_FUNCTION(__asan_set_shadow_f8)
123 INTERFACE_FUNCTION(__asan_stack_free_0)
124 INTERFACE_FUNCTION(__asan_stack_free_1)
125 INTERFACE_FUNCTION(__asan_stack_free_2)
126 INTERFACE_FUNCTION(__asan_stack_free_3)
127 INTERFACE_FUNCTION(__asan_stack_free_4)
128 INTERFACE_FUNCTION(__asan_stack_free_5)
129 INTERFACE_FUNCTION(__asan_stack_free_6)
130 INTERFACE_FUNCTION(__asan_stack_free_7)
131 INTERFACE_FUNCTION(__asan_stack_free_8)
132 INTERFACE_FUNCTION(__asan_stack_free_9)
133 INTERFACE_FUNCTION(__asan_stack_free_10)
134 INTERFACE_FUNCTION(__asan_stack_malloc_0)
135 INTERFACE_FUNCTION(__asan_stack_malloc_1)
136 INTERFACE_FUNCTION(__asan_stack_malloc_2)
137 INTERFACE_FUNCTION(__asan_stack_malloc_3)
138 INTERFACE_FUNCTION(__asan_stack_malloc_4)
139 INTERFACE_FUNCTION(__asan_stack_malloc_5)
140 INTERFACE_FUNCTION(__asan_stack_malloc_6)
141 INTERFACE_FUNCTION(__asan_stack_malloc_7)
142 INTERFACE_FUNCTION(__asan_stack_malloc_8)
143 INTERFACE_FUNCTION(__asan_stack_malloc_9)
144 INTERFACE_FUNCTION(__asan_stack_malloc_10)
145 INTERFACE_FUNCTION(__asan_stack_malloc_always_0)
146 INTERFACE_FUNCTION(__asan_stack_malloc_always_1)
147 INTERFACE_FUNCTION(__asan_stack_malloc_always_2)
148 INTERFACE_FUNCTION(__asan_stack_malloc_always_3)
149 INTERFACE_FUNCTION(__asan_stack_malloc_always_4)
150 INTERFACE_FUNCTION(__asan_stack_malloc_always_5)
151 INTERFACE_FUNCTION(__asan_stack_malloc_always_6)
152 INTERFACE_FUNCTION(__asan_stack_malloc_always_7)
153 INTERFACE_FUNCTION(__asan_stack_malloc_always_8)
154 INTERFACE_FUNCTION(__asan_stack_malloc_always_9)
155 INTERFACE_FUNCTION(__asan_stack_malloc_always_10)
156 INTERFACE_FUNCTION(__asan_store1)
157 INTERFACE_FUNCTION(__asan_store2)
158 INTERFACE_FUNCTION(__asan_store4)
159 INTERFACE_FUNCTION(__asan_store8)
160 INTERFACE_FUNCTION(__asan_store16)
161 INTERFACE_FUNCTION(__asan_storeN)
162 INTERFACE_FUNCTION(__asan_store1_noabort)
163 INTERFACE_FUNCTION(__asan_store2_noabort)
164 INTERFACE_FUNCTION(__asan_store4_noabort)
165 INTERFACE_FUNCTION(__asan_store8_noabort)
166 INTERFACE_FUNCTION(__asan_store16_noabort)
167 INTERFACE_FUNCTION(__asan_storeN_noabort)
168 INTERFACE_FUNCTION(__asan_unpoison_intra_object_redzone)
169 INTERFACE_FUNCTION(__asan_unpoison_memory_region)
170 INTERFACE_FUNCTION(__asan_unpoison_stack_memory)
171 INTERFACE_FUNCTION(__asan_unregister_globals)
172 INTERFACE_FUNCTION(__asan_unregister_elf_globals)
173 INTERFACE_FUNCTION(__asan_unregister_image_globals)
174 INTERFACE_FUNCTION(__asan_version_mismatch_check_v8)
175 INTERFACE_FUNCTION(__sanitizer_finish_switch_fiber)
176 INTERFACE_FUNCTION(__sanitizer_print_stack_trace)
177 INTERFACE_FUNCTION(__sanitizer_ptr_cmp)
178 INTERFACE_FUNCTION(__sanitizer_ptr_sub)
179 INTERFACE_FUNCTION(__sanitizer_start_switch_fiber)
180 INTERFACE_FUNCTION(__sanitizer_unaligned_load16)
181 INTERFACE_FUNCTION(__sanitizer_unaligned_load32)
182 INTERFACE_FUNCTION(__sanitizer_unaligned_load64)
183 INTERFACE_FUNCTION(__sanitizer_unaligned_store16)
184 INTERFACE_FUNCTION(__sanitizer_unaligned_store32)
185 INTERFACE_FUNCTION(__sanitizer_unaligned_store64)
186 INTERFACE_FUNCTION(__asan_update_allocation_context)
187 INTERFACE_WEAK_FUNCTION(__asan_default_options)
188 INTERFACE_WEAK_FUNCTION(__asan_default_suppressions)
189 INTERFACE_WEAK_FUNCTION(__asan_on_error)