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_acquire_crash_state)
10INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container)
11INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address)
12INTERFACE_FUNCTION(__sanitizer_set_death_callback)
13INTERFACE_FUNCTION(__sanitizer_set_report_path)
14INTERFACE_FUNCTION(__sanitizer_set_report_fd)
15INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container)
16INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)
17INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify)
18// Sanitizer weak hooks
19INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp)
20INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp)
21INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp)
22INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr)
23// Stacktrace interface.
24INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc)
25INTERFACE_FUNCTION(__sanitizer_symbolize_global)
26INTERFACE_FUNCTION(__sanitizer_symbolize_pc)
27// Allocator interface.
28INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
29INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes)
30INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size)
31INTERFACE_FUNCTION(__sanitizer_get_free_bytes)
32INTERFACE_FUNCTION(__sanitizer_get_heap_size)
33INTERFACE_FUNCTION(__sanitizer_get_ownership)
34INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes)
35INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks)
36INTERFACE_FUNCTION(__sanitizer_purge_allocator)
37INTERFACE_FUNCTION(__sanitizer_print_memory_profile)
38INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook)
39INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook)
40