10b57cec5SDimitry Andric//===-- asan_interface.inc ------------------------------------------------===// 20b57cec5SDimitry Andric// 30b57cec5SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric// See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric// 70b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric// Asan interface list. 90b57cec5SDimitry Andric//===----------------------------------------------------------------------===// 100eae32dcSDimitry Andric 110b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_addr_is_in_fake_stack) 120b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_address_is_poisoned) 130b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_after_dynamic_init) 140b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_alloca_poison) 150b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_allocas_unpoison) 160b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_before_dynamic_init) 170b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_describe_address) 180b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_load1) 190b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_load2) 200b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_load4) 210b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_load8) 220b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_load16) 230b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_loadN) 240b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_store1) 250b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_store2) 260b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_store4) 270b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_store8) 280b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_store16) 290b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_exp_storeN) 300b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_alloc_stack) 310b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_current_fake_stack) 320b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_free_stack) 330b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_access_size) 340b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_access_type) 350b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_address) 360b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_bp) 370b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_description) 380b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_pc) 390b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_report_sp) 400b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_get_shadow_mapping) 410b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_handle_no_return) 420b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_handle_vfork) 430b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_init) 440b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load_cxx_array_cookie) 450b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load1) 460b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load2) 470b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load4) 480b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load8) 490b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load16) 500b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_loadN) 510b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load1_noabort) 520b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load2_noabort) 530b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load4_noabort) 540b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load8_noabort) 550b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_load16_noabort) 560b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_loadN_noabort) 570b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_locate_address) 580b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_memcpy) 590b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_memmove) 600b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_memset) 610b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_poison_cxx_array_cookie) 620b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_poison_intra_object_redzone) 630b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_poison_memory_region) 640b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_poison_stack_memory) 650b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_print_accumulated_stats) 660b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_region_is_poisoned) 670b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_register_globals) 680b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_register_elf_globals) 690b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_register_image_globals) 700b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_error) 710b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_load1) 720b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_load2) 730b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_load4) 740b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_load8) 750b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_load16) 760b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_load_n) 770b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_store1) 780b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_store2) 790b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_store4) 800b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_store8) 810b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_store16) 820b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_exp_store_n) 830b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load1) 840b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load2) 850b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load4) 860b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load8) 870b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load16) 880b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load_n) 890b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load1_noabort) 900b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load2_noabort) 910b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load4_noabort) 920b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load8_noabort) 930b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load16_noabort) 940b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_load_n_noabort) 950b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_present) 960b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store1) 970b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store2) 980b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store4) 990b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store8) 1000b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store16) 1010b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store_n) 1020b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store1_noabort) 1030b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store2_noabort) 1040b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store4_noabort) 1050b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store8_noabort) 1060b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store16_noabort) 1070b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_report_store_n_noabort) 1080b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_death_callback) 1090b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_error_report_callback) 1100b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_00) 111*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_01) 112*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_02) 113*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_03) 114*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_04) 115*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_05) 116*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_06) 117*bdd1243dSDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_07) 1180b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_f1) 1190b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_f2) 1200b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_f3) 1210b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_f5) 1220b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_set_shadow_f8) 1230b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_0) 1240b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_1) 1250b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_2) 1260b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_3) 1270b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_4) 1280b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_5) 1290b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_6) 1300b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_7) 1310b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_8) 1320b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_9) 1330b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_free_10) 1340b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_0) 1350b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_1) 1360b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_2) 1370b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_3) 1380b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_4) 1390b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_5) 1400b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_6) 1410b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_7) 1420b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_8) 1430b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_9) 1440b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_10) 145fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_0) 146fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_1) 147fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_2) 148fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_3) 149fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_4) 150fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_5) 151fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_6) 152fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_7) 153fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_8) 154fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_9) 155fe6060f1SDimitry AndricINTERFACE_FUNCTION(__asan_stack_malloc_always_10) 1560b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store1) 1570b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store2) 1580b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store4) 1590b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store8) 1600b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store16) 1610b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_storeN) 1620b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store1_noabort) 1630b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store2_noabort) 1640b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store4_noabort) 1650b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store8_noabort) 1660b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_store16_noabort) 1670b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_storeN_noabort) 1680b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_unpoison_intra_object_redzone) 1690b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_unpoison_memory_region) 1700b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_unpoison_stack_memory) 1710b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_unregister_globals) 1720b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_unregister_elf_globals) 1730b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_unregister_image_globals) 1740b57cec5SDimitry AndricINTERFACE_FUNCTION(__asan_version_mismatch_check_v8) 1750b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_finish_switch_fiber) 1760b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_print_stack_trace) 1770b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_ptr_cmp) 1780b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_ptr_sub) 1790b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_start_switch_fiber) 1800b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_unaligned_load16) 1810b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_unaligned_load32) 1820b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_unaligned_load64) 1830b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_unaligned_store16) 1840b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_unaligned_store32) 1850b57cec5SDimitry AndricINTERFACE_FUNCTION(__sanitizer_unaligned_store64) 186480093f4SDimitry AndricINTERFACE_FUNCTION(__asan_update_allocation_context) 1870b57cec5SDimitry AndricINTERFACE_WEAK_FUNCTION(__asan_default_options) 1880b57cec5SDimitry AndricINTERFACE_WEAK_FUNCTION(__asan_default_suppressions) 1890b57cec5SDimitry AndricINTERFACE_WEAK_FUNCTION(__asan_on_error) 190