1//===-- sanitizer_common_interface.inc ------------------------------------===// 2// 3// This file is distributed under the University of Illinois Open Source 4// License. See LICENSE.TXT for details. 5// 6//===----------------------------------------------------------------------===// 7// Sanitizer Common interface list. 8//===----------------------------------------------------------------------===// 9INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container) 10INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address) 11INTERFACE_FUNCTION(__sanitizer_set_death_callback) 12INTERFACE_FUNCTION(__sanitizer_set_report_path) 13INTERFACE_FUNCTION(__sanitizer_set_report_fd) 14INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container) 15INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary) 16INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify) 17// Sanitizer weak hooks 18INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp) 19INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp) 20INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp) 21INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr) 22// Stacktrace interface. 23INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc) 24INTERFACE_FUNCTION(__sanitizer_symbolize_global) 25INTERFACE_FUNCTION(__sanitizer_symbolize_pc) 26// Allocator interface. 27INTERFACE_FUNCTION(__sanitizer_get_allocated_size) 28INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes) 29INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size) 30INTERFACE_FUNCTION(__sanitizer_get_free_bytes) 31INTERFACE_FUNCTION(__sanitizer_get_heap_size) 32INTERFACE_FUNCTION(__sanitizer_get_ownership) 33INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes) 34INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks) 35INTERFACE_FUNCTION(__sanitizer_print_memory_profile) 36INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook) 37INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook) 38