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