]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm-project / compiler-rt / lib / sanitizer_common / sanitizer_common_interface.inc
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 //===----------------------------------------------------------------------===//
10 INTERFACE_FUNCTION(__sanitizer_acquire_crash_state)
11 INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container)
12 INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address)
13 INTERFACE_FUNCTION(__sanitizer_set_death_callback)
14 INTERFACE_FUNCTION(__sanitizer_set_report_path)
15 INTERFACE_FUNCTION(__sanitizer_set_report_fd)
16 INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container)
17 INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)
18 INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify)
19 // Sanitizer weak hooks
20 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp)
21 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp)
22 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp)
23 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr)
24 // Stacktrace interface.
25 INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc)
26 INTERFACE_FUNCTION(__sanitizer_symbolize_global)
27 INTERFACE_FUNCTION(__sanitizer_symbolize_pc)
28 // Allocator interface.
29 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
30 INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes)
31 INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size)
32 INTERFACE_FUNCTION(__sanitizer_get_free_bytes)
33 INTERFACE_FUNCTION(__sanitizer_get_heap_size)
34 INTERFACE_FUNCTION(__sanitizer_get_ownership)
35 INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes)
36 INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks)
37 INTERFACE_FUNCTION(__sanitizer_purge_allocator)
38 INTERFACE_FUNCTION(__sanitizer_print_memory_profile)
39 INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook)
40 INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook)