1317021Sdim//===-- asan_interface.inc ------------------------------------------------===// 2317021Sdim// 3353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4353358Sdim// See https://llvm.org/LICENSE.txt for license information. 5353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6317021Sdim// 7317021Sdim//===----------------------------------------------------------------------===// 8317021Sdim// Asan interface list. 9317021Sdim//===----------------------------------------------------------------------===// 10317021SdimINTERFACE_FUNCTION(__asan_addr_is_in_fake_stack) 11317021SdimINTERFACE_FUNCTION(__asan_address_is_poisoned) 12317021SdimINTERFACE_FUNCTION(__asan_after_dynamic_init) 13317021SdimINTERFACE_FUNCTION(__asan_alloca_poison) 14317021SdimINTERFACE_FUNCTION(__asan_allocas_unpoison) 15317021SdimINTERFACE_FUNCTION(__asan_before_dynamic_init) 16317021SdimINTERFACE_FUNCTION(__asan_describe_address) 17317021SdimINTERFACE_FUNCTION(__asan_exp_load1) 18317021SdimINTERFACE_FUNCTION(__asan_exp_load2) 19317021SdimINTERFACE_FUNCTION(__asan_exp_load4) 20317021SdimINTERFACE_FUNCTION(__asan_exp_load8) 21317021SdimINTERFACE_FUNCTION(__asan_exp_load16) 22317021SdimINTERFACE_FUNCTION(__asan_exp_loadN) 23317021SdimINTERFACE_FUNCTION(__asan_exp_store1) 24317021SdimINTERFACE_FUNCTION(__asan_exp_store2) 25317021SdimINTERFACE_FUNCTION(__asan_exp_store4) 26317021SdimINTERFACE_FUNCTION(__asan_exp_store8) 27317021SdimINTERFACE_FUNCTION(__asan_exp_store16) 28317021SdimINTERFACE_FUNCTION(__asan_exp_storeN) 29317021SdimINTERFACE_FUNCTION(__asan_get_alloc_stack) 30317021SdimINTERFACE_FUNCTION(__asan_get_current_fake_stack) 31317021SdimINTERFACE_FUNCTION(__asan_get_free_stack) 32317021SdimINTERFACE_FUNCTION(__asan_get_report_access_size) 33317021SdimINTERFACE_FUNCTION(__asan_get_report_access_type) 34317021SdimINTERFACE_FUNCTION(__asan_get_report_address) 35317021SdimINTERFACE_FUNCTION(__asan_get_report_bp) 36317021SdimINTERFACE_FUNCTION(__asan_get_report_description) 37317021SdimINTERFACE_FUNCTION(__asan_get_report_pc) 38317021SdimINTERFACE_FUNCTION(__asan_get_report_sp) 39317021SdimINTERFACE_FUNCTION(__asan_get_shadow_mapping) 40317021SdimINTERFACE_FUNCTION(__asan_handle_no_return) 41353358SdimINTERFACE_FUNCTION(__asan_handle_vfork) 42317021SdimINTERFACE_FUNCTION(__asan_init) 43317021SdimINTERFACE_FUNCTION(__asan_load_cxx_array_cookie) 44317021SdimINTERFACE_FUNCTION(__asan_load1) 45317021SdimINTERFACE_FUNCTION(__asan_load2) 46317021SdimINTERFACE_FUNCTION(__asan_load4) 47317021SdimINTERFACE_FUNCTION(__asan_load8) 48317021SdimINTERFACE_FUNCTION(__asan_load16) 49317021SdimINTERFACE_FUNCTION(__asan_loadN) 50317021SdimINTERFACE_FUNCTION(__asan_load1_noabort) 51317021SdimINTERFACE_FUNCTION(__asan_load2_noabort) 52317021SdimINTERFACE_FUNCTION(__asan_load4_noabort) 53317021SdimINTERFACE_FUNCTION(__asan_load8_noabort) 54317021SdimINTERFACE_FUNCTION(__asan_load16_noabort) 55317021SdimINTERFACE_FUNCTION(__asan_loadN_noabort) 56317021SdimINTERFACE_FUNCTION(__asan_locate_address) 57317021SdimINTERFACE_FUNCTION(__asan_memcpy) 58317021SdimINTERFACE_FUNCTION(__asan_memmove) 59317021SdimINTERFACE_FUNCTION(__asan_memset) 60317021SdimINTERFACE_FUNCTION(__asan_poison_cxx_array_cookie) 61317021SdimINTERFACE_FUNCTION(__asan_poison_intra_object_redzone) 62317021SdimINTERFACE_FUNCTION(__asan_poison_memory_region) 63317021SdimINTERFACE_FUNCTION(__asan_poison_stack_memory) 64317021SdimINTERFACE_FUNCTION(__asan_print_accumulated_stats) 65317021SdimINTERFACE_FUNCTION(__asan_region_is_poisoned) 66317021SdimINTERFACE_FUNCTION(__asan_register_globals) 67317778SdimINTERFACE_FUNCTION(__asan_register_elf_globals) 68317021SdimINTERFACE_FUNCTION(__asan_register_image_globals) 69317021SdimINTERFACE_FUNCTION(__asan_report_error) 70317021SdimINTERFACE_FUNCTION(__asan_report_exp_load1) 71317021SdimINTERFACE_FUNCTION(__asan_report_exp_load2) 72317021SdimINTERFACE_FUNCTION(__asan_report_exp_load4) 73317021SdimINTERFACE_FUNCTION(__asan_report_exp_load8) 74317021SdimINTERFACE_FUNCTION(__asan_report_exp_load16) 75317021SdimINTERFACE_FUNCTION(__asan_report_exp_load_n) 76317021SdimINTERFACE_FUNCTION(__asan_report_exp_store1) 77317021SdimINTERFACE_FUNCTION(__asan_report_exp_store2) 78317021SdimINTERFACE_FUNCTION(__asan_report_exp_store4) 79317021SdimINTERFACE_FUNCTION(__asan_report_exp_store8) 80317021SdimINTERFACE_FUNCTION(__asan_report_exp_store16) 81317021SdimINTERFACE_FUNCTION(__asan_report_exp_store_n) 82317021SdimINTERFACE_FUNCTION(__asan_report_load1) 83317021SdimINTERFACE_FUNCTION(__asan_report_load2) 84317021SdimINTERFACE_FUNCTION(__asan_report_load4) 85317021SdimINTERFACE_FUNCTION(__asan_report_load8) 86317021SdimINTERFACE_FUNCTION(__asan_report_load16) 87317021SdimINTERFACE_FUNCTION(__asan_report_load_n) 88317021SdimINTERFACE_FUNCTION(__asan_report_load1_noabort) 89317021SdimINTERFACE_FUNCTION(__asan_report_load2_noabort) 90317021SdimINTERFACE_FUNCTION(__asan_report_load4_noabort) 91317021SdimINTERFACE_FUNCTION(__asan_report_load8_noabort) 92317021SdimINTERFACE_FUNCTION(__asan_report_load16_noabort) 93317021SdimINTERFACE_FUNCTION(__asan_report_load_n_noabort) 94317021SdimINTERFACE_FUNCTION(__asan_report_present) 95317021SdimINTERFACE_FUNCTION(__asan_report_store1) 96317021SdimINTERFACE_FUNCTION(__asan_report_store2) 97317021SdimINTERFACE_FUNCTION(__asan_report_store4) 98317021SdimINTERFACE_FUNCTION(__asan_report_store8) 99317021SdimINTERFACE_FUNCTION(__asan_report_store16) 100317021SdimINTERFACE_FUNCTION(__asan_report_store_n) 101317021SdimINTERFACE_FUNCTION(__asan_report_store1_noabort) 102317021SdimINTERFACE_FUNCTION(__asan_report_store2_noabort) 103317021SdimINTERFACE_FUNCTION(__asan_report_store4_noabort) 104317021SdimINTERFACE_FUNCTION(__asan_report_store8_noabort) 105317021SdimINTERFACE_FUNCTION(__asan_report_store16_noabort) 106317021SdimINTERFACE_FUNCTION(__asan_report_store_n_noabort) 107317021SdimINTERFACE_FUNCTION(__asan_set_death_callback) 108317021SdimINTERFACE_FUNCTION(__asan_set_error_report_callback) 109317021SdimINTERFACE_FUNCTION(__asan_set_shadow_00) 110317021SdimINTERFACE_FUNCTION(__asan_set_shadow_f1) 111317021SdimINTERFACE_FUNCTION(__asan_set_shadow_f2) 112317021SdimINTERFACE_FUNCTION(__asan_set_shadow_f3) 113317021SdimINTERFACE_FUNCTION(__asan_set_shadow_f5) 114317021SdimINTERFACE_FUNCTION(__asan_set_shadow_f8) 115317021SdimINTERFACE_FUNCTION(__asan_stack_free_0) 116317021SdimINTERFACE_FUNCTION(__asan_stack_free_1) 117317021SdimINTERFACE_FUNCTION(__asan_stack_free_2) 118317021SdimINTERFACE_FUNCTION(__asan_stack_free_3) 119317021SdimINTERFACE_FUNCTION(__asan_stack_free_4) 120317021SdimINTERFACE_FUNCTION(__asan_stack_free_5) 121317021SdimINTERFACE_FUNCTION(__asan_stack_free_6) 122317021SdimINTERFACE_FUNCTION(__asan_stack_free_7) 123317021SdimINTERFACE_FUNCTION(__asan_stack_free_8) 124317021SdimINTERFACE_FUNCTION(__asan_stack_free_9) 125317021SdimINTERFACE_FUNCTION(__asan_stack_free_10) 126317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_0) 127317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_1) 128317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_2) 129317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_3) 130317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_4) 131317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_5) 132317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_6) 133317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_7) 134317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_8) 135317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_9) 136317021SdimINTERFACE_FUNCTION(__asan_stack_malloc_10) 137317021SdimINTERFACE_FUNCTION(__asan_store1) 138317021SdimINTERFACE_FUNCTION(__asan_store2) 139317021SdimINTERFACE_FUNCTION(__asan_store4) 140317021SdimINTERFACE_FUNCTION(__asan_store8) 141317021SdimINTERFACE_FUNCTION(__asan_store16) 142317021SdimINTERFACE_FUNCTION(__asan_storeN) 143317021SdimINTERFACE_FUNCTION(__asan_store1_noabort) 144317021SdimINTERFACE_FUNCTION(__asan_store2_noabort) 145317021SdimINTERFACE_FUNCTION(__asan_store4_noabort) 146317021SdimINTERFACE_FUNCTION(__asan_store8_noabort) 147317021SdimINTERFACE_FUNCTION(__asan_store16_noabort) 148317021SdimINTERFACE_FUNCTION(__asan_storeN_noabort) 149317021SdimINTERFACE_FUNCTION(__asan_unpoison_intra_object_redzone) 150317021SdimINTERFACE_FUNCTION(__asan_unpoison_memory_region) 151317021SdimINTERFACE_FUNCTION(__asan_unpoison_stack_memory) 152317021SdimINTERFACE_FUNCTION(__asan_unregister_globals) 153317778SdimINTERFACE_FUNCTION(__asan_unregister_elf_globals) 154317021SdimINTERFACE_FUNCTION(__asan_unregister_image_globals) 155317021SdimINTERFACE_FUNCTION(__asan_version_mismatch_check_v8) 156317021SdimINTERFACE_FUNCTION(__sanitizer_finish_switch_fiber) 157317021SdimINTERFACE_FUNCTION(__sanitizer_print_stack_trace) 158317021SdimINTERFACE_FUNCTION(__sanitizer_ptr_cmp) 159317021SdimINTERFACE_FUNCTION(__sanitizer_ptr_sub) 160317021SdimINTERFACE_FUNCTION(__sanitizer_start_switch_fiber) 161317021SdimINTERFACE_FUNCTION(__sanitizer_unaligned_load16) 162317021SdimINTERFACE_FUNCTION(__sanitizer_unaligned_load32) 163317021SdimINTERFACE_FUNCTION(__sanitizer_unaligned_load64) 164317021SdimINTERFACE_FUNCTION(__sanitizer_unaligned_store16) 165317021SdimINTERFACE_FUNCTION(__sanitizer_unaligned_store32) 166317021SdimINTERFACE_FUNCTION(__sanitizer_unaligned_store64) 167360784SdimINTERFACE_FUNCTION(__asan_update_allocation_context) 168317021SdimINTERFACE_WEAK_FUNCTION(__asan_default_options) 169317021SdimINTERFACE_WEAK_FUNCTION(__asan_default_suppressions) 170317021SdimINTERFACE_WEAK_FUNCTION(__asan_on_error) 171