PR target/85508
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_common_interface.inc
blobbd296f6decef9cc063cb509e2f5bc17a24be8397
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 //===----------------------------------------------------------------------===//
9 INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container)
10 INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address)
11 INTERFACE_FUNCTION(__sanitizer_set_death_callback)
12 INTERFACE_FUNCTION(__sanitizer_set_report_path)
13 INTERFACE_FUNCTION(__sanitizer_set_report_fd)
14 INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container)
15 INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)
16 INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify)
17 // Sanitizer weak hooks
18 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp)
19 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp)
20 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp)
21 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr)
22 // Stacktrace interface.
23 INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc)
24 INTERFACE_FUNCTION(__sanitizer_symbolize_global)
25 INTERFACE_FUNCTION(__sanitizer_symbolize_pc)
26 // Allocator interface.
27 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
28 INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes)
29 INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size)
30 INTERFACE_FUNCTION(__sanitizer_get_free_bytes)
31 INTERFACE_FUNCTION(__sanitizer_get_heap_size)
32 INTERFACE_FUNCTION(__sanitizer_get_ownership)
33 INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes)
34 INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks)
35 INTERFACE_FUNCTION(__sanitizer_print_memory_profile)
36 INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook)
37 INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook)