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