annotate libsanitizer/sanitizer_common/sanitizer_common_interface.inc @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 //===-- sanitizer_common_interface.inc ------------------------------------===//
kono
parents:
diff changeset
2 //
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
4 // See https://llvm.org/LICENSE.txt for license information.
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
111
kono
parents:
diff changeset
6 //
kono
parents:
diff changeset
7 //===----------------------------------------------------------------------===//
kono
parents:
diff changeset
8 // Sanitizer Common interface list.
kono
parents:
diff changeset
9 //===----------------------------------------------------------------------===//
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
10 INTERFACE_FUNCTION(__sanitizer_acquire_crash_state)
111
kono
parents:
diff changeset
11 INTERFACE_FUNCTION(__sanitizer_annotate_contiguous_container)
kono
parents:
diff changeset
12 INTERFACE_FUNCTION(__sanitizer_contiguous_container_find_bad_address)
kono
parents:
diff changeset
13 INTERFACE_FUNCTION(__sanitizer_set_death_callback)
kono
parents:
diff changeset
14 INTERFACE_FUNCTION(__sanitizer_set_report_path)
kono
parents:
diff changeset
15 INTERFACE_FUNCTION(__sanitizer_set_report_fd)
kono
parents:
diff changeset
16 INTERFACE_FUNCTION(__sanitizer_verify_contiguous_container)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
17 INTERFACE_WEAK_FUNCTION(__sanitizer_on_print)
111
kono
parents:
diff changeset
18 INTERFACE_WEAK_FUNCTION(__sanitizer_report_error_summary)
kono
parents:
diff changeset
19 INTERFACE_WEAK_FUNCTION(__sanitizer_sandbox_on_notify)
kono
parents:
diff changeset
20 // Sanitizer weak hooks
kono
parents:
diff changeset
21 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_memcmp)
kono
parents:
diff changeset
22 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strcmp)
kono
parents:
diff changeset
23 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strncmp)
kono
parents:
diff changeset
24 INTERFACE_WEAK_FUNCTION(__sanitizer_weak_hook_strstr)
kono
parents:
diff changeset
25 // Stacktrace interface.
kono
parents:
diff changeset
26 INTERFACE_FUNCTION(__sanitizer_get_module_and_offset_for_pc)
kono
parents:
diff changeset
27 INTERFACE_FUNCTION(__sanitizer_symbolize_global)
kono
parents:
diff changeset
28 INTERFACE_FUNCTION(__sanitizer_symbolize_pc)
kono
parents:
diff changeset
29 // Allocator interface.
kono
parents:
diff changeset
30 INTERFACE_FUNCTION(__sanitizer_get_allocated_size)
kono
parents:
diff changeset
31 INTERFACE_FUNCTION(__sanitizer_get_current_allocated_bytes)
kono
parents:
diff changeset
32 INTERFACE_FUNCTION(__sanitizer_get_estimated_allocated_size)
kono
parents:
diff changeset
33 INTERFACE_FUNCTION(__sanitizer_get_free_bytes)
kono
parents:
diff changeset
34 INTERFACE_FUNCTION(__sanitizer_get_heap_size)
kono
parents:
diff changeset
35 INTERFACE_FUNCTION(__sanitizer_get_ownership)
kono
parents:
diff changeset
36 INTERFACE_FUNCTION(__sanitizer_get_unmapped_bytes)
kono
parents:
diff changeset
37 INTERFACE_FUNCTION(__sanitizer_install_malloc_and_free_hooks)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
38 INTERFACE_FUNCTION(__sanitizer_purge_allocator)
111
kono
parents:
diff changeset
39 INTERFACE_FUNCTION(__sanitizer_print_memory_profile)
kono
parents:
diff changeset
40 INTERFACE_WEAK_FUNCTION(__sanitizer_free_hook)
kono
parents:
diff changeset
41 INTERFACE_WEAK_FUNCTION(__sanitizer_malloc_hook)