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