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_01) 112INTERFACE_FUNCTION(__asan_set_shadow_02) 113INTERFACE_FUNCTION(__asan_set_shadow_03) 114INTERFACE_FUNCTION(__asan_set_shadow_04) 115INTERFACE_FUNCTION(__asan_set_shadow_05) 116INTERFACE_FUNCTION(__asan_set_shadow_06) 117INTERFACE_FUNCTION(__asan_set_shadow_07) 118INTERFACE_FUNCTION(__asan_set_shadow_f1) 119INTERFACE_FUNCTION(__asan_set_shadow_f2) 120INTERFACE_FUNCTION(__asan_set_shadow_f3) 121INTERFACE_FUNCTION(__asan_set_shadow_f5) 122INTERFACE_FUNCTION(__asan_set_shadow_f8) 123INTERFACE_FUNCTION(__asan_stack_free_0) 124INTERFACE_FUNCTION(__asan_stack_free_1) 125INTERFACE_FUNCTION(__asan_stack_free_2) 126INTERFACE_FUNCTION(__asan_stack_free_3) 127INTERFACE_FUNCTION(__asan_stack_free_4) 128INTERFACE_FUNCTION(__asan_stack_free_5) 129INTERFACE_FUNCTION(__asan_stack_free_6) 130INTERFACE_FUNCTION(__asan_stack_free_7) 131INTERFACE_FUNCTION(__asan_stack_free_8) 132INTERFACE_FUNCTION(__asan_stack_free_9) 133INTERFACE_FUNCTION(__asan_stack_free_10) 134INTERFACE_FUNCTION(__asan_stack_malloc_0) 135INTERFACE_FUNCTION(__asan_stack_malloc_1) 136INTERFACE_FUNCTION(__asan_stack_malloc_2) 137INTERFACE_FUNCTION(__asan_stack_malloc_3) 138INTERFACE_FUNCTION(__asan_stack_malloc_4) 139INTERFACE_FUNCTION(__asan_stack_malloc_5) 140INTERFACE_FUNCTION(__asan_stack_malloc_6) 141INTERFACE_FUNCTION(__asan_stack_malloc_7) 142INTERFACE_FUNCTION(__asan_stack_malloc_8) 143INTERFACE_FUNCTION(__asan_stack_malloc_9) 144INTERFACE_FUNCTION(__asan_stack_malloc_10) 145INTERFACE_FUNCTION(__asan_stack_malloc_always_0) 146INTERFACE_FUNCTION(__asan_stack_malloc_always_1) 147INTERFACE_FUNCTION(__asan_stack_malloc_always_2) 148INTERFACE_FUNCTION(__asan_stack_malloc_always_3) 149INTERFACE_FUNCTION(__asan_stack_malloc_always_4) 150INTERFACE_FUNCTION(__asan_stack_malloc_always_5) 151INTERFACE_FUNCTION(__asan_stack_malloc_always_6) 152INTERFACE_FUNCTION(__asan_stack_malloc_always_7) 153INTERFACE_FUNCTION(__asan_stack_malloc_always_8) 154INTERFACE_FUNCTION(__asan_stack_malloc_always_9) 155INTERFACE_FUNCTION(__asan_stack_malloc_always_10) 156INTERFACE_FUNCTION(__asan_store1) 157INTERFACE_FUNCTION(__asan_store2) 158INTERFACE_FUNCTION(__asan_store4) 159INTERFACE_FUNCTION(__asan_store8) 160INTERFACE_FUNCTION(__asan_store16) 161INTERFACE_FUNCTION(__asan_storeN) 162INTERFACE_FUNCTION(__asan_store1_noabort) 163INTERFACE_FUNCTION(__asan_store2_noabort) 164INTERFACE_FUNCTION(__asan_store4_noabort) 165INTERFACE_FUNCTION(__asan_store8_noabort) 166INTERFACE_FUNCTION(__asan_store16_noabort) 167INTERFACE_FUNCTION(__asan_storeN_noabort) 168INTERFACE_FUNCTION(__asan_unpoison_intra_object_redzone) 169INTERFACE_FUNCTION(__asan_unpoison_memory_region) 170INTERFACE_FUNCTION(__asan_unpoison_stack_memory) 171INTERFACE_FUNCTION(__asan_unregister_globals) 172INTERFACE_FUNCTION(__asan_unregister_elf_globals) 173INTERFACE_FUNCTION(__asan_unregister_image_globals) 174INTERFACE_FUNCTION(__asan_version_mismatch_check_v8) 175INTERFACE_FUNCTION(__sanitizer_finish_switch_fiber) 176INTERFACE_FUNCTION(__sanitizer_print_stack_trace) 177INTERFACE_FUNCTION(__sanitizer_ptr_cmp) 178INTERFACE_FUNCTION(__sanitizer_ptr_sub) 179INTERFACE_FUNCTION(__sanitizer_start_switch_fiber) 180INTERFACE_FUNCTION(__sanitizer_unaligned_load16) 181INTERFACE_FUNCTION(__sanitizer_unaligned_load32) 182INTERFACE_FUNCTION(__sanitizer_unaligned_load64) 183INTERFACE_FUNCTION(__sanitizer_unaligned_store16) 184INTERFACE_FUNCTION(__sanitizer_unaligned_store32) 185INTERFACE_FUNCTION(__sanitizer_unaligned_store64) 186INTERFACE_FUNCTION(__asan_update_allocation_context) 187INTERFACE_WEAK_FUNCTION(__asan_default_options) 188INTERFACE_WEAK_FUNCTION(__asan_default_suppressions) 189INTERFACE_WEAK_FUNCTION(__asan_on_error) 190