Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/compiler_rt/dist Import compiler-rt r350590...
details: https://anonhg.NetBSD.org/src/rev/e7799ce91e0d
branches: trunk
changeset: 447344:e7799ce91e0d
user: kamil <kamil%NetBSD.org@localhost>
date: Tue Jan 08 05:40:27 2019 +0000
description:
Import compiler-rt r350590. LLVM sanitizers on top of unmodified files from compiler-rt-259194.
diffstat:
sys/external/bsd/compiler_rt/dist/include/sanitizer/allocator_interface.h | 89 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/asan_interface.h | 155 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/common_interface_defs.h | 209 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/coverage_interface.h | 36 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/dfsan_interface.h | 116 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/esan_interface.h | 50 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/hwasan_interface.h | 84 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/linux_syscall_hooks.h | 3083 +++
sys/external/bsd/compiler_rt/dist/include/sanitizer/lsan_interface.h | 90 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/msan_interface.h | 119 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/netbsd_syscall_hooks.h | 4732 ++++
sys/external/bsd/compiler_rt/dist/include/sanitizer/scudo_interface.h | 39 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/tsan_interface.h | 144 +
sys/external/bsd/compiler_rt/dist/include/sanitizer/tsan_interface_atomic.h | 222 +
sys/external/bsd/compiler_rt/dist/include/xray/xray_interface.h | 131 +
sys/external/bsd/compiler_rt/dist/include/xray/xray_log_interface.h | 358 +
sys/external/bsd/compiler_rt/dist/include/xray/xray_records.h | 135 +
sys/external/bsd/compiler_rt/dist/lib/asan/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/asan/README.txt | 26 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan.syms.extra | 4 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_activation.cc | 144 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_activation.h | 23 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_activation_flags.inc | 37 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_allocator.cc | 1109 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_allocator.h | 245 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_blacklist.txt | 13 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_debugging.cc | 147 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_descriptions.cc | 502 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_descriptions.h | 263 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_errors.cc | 585 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_errors.h | 438 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_fake_stack.cc | 283 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_fake_stack.h | 176 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_flags.cc | 215 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_flags.h | 49 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_flags.inc | 161 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_fuchsia.cc | 225 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_globals.cc | 465 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_globals_win.cc | 62 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_init_version.h | 45 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors.cc | 667 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors.h | 135 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors_memintrinsics.cc | 44 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_interceptors_memintrinsics.h | 155 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_interface.inc | 169 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_interface_internal.h | 255 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_internal.h | 164 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_linux.cc | 261 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_mac.cc | 332 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_malloc_linux.cc | 300 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_malloc_local.h | 44 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_malloc_mac.cc | 85 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_malloc_win.cc | 267 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_mapping.h | 401 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_mapping_myriad.h | 86 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_memory_profile.cc | 130 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_new_delete.cc | 211 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_poisoning.cc | 461 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_poisoning.h | 99 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_posix.cc | 118 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_preinit.cc | 25 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_premap_shadow.cc | 79 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_premap_shadow.h | 30 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_report.cc | 552 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_report.h | 98 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_rtems.cc | 259 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_rtl.cc | 603 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_scariness_score.h | 74 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_shadow_setup.cc | 165 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_stack.cc | 40 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_stack.h | 114 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_stats.cc | 174 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_stats.h | 72 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_suppressions.cc | 105 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_suppressions.h | 30 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_thread.cc | 537 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_thread.h | 199 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_win.cc | 363 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dll_thunk.cc | 153 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_dynamic_runtime_thunk.cc | 131 +
sys/external/bsd/compiler_rt/dist/lib/asan/asan_win_weak_interception.cc | 23 +
sys/external/bsd/compiler_rt/dist/lib/asan/scripts/CMakeLists.txt | 4 +
sys/external/bsd/compiler_rt/dist/lib/asan/scripts/asan_device_setup | 467 +
sys/external/bsd/compiler_rt/dist/lib/asan/scripts/asan_symbolize.py | 523 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/CMakeLists.txt | 309 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_asm_test.cc | 274 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_benchmarks_test.cc | 85 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_exceptions_test.cc | 27 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_fake_stack_test.cc | 152 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_globals_test.cc | 45 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_interface_test.cc | 422 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_internal_interface_test.cc | 37 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_mac_test.cc | 236 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_mac_test.h | 19 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_mac_test_helpers.mm | 241 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_mem_test.cc | 242 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_noinst_test.cc | 273 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_oob_test.cc | 128 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_racy_double_free_test.cc | 32 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_str_test.cc | 635 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_test.cc | 1363 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_test.ignore | 3 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_test_config.h | 50 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_test_main.cc | 56 +
sys/external/bsd/compiler_rt/dist/lib/asan/tests/asan_test_utils.h | 109 +
sys/external/bsd/compiler_rt/dist/lib/asan/weak_symbols.txt | 12 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerCommand.h | 179 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerCorpus.h | 315 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerCrossOver.cpp | 52 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerDataFlowTrace.cpp | 91 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerDataFlowTrace.h | 56 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerDefs.h | 199 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerDictionary.h | 119 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerDriver.cpp | 777 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerExtFunctions.def | 51 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerExtFunctions.h | 35 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerExtFunctionsDlsym.cpp | 52 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerExtFunctionsWeak.cpp | 55 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerExtFunctionsWeakAlias.cpp | 56 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerExtraCounters.cpp | 42 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerFlags.def | 164 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerIO.cpp | 129 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerIO.h | 87 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerIOPosix.cpp | 147 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerIOWindows.cpp | 343 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerInterface.h | 71 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerInternal.h | 179 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerLoop.cpp | 905 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerMain.cpp | 21 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerMerge.cpp | 390 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerMerge.h | 80 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerMutate.cpp | 562 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerMutate.h | 157 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerOptions.h | 77 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerRandom.h | 34 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerSHA1.cpp | 222 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerSHA1.h | 33 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerShmem.h | 69 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerShmemFuchsia.cpp | 38 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerShmemPosix.cpp | 108 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerShmemWindows.cpp | 64 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerTracePC.cpp | 718 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerTracePC.h | 310 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtil.cpp | 232 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtil.h | 91 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilDarwin.cpp | 162 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilFuchsia.cpp | 473 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilLinux.cpp | 27 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilPosix.cpp | 152 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerUtilWindows.cpp | 196 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerValueBitMap.h | 73 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/README.txt | 1 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/afl/afl_driver.cpp | 378 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/build.sh | 11 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/dataflow/DataFlow.cpp | 217 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/collect_data_flow.py | 79 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/merge_data_flow.py | 36 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/scripts/unbalanced_allocs.py | 93 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/standalone/StandaloneFuzzTargetMain.c | 41 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/CMakeLists.txt | 64 +
sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/FuzzerUnittest.cpp | 964 +
sys/external/bsd/compiler_rt/dist/lib/interception/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception.h | 299 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_linux.cc | 55 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_linux.h | 50 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_mac.cc | 19 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_mac.h | 28 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_type_test.cc | 40 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_win.cc | 1017 +
sys/external/bsd/compiler_rt/dist/lib/interception/interception_win.h | 84 +
sys/external/bsd/compiler_rt/dist/lib/interception/tests/CMakeLists.txt | 113 +
sys/external/bsd/compiler_rt/dist/lib/interception/tests/interception_linux_test.cc | 68 +
sys/external/bsd/compiler_rt/dist/lib/interception/tests/interception_test_main.cc | 22 +
sys/external/bsd/compiler_rt/dist/lib/interception/tests/interception_win_test.cc | 637 +
sys/external/bsd/compiler_rt/dist/lib/lsan/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_common_mac.cc | 203 +
sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_flags.inc | 47 +
sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_linux.cc | 33 +
sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_mac.cc | 192 +
sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_malloc_mac.cc | 58 +
sys/external/bsd/compiler_rt/dist/lib/lsan/lsan_preinit.cc | 22 +
sys/external/bsd/compiler_rt/dist/lib/lsan/weak_symbols.txt | 3 +
sys/external/bsd/compiler_rt/dist/lib/msan/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan.cc | 675 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan.h | 403 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan.syms.extra | 2 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_allocator.cc | 350 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_allocator.h | 33 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_blacklist.txt | 7 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_chained_origin_depot.cc | 132 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_chained_origin_depot.h | 29 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_flags.h | 30 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_flags.inc | 35 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_interceptors.cc | 1704 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_interface_internal.h | 185 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_linux.cc | 263 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_new_delete.cc | 109 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_origin.h | 169 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_poisoning.cc | 175 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_poisoning.h | 59 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_report.cc | 273 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_report.h | 34 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_thread.cc | 82 +
sys/external/bsd/compiler_rt/dist/lib/msan/msan_thread.h | 71 +
sys/external/bsd/compiler_rt/dist/lib/msan/tests/CMakeLists.txt | 142 +
sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_loadable.cc | 27 +
sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test.cc | 4639 ++++
sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test_config.h | 20 +
sys/external/bsd/compiler_rt/dist/lib/msan/tests/msan_test_main.cc | 21 +
sys/external/bsd/compiler_rt/dist/lib/safestack/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/safestack/safestack.cc | 318 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/.clang-tidy | 16 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sancov_begin.S | 5 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sancov_end.S | 5 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sancov_flags.cc | 59 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sancov_flags.h | 40 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sancov_flags.inc | 21 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_addrhashmap.h | 354 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator.cc | 256 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator.h | 82 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_bytemap.h | 108 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_checks.cc | 23 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_checks.h | 77 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_combined.h | 205 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_interface.h | 48 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_internal.h | 68 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_local_cache.h | 272 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_primary32.h | 369 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_primary64.h | 857 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_report.cc | 125 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_report.h | 38 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_secondary.h | 322 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_size_class_map.h | 242 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_allocator_stats.h | 107 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_asm.h | 58 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_atomic.h | 87 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_atomic_clang.h | 106 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_atomic_clang_mips.h | 118 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_atomic_clang_other.h | 98 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_atomic_clang_x86.h | 114 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_atomic_msvc.h | 266 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_bitvector.h | 351 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_bvgraph.h | 165 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common.cc | 347 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common.h | 963 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_interceptors.inc | 9639 ++++++++++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_interceptors_format.inc | 563 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_interceptors_ioctl.inc | 610 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_interface.inc | 41 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_interface_posix.inc | 14 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_libcdep.cc | 140 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_nolibc.cc | 35 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_common_syscalls.inc | 2886 ++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 241 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_interface.inc | 33 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cc | 219 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cc | 21 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cc | 21 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_win_sections.cc | 63 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cc | 24 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_dbghelp.h | 42 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector.h | 416 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector1.cc | 195 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector2.cc | 424 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_deadlock_detector_interface.h | 93 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_errno.cc | 35 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_errno.h | 40 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_errno_codes.h | 34 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_file.cc | 216 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_file.h | 107 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_flag_parser.cc | 171 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_flag_parser.h | 143 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_flags.cc | 122 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_flags.h | 68 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_flags.inc | 248 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_freebsd.h | 137 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_fuchsia.cc | 521 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_fuchsia.h | 31 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_getauxval.h | 48 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_interceptors_ioctl_netbsd.inc | 1512 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_interface_internal.h | 117 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_internal_defs.h | 438 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_lfstack.h | 73 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_libc.cc | 280 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_libc.h | 84 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_libignore.cc | 130 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_libignore.h | 116 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.cc | 2117 ++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux.h | 151 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_libcdep.cc | 850 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_mips64.S | 23 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_s390.cc | 222 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_linux_x86_64.S | 25 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_list.h | 167 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_local_address_space_view.h | 77 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.cc | 1132 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac.h | 77 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mac_libcdep.cc | 30 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_malloc_mac.inc | 376 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_mutex.h | 224 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_netbsd.cc | 335 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_openbsd.cc | 114 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_persistent_allocator.cc | 19 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_persistent_allocator.h | 72 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_placement_new.h | 25 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform.h | 354 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_interceptors.h | 557 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cc | 524 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h | 656 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_linux.cc | 109 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc | 2324 ++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_netbsd.h | 2336 ++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_openbsd.cc | 279 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h | 382 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.cc | 1274 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_posix.h | 1455 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_solaris.cc | 366 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_platform_limits_solaris.h | 496 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix.cc | 349 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix.h | 110 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_posix_libcdep.cc | 522 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_printf.cc | 359 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_procmaps.h | 100 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_procmaps_bsd.cc | 140 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_procmaps_common.cc | 175 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_procmaps_linux.cc | 82 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_procmaps_mac.cc | 375 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_procmaps_solaris.cc | 64 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_quarantine.h | 318 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_report_decorator.h | 49 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_ring_buffer.h | 162 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_rtems.cc | 280 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_rtems.h | 21 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_signal_interceptors.inc | 87 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_solaris.cc | 230 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stackdepot.cc | 163 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stackdepot.h | 72 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stackdepotbase.h | 178 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stacktrace.cc | 133 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stacktrace.h | 149 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc | 157 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stacktrace_printer.cc | 264 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stacktrace_printer.h | 72 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stacktrace_sparc.cc | 59 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stoptheworld.h | 65 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc | 573 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc | 178 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_suppressions.cc | 171 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_suppressions.h | 57 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer.cc | 120 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer.h | 193 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_fuchsia.h | 43 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_internal.h | 152 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc | 210 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.h | 50 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc | 494 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_mac.cc | 169 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_mac.h | 48 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_markup.cc | 145 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc | 540 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_report.cc | 282 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_rtems.h | 41 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_symbolizer_win.cc | 316 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_syscall_generic.inc | 39 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_aarch64.inc | 138 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_arm.inc | 138 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_syscall_linux_x86_64.inc | 91 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_syscalls_netbsd.inc | 3782 +++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_termination.cc | 95 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_thread_registry.cc | 352 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_thread_registry.h | 155 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_tls_get_addr.cc | 155 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_tls_get_addr.h | 63 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_type_traits.h | 44 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc | 171 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_unwind_win.cc | 75 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_vector.h | 129 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win.cc | 1069 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win.h | 26 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win_defs.h | 163 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win_dll_thunk.cc | 102 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win_dll_thunk.h | 182 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cc | 21 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win_weak_interception.cc | 94 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/sanitizer_win_weak_interception.h | 33 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/check_lint.sh | 142 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/cpplint.py | 4024 ++++
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/gen_dynamic_list.py | 132 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/litlint.py | 72 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/litlint_test.py | 23 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/scripts/sancov.py | 251 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/sanitizer_symbolize.cc | 75 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cc | 199 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh | 39 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh | 184 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt | 151 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/CMakeLists.txt | 218 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/malloc_stress_transfer_test.cc | 37 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_allocator_test.cc | 1430 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc | 203 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_atomic_test.cc | 128 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_bitvector_test.cc | 178 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_bvgraph_test.cc | 339 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_common_test.cc | 442 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_deadlock_detector_test.cc | 496 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_flags_test.cc | 180 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_format_interceptor_test.cc | 263 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_ioctl_test.cc | 105 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_libc_test.cc | 315 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_linux_test.cc | 296 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_list_test.cc | 189 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_mutex_test.cc | 137 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_nolibc_test.cc | 31 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_nolibc_test_main.cc | 19 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_posix_test.cc | 81 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_printf_test.cc | 161 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_procmaps_test.cc | 79 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_pthread_wrappers.h | 68 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_quarantine_test.cc | 180 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_ring_buffer_test.cc | 99 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cc | 93 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stacktrace_printer_test.cc | 157 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cc | 167 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stoptheworld_test.cc | 204 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_stoptheworld_testlib.cc | 53 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_suppressions_test.cc | 135 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_symbolizer_test.cc | 72 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_test_config.h | 30 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_test_main.cc | 24 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_test_utils.h | 139 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc | 236 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_type_traits_test.cc | 28 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/sanitizer_vector_test.cc | 51 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/standalone_malloc_test.cc | 87 +
sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/weak_symbols.txt | 8 +
sys/external/bsd/compiler_rt/dist/lib/tsan/.clang-format | 2 +
sys/external/bsd/compiler_rt/dist/lib/tsan/analyze_libtsan.sh | 54 +
sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/mini_bench_local.cc | 49 +
sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/mini_bench_shared.cc | 51 +
sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/start_many_threads.cc | 52 +
sys/external/bsd/compiler_rt/dist/lib/tsan/benchmarks/vts_many_threads_bench.cc | 120 +
sys/external/bsd/compiler_rt/dist/lib/tsan/check_analyze.sh | 56 +
sys/external/bsd/compiler_rt/dist/lib/tsan/check_cmake.sh | 18 +
sys/external/bsd/compiler_rt/dist/lib/tsan/dd/CMakeLists.txt | 52 +
sys/external/bsd/compiler_rt/dist/lib/tsan/dd/dd_interceptors.cc | 329 +
sys/external/bsd/compiler_rt/dist/lib/tsan/dd/dd_rtl.cc | 159 +
sys/external/bsd/compiler_rt/dist/lib/tsan/dd/dd_rtl.h | 67 +
sys/external/bsd/compiler_rt/dist/lib/tsan/go/build.bat | 4 +
sys/external/bsd/compiler_rt/dist/lib/tsan/go/buildgo.sh | 173 +
sys/external/bsd/compiler_rt/dist/lib/tsan/go/test.c | 106 +
sys/external/bsd/compiler_rt/dist/lib/tsan/go/tsan_go.cc | 284 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan.syms.extra | 26 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_clock.cc | 598 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_clock.h | 226 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_debugging.cc | 257 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_defs.h | 196 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_dense_alloc.h | 142 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_external.cc | 125 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_fd.cc | 316 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_fd.h | 65 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_flags.cc | 126 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_flags.h | 34 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_flags.inc | 86 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_ignoreset.cc | 47 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_ignoreset.h | 38 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors.cc | 2863 ++
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors.h | 68 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interceptors_mac.cc | 448 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface.cc | 135 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface.h | 418 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface_ann.cc | 553 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface_ann.h | 33 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface_atomic.cc | 956 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface_inl.h | 125 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface_java.cc | 268 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_interface_java.h | 100 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_libdispatch_mac.cc | 727 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_malloc_mac.cc | 70 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_md5.cc | 243 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_mman.cc | 387 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_mman.h | 90 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_mutex.cc | 290 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_mutex.h | 91 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_mutexset.cc | 89 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_mutexset.h | 70 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_new_delete.cc | 200 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform.h | 1025 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform_linux.cc | 422 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform_mac.cc | 305 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform_posix.cc | 175 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_platform_windows.cc | 38 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_ppc_regs.h | 96 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_preinit.cc | 27 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_report.cc | 484 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_report.h | 135 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl.cc | 1089 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl.h | 873 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_aarch64.S | 343 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_amd64.S | 398 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_mips64.S | 214 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_mutex.cc | 540 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_ppc64.S | 288 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_proc.cc | 61 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_report.cc | 755 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_rtl_thread.cc | 407 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_stack_trace.cc | 51 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_stack_trace.h | 43 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_stat.cc | 187 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_stat.h | 191 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_suppressions.cc | 170 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_suppressions.h | 38 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_symbolize.cc | 123 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_symbolize.h | 31 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_sync.cc | 297 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_sync.h | 146 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_trace.h | 76 +
sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/tsan_update_shadow_word_inl.h | 66 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/CMakeLists.txt | 72 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/CMakeLists.txt | 19 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_bench.cc | 105 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_mop.cc | 233 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_mutex.cc | 221 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_posix.cc | 155 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_posix_util.h | 77 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_string.cc | 82 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_test.cc | 66 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_test_util.h | 130 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_test_util_posix.cc | 478 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/tsan_thread.cc | 59 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/CMakeLists.txt | 12 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_clock_test.cc | 494 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_dense_alloc_test.cc | 55 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_flags_test.cc | 174 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_mman_test.cc | 197 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_mutex_test.cc | 126 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_mutexset_test.cc | 127 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_shadow_test.cc | 78 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_stack_test.cc | 95 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_sync_test.cc | 123 +
sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/tsan_unit_test_main.cc | 25 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan.syms.extra | 1 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_checks.inc | 59 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_diag.cc | 436 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_diag.h | 270 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_diag_standalone.cc | 38 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_flags.cc | 86 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_flags.h | 49 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_flags.inc | 29 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_handlers.cc | 805 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_handlers.h | 227 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_handlers_cxx.cc | 162 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_handlers_cxx.h | 39 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_init.cc | 65 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_init.h | 34 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_init_standalone.cc | 34 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_init_standalone_preinit.cc | 36 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_interface.inc | 58 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_monitor.cc | 76 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_monitor.h | 49 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_platform.h | 26 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_signals_standalone.cc | 68 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_signals_standalone.h | 25 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_type_hash.cc | 34 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_type_hash.h | 70 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_type_hash_itanium.cc | 261 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_type_hash_win.cc | 81 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_value.cc | 113 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_value.h | 197 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_win_dll_thunk.cc | 21 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cc | 21 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/ubsan_win_weak_interception.cc | 24 +
sys/external/bsd/compiler_rt/dist/lib/ubsan/weak_symbols.txt | 1 +
sys/external/bsd/compiler_rt/dist/lib/ubsan_minimal/ubsan.syms.extra | 1 +
sys/external/bsd/compiler_rt/dist/lib/ubsan_minimal/ubsan_minimal_handlers.cc | 118 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/CMakeLists.txt | 132 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/CMakeLists.txt | 16 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/allocator_test.cc | 82 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/buffer_queue_test.cc | 235 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/fdr_controller_test.cc | 424 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/fdr_log_writer_test.cc | 162 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/function_call_trie_test.cc | 344 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/profile_collector_test.cc | 236 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/segmented_array_test.cc | 349 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/test_helpers.cc | 95 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/test_helpers.h | 78 +
sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/xray_unit_test_main.cc | 18 +
sys/external/bsd/compiler_rt/dist/lib/xray/weak_symbols.txt | 4 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_AArch64.cc | 128 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_allocator.h | 289 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_always_instrument.txt | 6 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_arm.cc | 165 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_basic_flags.cc | 50 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_basic_flags.h | 38 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_basic_flags.inc | 24 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_basic_logging.cc | 516 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_basic_logging.h | 43 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_buffer_queue.cc | 238 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_buffer_queue.h | 281 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_defs.h | 32 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_controller.h | 373 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_flags.cc | 48 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_flags.h | 38 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_flags.inc | 29 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_log_records.h | 76 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_log_writer.h | 232 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_logging.cc | 758 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_fdr_logging.h | 39 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_flags.cc | 85 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_flags.h | 40 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_flags.inc | 50 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_function_call_trie.h | 604 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_init.cc | 116 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_interface.cc | 481 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_interface_internal.h | 81 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_log_interface.cc | 210 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_mips.cc | 171 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_mips64.cc | 179 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_never_instrument.txt | 6 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_powerpc64.cc | 112 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_powerpc64.inc | 37 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_profile_collector.cc | 415 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_profile_collector.h | 74 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_profiling.cc | 520 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_profiling_flags.cc | 40 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_profiling_flags.h | 39 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_profiling_flags.inc | 32 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_recursion_guard.h | 57 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_segmented_array.h | 651 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_AArch64.S | 144 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_arm.S | 102 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_mips.S | 110 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_mips64.S | 136 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_powerpc64.cc | 15 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_powerpc64_asm.S | 235 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_trampoline_x86_64.S | 284 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_tsc.h | 91 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_utils.cc | 196 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_utils.h | 86 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_x86_64.cc | 353 +
sys/external/bsd/compiler_rt/dist/lib/xray/xray_x86_64.inc | 34 +
641 files changed, 163581 insertions(+), 0 deletions(-)
diffs (truncated from 166145 to 300 lines):
diff -r d9d706ec4911 -r e7799ce91e0d sys/external/bsd/compiler_rt/dist/include/sanitizer/allocator_interface.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/compiler_rt/dist/include/sanitizer/allocator_interface.h Tue Jan 08 05:40:27 2019 +0000
@@ -0,0 +1,89 @@
+//===-- allocator_interface.h ---------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Public interface header for allocator used in sanitizers (ASan/TSan/MSan).
+//===----------------------------------------------------------------------===//
+#ifndef SANITIZER_ALLOCATOR_INTERFACE_H
+#define SANITIZER_ALLOCATOR_INTERFACE_H
+
+#include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ /* Returns the estimated number of bytes that will be reserved by allocator
+ for request of "size" bytes. If allocator can't allocate that much
+ memory, returns the maximal possible allocation size, otherwise returns
+ "size". */
+ size_t __sanitizer_get_estimated_allocated_size(size_t size);
+
+ /* Returns true if p was returned by the allocator and
+ is not yet freed. */
+ int __sanitizer_get_ownership(const volatile void *p);
+
+ /* Returns the number of bytes reserved for the pointer p.
+ Requires (get_ownership(p) == true) or (p == 0). */
+ size_t __sanitizer_get_allocated_size(const volatile void *p);
+
+ /* Number of bytes, allocated and not yet freed by the application. */
+ size_t __sanitizer_get_current_allocated_bytes(void);
+
+ /* Number of bytes, mmaped by the allocator to fulfill allocation requests.
+ Generally, for request of X bytes, allocator can reserve and add to free
+ lists a large number of chunks of size X to use them for future requests.
+ All these chunks count toward the heap size. Currently, allocator never
+ releases memory to OS (instead, it just puts freed chunks to free
+ lists). */
+ size_t __sanitizer_get_heap_size(void);
+
+ /* Number of bytes, mmaped by the allocator, which can be used to fulfill
+ allocation requests. When a user program frees memory chunk, it can first
+ fall into quarantine and will count toward __sanitizer_get_free_bytes()
+ later. */
+ size_t __sanitizer_get_free_bytes(void);
+
+ /* Number of bytes in unmapped pages, that are released to OS. Currently,
+ always returns 0. */
+ size_t __sanitizer_get_unmapped_bytes(void);
+
+ /* Malloc hooks that may be optionally provided by user.
+ __sanitizer_malloc_hook(ptr, size) is called immediately after
+ allocation of "size" bytes, which returned "ptr".
+ __sanitizer_free_hook(ptr) is called immediately before
+ deallocation of "ptr". */
+ void __sanitizer_malloc_hook(const volatile void *ptr, size_t size);
+ void __sanitizer_free_hook(const volatile void *ptr);
+
+ /* Installs a pair of hooks for malloc/free.
+ Several (currently, 5) hook pairs may be installed, they are executed
+ in the order they were installed and after calling
+ __sanitizer_malloc_hook/__sanitizer_free_hook.
+ Unlike __sanitizer_malloc_hook/__sanitizer_free_hook these hooks can be
+ chained and do not rely on weak symbols working on the platform, but
+ require __sanitizer_install_malloc_and_free_hooks to be called at startup
+ and thus will not be called on malloc/free very early in the process.
+ Returns the number of hooks currently installed or 0 on failure.
+ Not thread-safe, should be called in the main thread before starting
+ other threads.
+ */
+ int __sanitizer_install_malloc_and_free_hooks(
+ void (*malloc_hook)(const volatile void *, size_t),
+ void (*free_hook)(const volatile void *));
+
+ /* Drains allocator quarantines (calling thread's and global ones), returns
+ freed memory back to OS and releases other non-essential internal allocator
+ resources in attempt to reduce process RSS.
+ Currently available with ASan only.
+ */
+ void __sanitizer_purge_allocator(void);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif
diff -r d9d706ec4911 -r e7799ce91e0d sys/external/bsd/compiler_rt/dist/include/sanitizer/asan_interface.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/compiler_rt/dist/include/sanitizer/asan_interface.h Tue Jan 08 05:40:27 2019 +0000
@@ -0,0 +1,155 @@
+//===-- sanitizer/asan_interface.h ------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file is a part of AddressSanitizer.
+//
+// Public interface header.
+//===----------------------------------------------------------------------===//
+#ifndef SANITIZER_ASAN_INTERFACE_H
+#define SANITIZER_ASAN_INTERFACE_H
+
+#include <sanitizer/common_interface_defs.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ // Marks memory region [addr, addr+size) as unaddressable.
+ // This memory must be previously allocated by the user program. Accessing
+ // addresses in this region from instrumented code is forbidden until
+ // this region is unpoisoned. This function is not guaranteed to poison
+ // the whole region - it may poison only subregion of [addr, addr+size) due
+ // to ASan alignment restrictions.
+ // Method is NOT thread-safe in the sense that no two threads can
+ // (un)poison memory in the same memory region simultaneously.
+ void __asan_poison_memory_region(void const volatile *addr, size_t size);
+ // Marks memory region [addr, addr+size) as addressable.
+ // This memory must be previously allocated by the user program. Accessing
+ // addresses in this region is allowed until this region is poisoned again.
+ // This function may unpoison a superregion of [addr, addr+size) due to
+ // ASan alignment restrictions.
+ // Method is NOT thread-safe in the sense that no two threads can
+ // (un)poison memory in the same memory region simultaneously.
+ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
+
+// User code should use macros instead of functions.
+#if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
+#define ASAN_POISON_MEMORY_REGION(addr, size) \
+ __asan_poison_memory_region((addr), (size))
+#define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
+ __asan_unpoison_memory_region((addr), (size))
+#else
+#define ASAN_POISON_MEMORY_REGION(addr, size) \
+ ((void)(addr), (void)(size))
+#define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
+ ((void)(addr), (void)(size))
+#endif
+
+ // Returns 1 if addr is poisoned (i.e. 1-byte read/write access to this
+ // address will result in error report from AddressSanitizer).
+ // Otherwise returns 0.
+ int __asan_address_is_poisoned(void const volatile *addr);
+
+ // If at least one byte in [beg, beg+size) is poisoned, return the address
+ // of the first such byte. Otherwise return 0.
+ void *__asan_region_is_poisoned(void *beg, size_t size);
+
+ // Print the description of addr (useful when debugging in gdb).
+ void __asan_describe_address(void *addr);
+
+ // Useful for calling from a debugger to get information about an ASan error.
+ // Returns 1 if an error has been (or is being) reported, otherwise returns 0.
+ int __asan_report_present(void);
+
+ // Useful for calling from a debugger to get information about an ASan error.
+ // If an error has been (or is being) reported, the following functions return
+ // the pc, bp, sp, address, access type (0 = read, 1 = write), access size and
+ // bug description (e.g. "heap-use-after-free"). Otherwise they return 0.
+ void *__asan_get_report_pc(void);
+ void *__asan_get_report_bp(void);
+ void *__asan_get_report_sp(void);
+ void *__asan_get_report_address(void);
+ int __asan_get_report_access_type(void);
+ size_t __asan_get_report_access_size(void);
+ const char *__asan_get_report_description(void);
+
+ // Useful for calling from the debugger to get information about a pointer.
+ // Returns the category of the given pointer as a constant string.
+ // Possible return values are "global", "stack", "stack-fake", "heap",
+ // "heap-invalid", "shadow-low", "shadow-gap", "shadow-high", "unknown".
+ // If global or stack, tries to also return the variable name, address and
+ // size. If heap, tries to return the chunk address and size. 'name' should
+ // point to an allocated buffer of size 'name_size'.
+ const char *__asan_locate_address(void *addr, char *name, size_t name_size,
+ void **region_address, size_t *region_size);
+
+ // Useful for calling from the debugger to get the allocation stack trace
+ // and thread ID for a heap address. Stores up to 'size' frames into 'trace',
+ // returns the number of stored frames or 0 on error.
+ size_t __asan_get_alloc_stack(void *addr, void **trace, size_t size,
+ int *thread_id);
+
+ // Useful for calling from the debugger to get the free stack trace
+ // and thread ID for a heap address. Stores up to 'size' frames into 'trace',
+ // returns the number of stored frames or 0 on error.
+ size_t __asan_get_free_stack(void *addr, void **trace, size_t size,
+ int *thread_id);
+
+ // Useful for calling from the debugger to get the current shadow memory
+ // mapping.
+ void __asan_get_shadow_mapping(size_t *shadow_scale, size_t *shadow_offset);
+
+ // This is an internal function that is called to report an error.
+ // However it is still a part of the interface because users may want to
+ // set a breakpoint on this function in a debugger.
+ void __asan_report_error(void *pc, void *bp, void *sp,
+ void *addr, int is_write, size_t access_size);
+
+ // Deprecated. Call __sanitizer_set_death_callback instead.
+ void __asan_set_death_callback(void (*callback)(void));
+
+ void __asan_set_error_report_callback(void (*callback)(const char*));
+
+ // User may provide function that would be called right when ASan detects
+ // an error. This can be used to notice cases when ASan detects an error, but
+ // the program crashes before ASan report is printed.
+ void __asan_on_error(void);
+
+ // Prints accumulated stats to stderr. Used for debugging.
+ void __asan_print_accumulated_stats(void);
+
+ // This function may be optionally provided by user and should return
+ // a string containing ASan runtime options. See asan_flags.h for details.
+ const char* __asan_default_options(void);
+
+ // The following 2 functions facilitate garbage collection in presence of
+ // asan's fake stack.
+
+ // Returns an opaque handler to be used later in __asan_addr_is_in_fake_stack.
+ // Returns NULL if the current thread does not have a fake stack.
+ void *__asan_get_current_fake_stack(void);
+
+ // If fake_stack is non-NULL and addr belongs to a fake frame in
+ // fake_stack, returns the address on real stack that corresponds to
+ // the fake frame and sets beg/end to the boundaries of this fake frame.
+ // Otherwise returns NULL and does not touch beg/end.
+ // If beg/end are NULL, they are not touched.
+ // This function may be called from a thread other than the owner of
+ // fake_stack, but the owner thread need to be alive.
+ void *__asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg,
+ void **end);
+
+ // Performs cleanup before a [[noreturn]] function. Must be called
+ // before things like _exit and execl to avoid false positives on stack.
+ void __asan_handle_no_return(void);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+#endif // SANITIZER_ASAN_INTERFACE_H
diff -r d9d706ec4911 -r e7799ce91e0d sys/external/bsd/compiler_rt/dist/include/sanitizer/common_interface_defs.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/compiler_rt/dist/include/sanitizer/common_interface_defs.h Tue Jan 08 05:40:27 2019 +0000
@@ -0,0 +1,209 @@
+//===-- sanitizer/common_interface_defs.h -----------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// Common part of the public sanitizer interface.
+//===----------------------------------------------------------------------===//
+
+#ifndef SANITIZER_COMMON_INTERFACE_DEFS_H
+#define SANITIZER_COMMON_INTERFACE_DEFS_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+// GCC does not understand __has_feature.
+#if !defined(__has_feature)
+# define __has_feature(x) 0
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ // Arguments for __sanitizer_sandbox_on_notify() below.
+ typedef struct {
+ // Enable sandbox support in sanitizer coverage.
+ int coverage_sandboxed;
+ // File descriptor to write coverage data to. If -1 is passed, a file will
+ // be pre-opened by __sanitizer_sandobx_on_notify(). This field has no
+ // effect if coverage_sandboxed == 0.
+ intptr_t coverage_fd;
+ // If non-zero, split the coverage data into well-formed blocks. This is
+ // useful when coverage_fd is a socket descriptor. Each block will contain
+ // a header, allowing data from multiple processes to be sent over the same
+ // socket.
+ unsigned int coverage_max_block_size;
+ } __sanitizer_sandbox_arguments;
+
+ // Tell the tools to write their reports to "path.<pid>" instead of stderr.
+ void __sanitizer_set_report_path(const char *path);
+ // Tell the tools to write their reports to the provided file descriptor
Home |
Main Index |
Thread Index |
Old Index