xref: /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc (revision 85868e8a1daeaae7a0e48effb2ea2310ae3b02c6)
1//===-- sanitizer_common_interface.inc ------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8// Sanitizer Common interface list.
9//===----------------------------------------------------------------------===//
10INTERFACE_FUNCTION(__sanitizer_acquire_crash_state)
11INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container)
12INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address)
13INTERFACE_FUNCTION(__sanitizer_set_death_callback)
14INTERFACE_FUNCTION(__sanitizer_set_report_path)
15INTERFACE_FUNCTION(__sanitizer_set_report_fd)
16INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container)
17INTERFACE_WEAK_FUNCTION(__sanitizer_on_print)
18INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)
19INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify)
20// Sanitizer weak hooks
21INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp)
22INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp)
23INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp)
24INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr)
25// Stacktrace interface.
26INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc)
27INTERFACE_FUNCTION(__sanitizer_symbolize_global)
28INTERFACE_FUNCTION(__sanitizer_symbolize_pc)
29// Allocator interface.
30INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
31INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes)
32INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size)
33INTERFACE_FUNCTION(__sanitizer_get_free_bytes)
34INTERFACE_FUNCTION(__sanitizer_get_heap_size)
35INTERFACE_FUNCTION(__sanitizer_get_ownership)
36INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes)
37INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks)
38INTERFACE_FUNCTION(__sanitizer_purge_allocator)
39INTERFACE_FUNCTION(__sanitizer_print_memory_profile)
40INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook)
41INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook)
42