This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/stable in repository compiler-rt.
from f8f9fdb85 Creating branches/google/stable and tags/google/stable/2018-1 [...] adds 6e5ff07c5 Switch sanitizer_procmaps_bsd to internal_sysctl adds e0f342021 [NFC] Fix `-Wcast-qual` warnings in Darwin `internal_sysctl(. [...] adds 1e7b944ea [Cfi] Compiling cfi library on FreeBSD and NetBSD adds f3e4c7dde Unbreak linux cfi build adds 5cdae84e6 Switch syscall(2)/__syscall(2) calls to libc calls on NetBSD adds 8e7ed600f Remove a path-length limitation for the xray logfile. adds 876208160 [sanitizer] Small buffer tests for __sanitizer_symbolize_pc adds 02170f776 [sanitizer] Include inlined frames into __sanitizer_symbolize [...] adds 5da4968cd [sanitizer] Use -Wl,-z,global on Android for sanitizers except UBsan adds 3a3c8c7f9 Revert "[sanitizer] Include inlined frames into __sanitizer_s [...] adds a34cdf8bb [Arm builtins] Remove non-necessary IS check adds 7817bca1c [sanitizer] Include inlined frames into __sanitizer_symbolize [...] adds 5b5532dba Reland r342652 "[winasan] Unpoison the stack in NtTerminateThread" adds ad7e1e9f3 [lib/fuzzer] Fix logging for Fuchsia adds cbf933f38 [hwasan] Fix top PC in error stack trace being off by 1 instruction. adds e0041f65d Mark two tests, which require too much available VM, as "UNSU [...] adds afe555d72 [Esan] Port cache frag to FreeBSD adds 1db2e53c3 Esan for FreeBSD, forgotten file. adds 23967f96b Introduce internal_sysctlbyname in place of sysctlbyname adds c6c6707d5 Unwind local macro DEFINE_INTERNAL() adds f5fabf0ce Revert r343606/r342652 "[winasan] Unpoison the stack in NtTer [...] adds 6e2362f17 [Sanitizer] fix internal_sysctlbyname build for FreeBSD. adds 90dab54bb Fix Posix/devname_r for NetBSD adds 3d23504d1 Disable TestCases/pthread_mutexattr_get on NetBSD adds 8276e91f6 Don't harcode -ldl test/sanitizer_common/TestCases adds 8396f098c Remove remnant code of using indirect syscall on NetBSD adds 27648c50a Use PTHREAD_STACK_MIN conditionally in a test adds 9b1176fd6 Reflect the current reality and disable lsan tests on NetBSD adds b46b098b1 Mark MSan fork test as UNSUPPORTED on NetBSD adds 8e4e9ef9b Mark 4 MSan tests as XFAIL for NetBSD adds 47a75d91c Skip unsupported MSan tests on NetBSD adds d073e73ad Disable failing tests lib/asan/tests on NetBSD adds 11ebc682d Mark intercept-rethrow-exception.cc as XFAIL on NetBSD adds 69ee6a32f [compiler-rt] Remove unused formal parameters from allocateOn [...] adds 6d7519984 [libFuzzer] Generalize the code for getting the previous offs [...] adds 56c8108f9 [libFuzzer] Disable value profiling tests on ARM adds fd6579e35 [sanitizers] [windows] Use a linker directive pragma for psapi adds fcc2b309e [hwasan] print more tags around the buggy address, and do it [...] adds ba18fe4cb [hwasan] print all threads in a bug report adds 86f0a0a78 [hwasan] when reporting a bug, print some very basic informat [...] adds e06e91881 [hwasan] simplify a test adds f6fb4b25a [hwasan] more compact printing for 'Previosly allocated frames' adds 3bbf79549 [hwasan] extend the stack-uar test adds 2adb5dbcc [profile] Fix the gcov tests after the patch in D49853 landed. adds 920444af7 [compiler-rt][ubsan] Split Implicit Integer Truncation Saniti [...] adds 7a7fc68db [hwasan] relax a test adds b800d304c Fix bug where `config.asan_dynamic` in generated ASan `lit.si [...] adds 6804ce467 [TSan] Cleanup TSan runtime support for Go on linux-aarch64. NFC. adds 98d2aa84a [libFuzzer] Add test for SanitizerCoverage working on Mac eve [...] adds 658844dd7 [SanitizerCoverage] Prevent /OPT:REF from stripping constructors adds ccc8f73d7 [sanitizer] Avoid extra newlines in syslog. adds b50996180 [lit] Support the `%shared_libasan` lit substitution on Apple [...] adds 4fc301d84 [libfuzzer][Windows] Silence linker warning in unittest adds 1da51b50a [XRay][compiler-rt] FDR Mode Controller adds 00991f1b3 [XRay] Encapsulate all FD log related logic into a class adds 0492c25c2 [XRay] Use fully qualified name for LogWriter adds 891cf3d53 [XRay][compiler-rt] Generational Buffer Management adds dd5ba397b [compiler-rt] Don't explicitly set CMAKE_CXX_FLAGS. adds b44952fba Revert commit r344670 as the test fails on a bot http://lab.l [...] adds 091aff2e6 [X86][compiler-rt] Add additional CPUs and features to the cp [...] adds 6b047bb49 [Sanitizer] openbsd does not have sysctlbyname call adds cbb88a119 [XRay] Handle allocator exhaustion in segmented array adds 4d892e2c7 [XRay][compiler-rt] Generational Buffer Management adds e70d5895b [XRay] Account for virtual memory re-use adds 884af7cc1 [interception] Switch to _type suffix instead of _f, NFC. adds b59176d83 [hwasan] add stack frame descriptions. adds 195d80eda [hwasan] when printing a stack-related bugs, also print stack [...] adds d48e4d782 [sanitizer] Avoid calling a nullptr in MonotonicNanoTime if i [...] adds a2ede79f1 [sanitizer] Fix mallopt interceptor. adds 0c30c311c [sanitizer] Fix mallopt test on Android. adds 2a49ea0ee [sanitizer] Improve macOS version detection adds 6a571da43 [XRay] Support generational buffers in FDR controller adds 84c660d52 [XRay] Refcount backing store for buffers adds 53a8f3b50 [XRay] Use more portable control block adds bd7bcb8a7 [XRay] Guard call to postCurrentThreadFCT() adds 0ace279ab Mark test/tsan/ignore_lib5 as unsupported for NetBSD adds ae1afe7a8 Disable the GNU strerror_r TSan test for NetBSD adds 5bfcc0fea Mark test/tsan/getline_nohang as XFAIL for NetBSD adds 535d794e3 [CMake] When built with LLVM, not use `-Wl,-z,defs` adds d92c8cdee [builtins] Fix -Wunused-local-typedef warning in compile time [...] adds 7d88a2eae [compiler-rt][builtins] Don't #include CoreFoundation in os_v [...] adds bb157b12e [sanitizer] Move interceptor initialization check into real_c [...] adds c4555d45e [ubsan-minimal] update comments in CMakeLists.txt adds 9cb0563cf [XRay] Migrate FDR runtime to use refactored controller adds 0ff0f7451 Handle NetBSD symbol mangling for nanosleep and vfork adds 4d4be4693 Handle NetBSD symbol mangling for tzset adds 390bcd25c Drop now hidden ioctl(2) operations for NetBSD adds 07269f84d Handle pthread_sigmask in DemangleFunctionName() adds a8e560555 Update generate_netbsd_syscalls.awk for NetBSD 8.99.25 adds 6ba5ebbc4 Regenerate syscall hooks for NetBSD 8.99.25 adds 78f2c52a7 Cleanup includes in sanitizer_platform_limits_netbsd.cc adds c560776d6 Mark breaking TSan tests on NetBSD with XFAIL adds 1ee496e3c Adapt ASan test heavy_uar_test for NetBSD adds 1c4210ad2 Disable ASan test asan_and_llvm_coverage_test for NetBSD adds 11eafdd46 Mark interception_failure_test with XFAIL for NetBSD adds 7ce5daddb Cast the return value of _Unwind_GetIP() to uptr adds d3530c67c [GCOV] Add a test for function defined on one line (follow-up [...] adds 376be7945 Handle NetBSD alias for pthread_sigmask adds 98b45bc39 [CMake] Check -ffreestanding as C not C++ flag adds 091cd599a [builtins] Re-enable x86-only long double tests adds e22814964 Mark breaking sanitizer_common tests on NetBSD adds 33b373565 Mark vptr-non-unique-typeinfo as a broken test for NetBSD/i386 adds 1d9010b78 Switch getline_nohang from XFAIL to UNSUPPORTED for NetBSD adds c7b411461 [GCOV] Make test path generic so it passes on all machines adds c586cb4a6 [compiler-rt][ubsan] Implicit Conversion Sanitizer - integer [...] adds 1561dc72b [NFC][compiler-rt] Cleanup Implicit Conversion Sanitizer test [...] adds a20f266bc Mark breaking asan tests on NetBSD adds 57078c97b Disable BufferOverflowAfterManyFrees for NetBSD adds eee7964f7 [asan] Remove flags for clang-cl before it supported EH adds 70f56527d [asan] Remove stale -fno-exceptions flag in sanitizer_common as well adds 7da392b8e Diable test suppressions-library for NetBSD/i386 adds c4983d7e2 Update generate_netbsd_ioctls.awk for NetBSD 8.99.25 adds 6469bfbc3 Update ioctl(2) operations for NetBSD 8.99.25 adds e2d331d3f [compiler-rt][Fuzzer] Use the new C++ ABI namespace CMake support adds fea925bcc [compiler-rt] Pass CMake C and C++ flags to the custom libc++ adds 8a584bb7f Compile and test i128 math builtins for Win64 adds 9ea3ca92f [XRay] Add CPU ID in Custom Event FDR Records adds ec0f05d38 [XRay] Fix TSC and atomic custom/typed event accounting adds 3e2f14cc7 [XRay] Update delta computations in runtime adds 862cab3fc [NFC] Refactor initialisation of Darwin malloc zone fields in [...] adds b6814c0c9 [PowerPC]Disable randomized address space on Linux ppc64le adds c96b3ec32 Split getpwent and fgetgrent functions in interceptors adds 729a75210 Try to unbreak the build of sanitizers on !NetBSD adds b4e7903ef Workaround using new Clang with an old NDK. adds e19914db4 [compiler-rt][Fuzzer] Fix the fuzzer test build adds f2a8d8d02 [compiler-rt] Support for passing through linker flags to lib [...] adds 3cbd30261 Disable recursive interception for tzset in MSan adds 2279b0f51 [XRay] Update TSC math to handle wraparound adds a567989eb [hwasan] Fix stack-uar.c after rCRT345110 adds c0e52c215 Fix build on sparc64-linux-gnu. adds 90260b5c8 [UBsan] disable few tests for FreeBSD adds 20da481a8 [Sanitizers] Solaris largefile fixes adds 806654dc1 [Sanitizers] Disable SANITIZER_CAN_FAST_UNWIND on all SPARC targets adds a300e2232 [libFuzzer] Disable value-profile-cmp.test and fuzzer-oom.tes [...] adds 6a7b9173f Follow Windows' approach for NetBSD in AlarmCallback() adds 3f39f6edf Disable XRay test fork_basic_logging for NetBSD adds 01a13c569 [XRay] Update XRayRecord to support Custom/Typed Events adds 4e15ada76 [sanitizer] Use AT_EXECFN in ReExec() if available adds e81e124b0 Prioritize the constructor call of __local_xray_dyninit() adds 879bc1ea5 Adapt UBSan integer truncation tests to NetBSD adds 6cd9bdd19 [sanitizer] Add char **GetEnviron() on all other platforms adds 42f10cefa [sanitizer] Fix nolibc unittests broken by r346215 adds 11e37ddfe [sanitizer] Use "fast mmap" kernel flag for shadow memory on [...] adds 68fe2d8a3 [dfsan] Fix build after r346262 adds 23b063668 [sanitizer] Return headed to fix build after r346258 adds deac13909 [Darwin] Export new weak external symbols when compiling with [...] adds dee33d807 [fuzzer] Read files as binary adds c79357e6f [sanitizer] Only set soft coredump limit. adds ad472ad24 [XRay] Use TSC delta encoding for custom/typed events adds 0b881f23c [GCOV] Close file mapping handle on Windows, so flushed gcda [...] adds 7175c7435 [Profile] Fix fork test and add tests for execlp and execvp a [...] adds ea911cc5d [Profile] Mark gcov-fork test as failing for arm adds 8008fa5ba [CMake][ASan][HWASan] Set an explicit dependency on libc++ headers adds 348c20eb1 Split remquol() from INIT_REMQUO adds 13a8c0b82 Split lgammal() from INIT_LGAMMAL adds 2ac048ba8 [Profile] The test for gcov-fork seems to be ok on arm adds 99ee5b4d4 Introduce `sanitizer_malloc_introspect_t` for Darwin which is [...] adds 44da3a875 [hwasan] Remove dead code. adds 7d611a2d5 [XRay] Improve FDR trace handling and error messaging adds b39fd99f9 [XRay] Add atomic fences around non-atomic reads and writes adds f8791f1f3 [XRay] Fix enter function tracing for record unwriting adds 6a33e3728 [XRay] Add a static assertion on size of metadata payload (NFC) adds 3aa2b775d [XRay] Add a test for function id encoding/decoding (NFC) adds f0debca27 [hwasan] Add entire report to abort message on Android. adds 1b7992cf5 Re-land r343606 "[winasan] Unpoison the stack in NtTerminateThread" adds d26d3284a Correct atexit(3) support in MSan/NetBSD adds 139b624d0 [lsan] [NFC] Change ARRAY_SIZE to internal_strnlen adds ffed92ebe [lsan] [FIXUP] Fixup for http://reviews.llvm.org/D54484 adds 0a3b159a0 [CMake] Passthrough CFLAGS when checking the compiler-rt path adds b3dc41420 Start adding the supporting code to perform out-of-process al [...] adds 632c1cf04 [compiler-rt] Use exact spelling when building for default target adds c7e3adab3 [hwasan] optionally right-align heap allocations adds 5b95a3471 Add new interceptor for getmntinfo(3) from NetBSD adds 85970a956 Add new interceptor for mi_vector_hash(3) adds 77d7802c9 [hwasan] disable one test line while investigating a bot failure adds c53747e1d [sanitizer] Update global_symbols.txt adds 4d9fb22c1 Cast _Unwind_GetIP() and _Unwind_GetRegionStart() to uintptr_t adds d0160867f Cast the 2nd argument of _Unwind_SetIP() to _Unwind_Ptr adds 0a11cc046 Revert "Cast the 2nd argument of _Unwind_SetIP() to _Unwind_Ptr" adds 0cd2d2b82 [hwasan] use reads instead of writes in a test adds 9cf4f71ab [hwasan] implement free_checks_tail_magic=1 adds 396bde3f5 [hwasan] make the heap-buffer-overflow.c test more robust and [...] adds e00aa668e [hwasan] don't check tail magic when in right_align mode (sho [...] adds 8f842df34 Add interceptor for the setvbuf(3) from NetBSD adds 38ebddad5 [compiler-rt] Use zx_futex_wait_deprecated for Fuchsia saniti [...] adds 7ef733dc1 [XRay] Move buffer extents back to the heap adds 57c94323f [XRay] Add a test for allocator exhaustion adds 67ac3cdb7 [tsan] Add __cxa_guard_acquire hooks to support cooperative s [...] adds 64b4dbf9c [cmake] Fix detecting terminfo library adds 8205a46f7 [Sanitizer] intercept setvbuf on other platforms where it is [...] adds 85c370db5 [Sanitizer] Unbreak non NetBSD builds. adds 210461074 Revert "[Sanitizer] intercept setvbuf on other platforms wher [...] adds 07725f5b2 [XRay] Add a test for re-initialising FDR mode (NFC) adds ffc98df94 Add header <atomic> which is needed to compile with some olde [...] adds 1a48cabb3 tsan: add pthread_tryjoin_np and pthread_timedjoin_np interceptors adds 2451cfd61 [compiler-rt][UBSan] silence_unsigned_overflow: do *NOT* igno [...] adds 29106019a [Sanitizer] Adding setvbuf in supported platforms and other s [...] adds bda33eb79 tsan: Correct the name of an executable. adds c0061a2c6 tsan: Update measurements in check_analyze.sh. adds e1ce357dc [XRay] Support for Fuchsia adds 638498c91 Unbreak FreeBSD build. M lib/sanitizer_common/sanitizer_pl [...] adds ee1ac8c58 [X86][compiler-rt] Attempt to fix a warning about a shift amo [...] adds 13d533019 [X86] Make conversion of feature bits into a mask explicitly [...] adds 09f92a1af [X86][compiler-rt] Add missing semicolon adds 7fedff547 Fix filtering of sanitizer_common unittest architectures on Darwin. adds 8b2ba6185 [CMake] Add a missing case of TO_CMAKE_PATH adds d831994e0 [gcov] Disable instrprof-gcov-fork.test. adds 313ce8d16 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/tru [...] adds e2323d8fb Revert r346560 "[winasan] Unpoison the stack in NtTerminateThread" adds d17fd916d Add a new interceptor for getvfsstat(2) from NetBSD adds c593dcbd6 [compiler-rt] Use "ColumnLimit: 0" instead of "clang-format o [...] adds 84a39fa8a Introduce a way to allow the ASan dylib on Darwin platforms t [...] adds 1ff037867 [SanitizerCommon] Remove RenameFile adds 3712afc01 [gcov/Darwin] Ensure external symbols are exported when using [...] adds 48fc69a62 Remove unused empty arm64 directory adds c8fae517a Add new interceptor for regex(3) in NetBSD adds 67639f9cc Add interceptors for the fts(3) API family from NetBSD adds dd939986a Add interceptors for the sysctl(3) API family from NetBSD adds e8dd644be Improve the regerror(3) interceptor adds e3dec4e42 [compiler-rt] Use the new zx_futex_wait for Fuchsia sanitizer [...] adds ac40fa842 [SanitizerCommon] Test `CombinedAllocator::ForEachChunk()` in [...] adds 661444d54 [Sanitizer] intercept part of sysctl Api adds 416855ac0 Unbreak build due to style. adds 5fc9c911c Fix sanitizer unit test adds 803ba10e8 [asan] Remove use_odr_indicator runtime flag adds f5bdd93f9 [asan] Split -asan-use-private-alias to -asan-use-odr-indicator adds 7077d7edd [asan] Add clang flag -fsanitize-address-use-odr-indicator adds 2eb9a4c53 Update GET_LINK_MAP_BY_DLOPEN_HANDLE() for NetBSD x86 adds 8147614cf [XRay] Move-only Allocator, FunctionCallTrie, and Array adds 1fbd43a42 [XRay] Use deallocateBuffer instead of deallocate adds f8a5a3fed [XRay] Use uptr instead of uintptr_t adds 5f5894b20 Revert r348335 "[XRay] Move-only Allocator, FunctionCallTrie, [...] adds 39c2acc81 Add a new interceptor for nl_langinfo(3) from NetBSD adds b3a7f1d78 Add a new interceptor for modctl(2) from NetBSD adds 7b51c59b0 [Sanitizer] expand nl_langinfo interception to FreeBSD adds 088f1d17f [Sanitizer] nl_langinfo forgotten bit. adds 19b47fcc0 Remove XFAIL in get_module_and_offset_for_pc.cc for NetBSD-MSan adds 52307e0ba Re-land r348335 "[XRay] Move-only Allocator, FunctionCallTrie [...] adds 9d570bc23 [XRay] Use default-constructed struct as argument to Append(...) adds 3c267991e [XRay] Use a local lvalue as arg to AppendEmplace(...) adds 099ae47a4 Revert "[XRay] Move-only Allocator, FunctionCallTrie, and Array" adds 0522a163a Add new `__sanitizer_mz_default_zone()` API which returns the [...] adds 165de65ae [Sanitizer] getmntinfo support in FreeBSD adds f5ef60380 [test] Add missing cmake include for building libFuzzer alone adds eb2c17a69 Re-land "[XRay] Move-only Allocator, FunctionCallTrie, and Array" adds fc9968f4d [XRay] Use preallocated memory for XRay profiling adds d42fc1bc0 [Sanitizer] Separate FreeBSD interception data structures adds c9e576075 Missing freebsd files. adds 11ecbe602 Add new interceptor for strtonum(3) adds f0835eb01 Add a new interceptor for fparseln(3) from NetBSD adds 195044df9 Add a new interceptors for statvfs1(2) and fstatvfs1(2) from NetBSD adds 3234149b8 Fix IOError exception being raised in `asan_symbolize.py`cras [...] adds 6b9f7889b Add interceptors for the strtoi(3)/strtou(3) from NetBSD adds bfa667920 [Sanitizer] capsicum api subset interception adds c874ebd1a Conflict fixes from previous commits. adds cbda74479 Fix style. adds 13182229a [sanitizer] Suppress lint warning conflicting with clang-format adds 1a2736caa [sanitizer] Add lit.local.cfg for FreeBSD adds 27af3db52 Add interceptors for the sha1(3) from NetBSD adds 8f77a2e89 Add interceptors for the md4(3) from NetBSD adds 086caf6a2 Add interceptors for the rmd160(3) from NetBSD adds 9a087462c Add interceptors for md5(3) from NetBSD adds 660f7441b Revert a chunk of previous change in sanitizer_platform_limit [...] adds 8627b4b30 Fix a typo in the strtoi test adds 672c835c9 Fix conflict types for this FreeBSD test. adds 42ac31ee6 Add new interceptors for FILE repositioning stream adds 9e2ff43a6 Add interceptors for md2(3) from NetBSD adds 0ddb9d099 Add interceptors for the sha2(3) from NetBSD adds a3e78a793 Add data types needed for md2(3)/NetBSD interceptors adds 723059836 [Sanitizer] expand sysctl/getmntinfo/nl_langinfo to Darwin adds e527a51bc [builtins] Remove trailing whitespaces, NFC adds 30392c7c4 Fix bug where we'd try symbolize a second time with the same [...] adds 39adb65b1 [Sanitizer] Expand FSEEK interception to FreeBSD adds 75035564e [hwasan] Verify Android TLS slot at startup. adds a37a922f0 Switch Android from TLS_SLOT_TSAN(8) to TLS_SLOT_SANITIZER(6) adds 9ad6a327f [hwasan] Link ubsan_cxx to shared runtime library. adds ac763b2ef [asan] Don't check ODR violations for particular types of globals adds 71553eb50 Add new interceptors for vis(3) API in NetBSD adds 429bc2d51 Add a new interceptors for cdbr(3) and cdbw(3) API from NetBSD adds 78f1743f3 [Sanitizer] capsicum further support of the API adds 81d7839b9 Implement a small subset of the C++ `type_traits` header insi [...] adds cd0ed89fd Revert "Switch Android from TLS_SLOT_TSAN(8) to TLS_SLOT_SANI [...] adds 8183d2dfd Windows ASan: Instrument _msize_base() adds 725531610 [sanitizer] Fix nolibc internal_sleep adds e9af12174 Introduce `AddressSpaceView` template parameter to `SizeClass [...] adds ececda6ca Set shared_libasan_path in lit tests for NetBSD adds cd24f2f94 Mark interception_failure_test.cc as passing for NetBSD and a [...] new 6fc0ad0a5 Creating branches/google/stable and tags/google/stable/2018-1 [...]
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: CMakeLists.txt | 9 +- cmake/Modules/AddCompilerRT.cmake | 30 +- cmake/Modules/CompilerRTUtils.cmake | 5 +- cmake/Modules/HandleCompilerRT.cmake | 4 + cmake/base-config-ix.cmake | 2 - cmake/config-ix.cmake | 14 +- include/sanitizer/common_interface_defs.h | 6 + include/sanitizer/netbsd_syscall_hooks.h | 46 +- lib/asan/CMakeLists.txt | 37 +- lib/asan/asan_allocator.h | 15 +- lib/asan/asan_flags.inc | 2 - lib/asan/asan_fuchsia.cc | 7 + lib/asan/asan_globals.cc | 17 +- lib/asan/asan_internal.h | 5 + lib/asan/asan_linux.cc | 7 + lib/asan/asan_malloc_linux.cc | 2 +- lib/asan/asan_malloc_mac.cc | 21 + lib/asan/asan_malloc_win.cc | 6 + lib/asan/asan_rtems.cc | 6 + lib/asan/asan_rtl.cc | 10 + lib/asan/asan_win.cc | 7 + lib/asan/asan_win_dll_thunk.cc | 1 + lib/asan/scripts/asan_symbolize.py | 6 +- lib/asan/tests/CMakeLists.txt | 5 - lib/asan/tests/asan_interface_test.cc | 2 + lib/asan/tests/asan_noinst_test.cc | 2 + lib/asan/tests/asan_test.cc | 2 + lib/builtins/arm/aeabi_cdcmp.S | 6 +- lib/builtins/arm/aeabi_cfcmp.S | 6 +- lib/builtins/cpu_model.c | 113 +- lib/builtins/divdf3.c | 46 +- lib/builtins/divsf3.c | 40 +- lib/builtins/gcc_personality_v0.c | 5 +- lib/builtins/int_lib.h | 2 +- lib/builtins/int_types.h | 23 +- lib/builtins/os_version_check.c | 41 +- lib/cfi/CMakeLists.txt | 2 +- lib/cfi/cfi.cc | 40 +- lib/dfsan/dfsan.cc | 2 +- lib/esan/CMakeLists.txt | 1 + lib/esan/esan_interceptors.cpp | 10 +- lib/esan/esan_shadow.h | 2 +- lib/esan/esan_sideline.h | 1 + lib/esan/esan_sideline_bsd.cpp | 35 + lib/fuzzer/CMakeLists.txt | 2 +- lib/fuzzer/FuzzerCommand.h | 4 +- lib/fuzzer/FuzzerIO.cpp | 4 +- lib/fuzzer/FuzzerLoop.cpp | 3 +- lib/fuzzer/FuzzerTracePC.cpp | 46 +- lib/fuzzer/FuzzerUtilFuchsia.cpp | 21 +- lib/fuzzer/afl/afl_driver.cpp | 2 +- lib/fuzzer/tests/CMakeLists.txt | 10 +- lib/hwasan/CMakeLists.txt | 25 +- lib/hwasan/hwasan.cc | 42 +- lib/hwasan/hwasan.h | 7 +- lib/hwasan/hwasan_allocator.cc | 120 +- lib/hwasan/hwasan_allocator.h | 8 +- lib/hwasan/hwasan_flags.inc | 31 + lib/hwasan/hwasan_interceptors.cc | 38 +- lib/hwasan/hwasan_interface_internal.h | 3 + lib/hwasan/hwasan_linux.cc | 32 +- lib/hwasan/hwasan_report.cc | 183 +- lib/hwasan/hwasan_report.h | 7 +- lib/interception/interception.h | 2 +- lib/interception/interception_linux.h | 2 +- lib/lsan/lsan_allocator.h | 12 +- lib/lsan/lsan_common_mac.cc | 4 +- lib/lsan/lsan_interceptors.cc | 2 +- lib/msan/msan_allocator.cc | 6 +- lib/msan/msan_interceptors.cc | 72 +- lib/msan/tests/msan_test.cc | 4 + lib/profile/GCDAProfiling.c | 49 + lib/profile/InstrProfilingValue.c | 5 +- lib/profile/WindowsMMap.c | 8 - lib/profile/WindowsMMap.h | 8 + lib/sanitizer_common/CMakeLists.txt | 3 + lib/sanitizer_common/sanitizer_allocator.h | 6 +- lib/sanitizer_common/sanitizer_allocator_bytemap.h | 11 +- .../sanitizer_allocator_internal.h | 3 +- .../sanitizer_allocator_primary32.h | 4 + .../sanitizer_allocator_secondary.h | 16 +- lib/sanitizer_common/sanitizer_common.h | 2 + .../sanitizer_common_interceptors.inc | 1808 +++++++++++++++++++- lib/sanitizer_common/sanitizer_common_libcdep.cc | 17 +- lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 3 +- lib/sanitizer_common/sanitizer_file.h | 3 - lib/sanitizer_common/sanitizer_fuchsia.cc | 7 +- .../sanitizer_interceptors_ioctl_netbsd.inc | 37 +- lib/sanitizer_common/sanitizer_internal_defs.h | 3 + lib/sanitizer_common/sanitizer_linux.cc | 204 ++- lib/sanitizer_common/sanitizer_linux.h | 3 + lib/sanitizer_common/sanitizer_linux_libcdep.cc | 35 + .../sanitizer_local_address_space_view.h | 53 + lib/sanitizer_common/sanitizer_mac.cc | 83 +- lib/sanitizer_common/sanitizer_mac.h | 1 + lib/sanitizer_common/sanitizer_malloc_mac.inc | 37 +- lib/sanitizer_common/sanitizer_netbsd.cc | 330 ++++ lib/sanitizer_common/sanitizer_openbsd.cc | 13 + lib/sanitizer_common/sanitizer_platform.h | 9 + .../sanitizer_platform_interceptors.h | 36 +- .../sanitizer_platform_limits_freebsd.cc | 513 ++++++ .../sanitizer_platform_limits_freebsd.h | 648 +++++++ .../sanitizer_platform_limits_netbsd.cc | 313 ++-- .../sanitizer_platform_limits_netbsd.h | 123 +- .../sanitizer_platform_limits_posix.cc | 73 +- .../sanitizer_platform_limits_posix.h | 132 +- .../sanitizer_platform_limits_solaris.h | 3 +- lib/sanitizer_common/sanitizer_posix.cc | 5 - lib/sanitizer_common/sanitizer_posix.h | 3 + lib/sanitizer_common/sanitizer_posix_libcdep.cc | 8 +- lib/sanitizer_common/sanitizer_procmaps_bsd.cc | 8 +- lib/sanitizer_common/sanitizer_procmaps_solaris.cc | 2 + lib/sanitizer_common/sanitizer_rtems.cc | 7 +- lib/sanitizer_common/sanitizer_solaris.cc | 45 +- lib/sanitizer_common/sanitizer_stacktrace.h | 2 +- .../sanitizer_stacktrace_libcdep.cc | 24 +- .../sanitizer_stacktrace_printer.cc | 2 + lib/sanitizer_common/sanitizer_stacktrace_sparc.cc | 5 +- .../sanitizer_symbolizer_fuchsia.h | 3 + lib/sanitizer_common/sanitizer_syscall_generic.inc | 39 +- .../sanitizer_syscall_linux_aarch64.inc | 3 - .../sanitizer_syscall_linux_arm.inc | 3 - .../sanitizer_syscall_linux_x86_64.inc | 3 - lib/sanitizer_common/sanitizer_syscalls_netbsd.inc | 38 +- lib/sanitizer_common/sanitizer_thread_registry.cc | 11 + lib/sanitizer_common/sanitizer_thread_registry.h | 1 + lib/sanitizer_common/sanitizer_type_traits.h | 44 + .../sanitizer_unwind_linux_libcdep.cc | 2 +- lib/sanitizer_common/sanitizer_win.cc | 17 +- .../symbolizer/scripts/global_symbols.txt | 3 + lib/sanitizer_common/tests/CMakeLists.txt | 8 +- .../tests/sanitizer_allocator_test.cc | 47 +- .../tests/sanitizer_type_traits_test.cc | 28 + lib/scudo/CMakeLists.txt | 8 + lib/scudo/scudo_allocator.h | 3 +- lib/scudo/scudo_malloc.cpp | 2 +- lib/tsan/check_analyze.sh | 6 +- lib/tsan/go/buildgo.sh | 1 + lib/tsan/rtl/tsan_interceptors.cc | 50 + lib/tsan/rtl/tsan_interceptors.h | 4 + lib/tsan/rtl/tsan_interceptors_mac.cc | 2 +- lib/tsan/rtl/tsan_platform.h | 38 +- lib/tsan/rtl/tsan_rtl.cc | 4 +- lib/tsan/rtl/tsan_rtl.h | 8 +- lib/tsan/rtl/tsan_rtl_thread.cc | 6 + lib/ubsan/ubsan_checks.inc | 14 +- lib/ubsan/ubsan_flags.inc | 4 +- lib/ubsan/ubsan_handlers.cc | 41 +- lib/ubsan/ubsan_handlers.h | 6 +- lib/ubsan_minimal/CMakeLists.txt | 8 +- lib/xray/CMakeLists.txt | 4 +- lib/xray/tests/CMakeLists.txt | 1 + lib/xray/tests/unit/CMakeLists.txt | 8 +- lib/xray/tests/unit/allocator_test.cc | 42 +- lib/xray/tests/unit/buffer_queue_test.cc | 129 +- lib/xray/tests/unit/fdr_controller_test.cc | 424 +++++ lib/xray/tests/unit/fdr_log_writer_test.cc | 122 +- lib/xray/tests/unit/function_call_trie_test.cc | 168 +- lib/xray/tests/unit/profile_collector_test.cc | 65 +- lib/xray/tests/unit/segmented_array_test.cc | 149 ++ lib/xray/tests/unit/test_helpers.cc | 95 + lib/xray/tests/unit/test_helpers.h | 78 + lib/xray/xray_allocator.h | 135 +- lib/xray/xray_basic_logging.cc | 68 +- lib/xray/xray_buffer_queue.cc | 236 ++- lib/xray/xray_buffer_queue.h | 67 +- lib/xray/xray_fdr_controller.h | 373 ++++ lib/xray/xray_fdr_log_writer.h | 117 +- lib/xray/xray_fdr_logging.cc | 929 +++------- lib/xray/xray_function_call_trie.h | 368 ++-- lib/xray/xray_init.cc | 6 +- lib/xray/xray_interface.cc | 41 +- lib/xray/xray_profile_collector.cc | 241 ++- lib/xray/xray_profile_collector.h | 26 +- lib/xray/xray_profiling.cc | 391 +++-- lib/xray/xray_profiling_flags.inc | 5 +- lib/xray/xray_segmented_array.h | 525 ++++-- lib/xray/xray_tsc.h | 23 + lib/xray/xray_utils.cc | 172 +- lib/xray/xray_utils.h | 47 +- lib/xray/xray_x86_64.cc | 19 +- test/.clang-format | 2 + test/asan/CMakeLists.txt | 2 +- test/asan/TestCases/Darwin/init_for_dlopen.cc | 46 + test/asan/TestCases/Darwin/odr-lto.cc | 4 +- test/asan/TestCases/Linux/local_alias.cc | 2 +- test/asan/TestCases/Linux/odr-violation.cc | 16 +- test/asan/TestCases/Linux/odr_indicators.cc | 26 + test/asan/TestCases/Linux/preinstalled_signal.cc | 2 - test/asan/TestCases/Posix/coverage-reset.cc | 2 + test/asan/TestCases/Posix/coverage.cc | 1 + test/asan/TestCases/Posix/dlclose-test.cc | 2 + .../Posix/interception-in-shared-lib-test.cc | 2 + .../asan/TestCases/Posix/stack-use-after-return.cc | 4 +- test/asan/TestCases/Posix/tsd_dtor_leak.cc | 1 + test/asan/TestCases/asan_and_llvm_coverage_test.cc | 3 + test/asan/TestCases/heavy_uar_test.cc | 4 +- test/asan/TestCases/intercept-rethrow-exception.cc | 4 + test/asan/TestCases/interception_failure_test.cc | 4 + test/asan/TestCases/suppressions-library.cc | 1 + test/asan/lit.cfg | 11 +- test/builtins/CMakeLists.txt | 10 + test/builtins/Unit/absvti2_test.c | 1 + test/builtins/Unit/addvti3_test.c | 1 + test/builtins/Unit/ashlti3_test.c | 1 + test/builtins/Unit/ashrti3_test.c | 1 + test/builtins/Unit/clzti2_test.c | 1 + test/builtins/Unit/cmpti2_test.c | 1 + test/builtins/Unit/ctzti2_test.c | 1 + test/builtins/Unit/divti3_test.c | 1 + test/builtins/Unit/ffsti2_test.c | 1 + test/builtins/Unit/fixdfti_test.c | 1 + test/builtins/Unit/fixsfti_test.c | 1 + test/builtins/Unit/fixunsdfti_test.c | 21 +- test/builtins/Unit/fixunssfti_test.c | 9 +- test/builtins/Unit/fixunsxfti_test.c | 4 +- test/builtins/Unit/fixxfdi_test.c | 2 +- test/builtins/Unit/fixxfti_test.c | 10 +- test/builtins/Unit/floattidf_test.c | 1 + test/builtins/Unit/floattisf_test.c | 1 + test/builtins/Unit/floattixf_test.c | 10 +- test/builtins/Unit/floatuntidf_test.c | 1 + test/builtins/Unit/floatuntisf_test.c | 10 +- test/builtins/Unit/floatuntixf_test.c | 10 +- test/builtins/Unit/lit.cfg | 8 +- test/builtins/Unit/lit.site.cfg.in | 3 +- test/builtins/Unit/lshrti3_test.c | 1 + test/builtins/Unit/modti3_test.c | 13 +- test/builtins/Unit/muloti4_test.c | 1 + test/builtins/Unit/multi3_test.c | 1 + test/builtins/Unit/mulvti3_test.c | 7 +- test/builtins/Unit/negti2_test.c | 1 + test/builtins/Unit/negvti2_test.c | 1 + test/builtins/Unit/parityti2_test.c | 1 + test/builtins/Unit/popcountti2_test.c | 1 + test/builtins/Unit/subvti3_test.c | 1 + test/builtins/Unit/ucmpti2_test.c | 1 + test/builtins/Unit/udivmodti4_test.c | 1 + test/builtins/Unit/udivti3_test.c | 1 + test/builtins/Unit/umodti3_test.c | 1 + test/cfi/cross-dso/lit.local.cfg | 2 +- test/esan/TestCases/large-stack-linux.c | 2 + test/esan/TestCases/workingset-early-fault.c | 2 + test/esan/TestCases/workingset-memset.cpp | 2 + test/esan/TestCases/workingset-midreport.cpp | 2 + test/esan/TestCases/workingset-samples.cpp | 2 + test/esan/TestCases/workingset-signal-posix.cpp | 2 + test/esan/TestCases/workingset-simple.cpp | 2 + test/esan/lit.cfg | 3 +- ...nTest.cpp => ImplicitIntegerSignChangeTest.cpp} | 10 +- ...citSignedIntegerTruncationOrSignChangeTest.cpp} | 10 +- ...cpp => ImplicitSignedIntegerTruncationTest.cpp} | 4 +- ...p => ImplicitUnsignedIntegerTruncationTest.cpp} | 8 +- test/fuzzer/ReadBinaryTest.cpp | 18 + test/fuzzer/counters.test | 3 +- test/fuzzer/coverage.test | 2 +- test/fuzzer/dead-stripping.test | 23 + test/fuzzer/dump_coverage.test | 2 +- .../fuzzer-implicit-integer-sign-change.test | 5 + .../fuzzer/fuzzer-implicit-integer-truncation.test | 5 - ...t-signed-integer-truncation-or-sign-change.test | 5 + .../fuzzer-implicit-signed-integer-truncation.test | 5 + ...uzzer-implicit-unsigned-integer-truncation.test | 5 + test/fuzzer/fuzzer-oom.test | 2 +- test/fuzzer/handle-unstable.test | 2 +- test/fuzzer/lit.cfg | 1 + test/fuzzer/read-binary.test | 7 + test/fuzzer/value-profile-cmp.test | 2 +- test/fuzzer/value-profile-cmp2.test | 1 + test/fuzzer/value-profile-cmp3.test | 1 + test/fuzzer/value-profile-div.test | 2 +- test/fuzzer/value-profile-mem.test | 1 + test/fuzzer/value-profile-set.test | 1 + test/fuzzer/value-profile-strcmp.test | 1 + test/fuzzer/value-profile-switch.test | 2 +- test/fuzzer/windows-opt-ref.test | 9 + test/hwasan/TestCases/abort-message-android.cc | 28 + test/hwasan/TestCases/cfi.cc | 18 + test/hwasan/TestCases/heap-buffer-overflow.c | 45 +- test/hwasan/TestCases/random-align-right.c | 35 + test/hwasan/TestCases/stack-history-length.c | 10 +- test/hwasan/TestCases/stack-uar.c | 36 +- test/hwasan/TestCases/tail-magic.c | 28 + test/hwasan/TestCases/thread-uaf.c | 2 + test/hwasan/TestCases/use-after-free.c | 9 +- test/lit.common.cfg | 3 +- test/msan/Linux/reexec_unlimited_stack.cc | 23 + test/msan/chained_origin_with_signals.cc | 3 + test/msan/dtls_test.c | 3 + test/msan/fork.cc | 3 + test/msan/ioctl_custom.cc | 3 + test/msan/signal_stress_test.cc | 3 + .../Inputs/instrprof-dlopen-dlclose-main.c.gcov | 2 +- ...instrprof-dlopen-dlclose-main_three-libs.c.gcov | 2 +- .../Inputs/instrprof-gcov-__gcov_flush-multiple.c | 16 + .../instrprof-gcov-__gcov_flush-multiple.c.gcov | 21 + .../Inputs/instrprof-gcov-exceptions.cpp.gcov | 4 +- test/profile/Inputs/instrprof-gcov-execlp.c | 15 + test/profile/Inputs/instrprof-gcov-execlp.c.gcov | 23 + test/profile/Inputs/instrprof-gcov-execvp.c | 17 + test/profile/Inputs/instrprof-gcov-execvp.c.gcov | 25 + test/profile/Inputs/instrprof-gcov-fork.c.gcov | 4 +- .../instrprof-gcov-multiple-bbs-single-line.c.gcov | 2 +- .../Inputs/instrprof-gcov-one-line-function.c | 11 + .../Inputs/instrprof-gcov-one-line-function.c.gcov | 16 + test/profile/Inputs/instrprof-gcov-switch1.c.gcov | 2 +- test/profile/Inputs/instrprof-gcov-switch2.c.gcov | 2 +- test/profile/Inputs/instrprof-shared-lib.c.gcov | 2 +- .../instrprof-shared-lib_called-twice.c.gcov | 2 +- .../Inputs/instrprof-shared-lib_in-loop.c.gcov | 2 +- ...rprof-shared-main-gcov-flush_no-writeout.c.gcov | 4 +- ...shared-main-gcov-flush_shared-call-after.c.gcov | 4 +- ...main-gcov-flush_shared-call-before-after.c.gcov | 4 +- ...hared-main-gcov-flush_shared-call-before.c.gcov | 4 +- test/profile/Inputs/instrprof-shared-main.c.gcov | 2 +- test/profile/Posix/instrprof-gcov-execlp.test | 10 + test/profile/Posix/instrprof-gcov-execvp.test | 10 + test/profile/Posix/instrprof-gcov-fork.test | 2 +- test/profile/instrprof-darwin-exports.c | 16 + .../instrprof-gcov-__gcov_flush-multiple.test | 10 + test/profile/instrprof-gcov-one-line-function.test | 9 + .../sanitizer_common/TestCases/FreeBSD/capsicum.cc | 62 + .../TestCases/FreeBSD/lit.local.cfg | 9 + .../TestCases/Linux/allow_user_segv.cc | 2 - test/sanitizer_common/TestCases/Linux/assert.cc | 2 - test/sanitizer_common/TestCases/Linux/ill.cc | 2 - test/sanitizer_common/TestCases/Linux/mallopt.cc | 10 + .../TestCases/Linux/signal_segv_handler.cc | 2 - test/sanitizer_common/TestCases/NetBSD/asysctl.cc | 44 + test/sanitizer_common/TestCases/NetBSD/cdb.cc | 134 ++ test/sanitizer_common/TestCases/NetBSD/fparseln.cc | 25 + test/sanitizer_common/TestCases/NetBSD/fts.cc | 40 + .../TestCases/NetBSD/getgroupmembership.cc | 2 + .../TestCases/NetBSD/getvfsstat.cc | 36 + test/sanitizer_common/TestCases/NetBSD/md2.cc | 114 ++ test/sanitizer_common/TestCases/NetBSD/md4.cc | 114 ++ test/sanitizer_common/TestCases/NetBSD/md5.cc | 114 ++ .../TestCases/NetBSD/mi_vector_hash.cc | 19 + test/sanitizer_common/TestCases/NetBSD/regex.cc | 101 ++ test/sanitizer_common/TestCases/NetBSD/rmd160.cc | 133 ++ test/sanitizer_common/TestCases/NetBSD/sha1.cc | 171 ++ test/sanitizer_common/TestCases/NetBSD/sha2.cc | 206 +++ test/sanitizer_common/TestCases/NetBSD/statvfs1.cc | 58 + test/sanitizer_common/TestCases/NetBSD/strtoi.cc | 43 + test/sanitizer_common/TestCases/NetBSD/strtonum.cc | 52 + .../TestCases/NetBSD/sysctlgetmibinfo.cc | 36 + test/sanitizer_common/TestCases/NetBSD/vis.cc | 245 +++ .../TestCases/Posix/dedup_token_length_test.cc | 2 + test/sanitizer_common/TestCases/Posix/devname_r.cc | 5 + .../TestCases/Posix/dump_instruction_bytes.cc | 2 - test/sanitizer_common/TestCases/Posix/fseek.cc | 53 + .../sanitizer_common/TestCases/Posix/getmntinfo.cc | 35 + .../TestCases/Posix/nl_langinfo.cc | 20 + test/sanitizer_common/TestCases/Posix/readlinkat.c | 2 + test/sanitizer_common/TestCases/Posix/setvbuf.cc | 81 + test/sanitizer_common/TestCases/Posix/sysctl.cc | 64 + test/sanitizer_common/TestCases/corelimit.cc | 2 +- .../TestCases/get_module_and_offset_for_pc.cc | 2 +- .../TestCases/pthread_mutexattr_get.cc | 3 + .../TestCases/sanitizer_coverage_symbolize.cc | 2 +- .../TestCases/sanitizer_coverage_trace_pc_guard.cc | 2 +- test/sanitizer_common/TestCases/symbolize_pc.cc | 23 +- .../TestCases/symbolize_pc_inline.cc | 32 + test/sanitizer_common/ios_commands/iossim_run.py | 2 +- test/sanitizer_common/lit.common.cfg | 6 + test/tsan/Linux/thread_timedjoin.c | 39 + test/tsan/Linux/thread_tryjoin.c | 41 + test/tsan/cxa_guard_acquire.cc | 25 + test/tsan/dtls.c | 1 + test/tsan/getline_nohang.cc | 3 + test/tsan/ignore_lib5.cc | 4 +- test/tsan/ignored-interceptors-mmap.cc | 2 +- test/tsan/large_malloc_meta.cc | 3 + test/tsan/mmap_large.cc | 3 + test/tsan/mutex_lock_destroyed.cc | 3 + test/tsan/strerror_r.cc | 8 +- .../integer-arithmetic-value-change.c | 345 ++++ .../ImplicitConversion/integer-conversion.c | 117 +- .../integer-sign-change-blacklist.c | 28 + ...summary.cpp => integer-sign-change-summary.cpp} | 6 +- .../ImplicitConversion/integer-sign-change.c | 297 ++++ .../integer-truncation-blacklist.c | 26 - .../ImplicitConversion/integer-truncation.c | 84 +- .../signed-integer-truncation-blacklist.c | 60 + ...d-integer-truncation-or-sign-change-blacklist.c | 58 + ...-integer-truncation-or-sign-change-summary.cpp} | 8 +- ...y.cpp => signed-integer-truncation-summary.cpp} | 6 +- ...er-conversion.c => signed-integer-truncation.c} | 110 +- .../unsigned-integer-truncation-blacklist.c | 60 + ...cpp => unsigned-integer-truncation-summary.cpp} | 4 +- ...-conversion.c => unsigned-integer-truncation.c} | 96 +- test/ubsan/TestCases/Integer/no-recover.cpp | 4 +- .../TypeCheck/vptr-non-unique-typeinfo.cpp | 1 + .../TestCases/TypeCheck/vptr-virtual-base.cpp | 2 + test/ubsan/TestCases/TypeCheck/vptr.cpp | 2 + .../TestCases/implicit-integer-sign-change.c | 17 + ...icit-signed-integer-truncation-or-sign-change.c | 17 + ...tion.c => implicit-signed-integer-truncation.c} | 6 +- ...on.c => implicit-unsigned-integer-truncation.c} | 2 +- test/xray/TestCases/Posix/basic-filtering.cc | 4 +- test/xray/TestCases/Posix/fdr-mode.cc | 32 +- test/xray/TestCases/Posix/fdr-reinit.cc | 73 + test/xray/TestCases/Posix/fdr-single-thread.cc | 4 +- test/xray/TestCases/Posix/fdr-thread-order.cc | 8 +- test/xray/TestCases/Posix/fork_basic_logging.cc | 21 +- utils/generate_netbsd_ioctls.awk | 154 +- utils/generate_netbsd_syscalls.awk | 12 +- 407 files changed, 13345 insertions(+), 3083 deletions(-) create mode 100644 lib/esan/esan_sideline_bsd.cpp create mode 100644 lib/sanitizer_common/sanitizer_local_address_space_view.h create mode 100644 lib/sanitizer_common/sanitizer_netbsd.cc create mode 100644 lib/sanitizer_common/sanitizer_platform_limits_freebsd.cc create mode 100644 lib/sanitizer_common/sanitizer_platform_limits_freebsd.h create mode 100644 lib/sanitizer_common/sanitizer_type_traits.h create mode 100644 lib/sanitizer_common/tests/sanitizer_type_traits_test.cc create mode 100644 lib/xray/tests/unit/fdr_controller_test.cc create mode 100644 lib/xray/tests/unit/test_helpers.cc create mode 100644 lib/xray/tests/unit/test_helpers.h create mode 100644 lib/xray/xray_fdr_controller.h create mode 100644 test/.clang-format create mode 100644 test/asan/TestCases/Darwin/init_for_dlopen.cc create mode 100644 test/asan/TestCases/Linux/odr_indicators.cc copy test/fuzzer/{ImplicitIntegerTruncationTest.cpp => ImplicitIntegerSignChangeTe [...] copy test/fuzzer/{ImplicitIntegerTruncationTest.cpp => ImplicitSignedIntegerTrunca [...] copy test/fuzzer/{ImplicitIntegerTruncationTest.cpp => ImplicitSignedIntegerTrunca [...] rename test/fuzzer/{ImplicitIntegerTruncationTest.cpp => ImplicitUnsignedIntegerTr [...] create mode 100644 test/fuzzer/ReadBinaryTest.cpp create mode 100644 test/fuzzer/dead-stripping.test create mode 100644 test/fuzzer/fuzzer-implicit-integer-sign-change.test delete mode 100644 test/fuzzer/fuzzer-implicit-integer-truncation.test create mode 100644 test/fuzzer/fuzzer-implicit-signed-integer-truncation-or-sign-c [...] create mode 100644 test/fuzzer/fuzzer-implicit-signed-integer-truncation.test create mode 100644 test/fuzzer/fuzzer-implicit-unsigned-integer-truncation.test create mode 100644 test/fuzzer/read-binary.test create mode 100644 test/fuzzer/windows-opt-ref.test create mode 100644 test/hwasan/TestCases/abort-message-android.cc create mode 100644 test/hwasan/TestCases/cfi.cc create mode 100644 test/hwasan/TestCases/random-align-right.c create mode 100644 test/hwasan/TestCases/tail-magic.c create mode 100644 test/msan/Linux/reexec_unlimited_stack.cc create mode 100644 test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c create mode 100644 test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c.gcov create mode 100644 test/profile/Inputs/instrprof-gcov-execlp.c create mode 100644 test/profile/Inputs/instrprof-gcov-execlp.c.gcov create mode 100644 test/profile/Inputs/instrprof-gcov-execvp.c create mode 100644 test/profile/Inputs/instrprof-gcov-execvp.c.gcov create mode 100644 test/profile/Inputs/instrprof-gcov-one-line-function.c create mode 100644 test/profile/Inputs/instrprof-gcov-one-line-function.c.gcov create mode 100644 test/profile/Posix/instrprof-gcov-execlp.test create mode 100644 test/profile/Posix/instrprof-gcov-execvp.test create mode 100644 test/profile/instrprof-gcov-__gcov_flush-multiple.test create mode 100644 test/profile/instrprof-gcov-one-line-function.test create mode 100644 test/sanitizer_common/TestCases/FreeBSD/capsicum.cc create mode 100644 test/sanitizer_common/TestCases/FreeBSD/lit.local.cfg create mode 100644 test/sanitizer_common/TestCases/Linux/mallopt.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/asysctl.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/cdb.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/fparseln.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/fts.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/getvfsstat.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/md2.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/md4.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/md5.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/mi_vector_hash.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/regex.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/rmd160.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/sha1.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/sha2.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/statvfs1.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/strtoi.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/strtonum.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/sysctlgetmibinfo.cc create mode 100644 test/sanitizer_common/TestCases/NetBSD/vis.cc create mode 100644 test/sanitizer_common/TestCases/Posix/fseek.cc create mode 100644 test/sanitizer_common/TestCases/Posix/getmntinfo.cc create mode 100644 test/sanitizer_common/TestCases/Posix/nl_langinfo.cc create mode 100644 test/sanitizer_common/TestCases/Posix/setvbuf.cc create mode 100644 test/sanitizer_common/TestCases/Posix/sysctl.cc create mode 100644 test/sanitizer_common/TestCases/symbolize_pc_inline.cc create mode 100644 test/tsan/Linux/thread_timedjoin.c create mode 100644 test/tsan/Linux/thread_tryjoin.c create mode 100644 test/tsan/cxa_guard_acquire.cc create mode 100644 test/ubsan/TestCases/ImplicitConversion/integer-arithmetic-valu [...] create mode 100644 test/ubsan/TestCases/ImplicitConversion/integer-sign-change-bla [...] copy test/ubsan/TestCases/ImplicitConversion/{integer-truncation-summary.cpp => in [...] create mode 100644 test/ubsan/TestCases/ImplicitConversion/integer-sign-change.c delete mode 100644 test/ubsan/TestCases/ImplicitConversion/integer-truncation-blacklist.c create mode 100644 test/ubsan/TestCases/ImplicitConversion/signed-integer-truncati [...] create mode 100644 test/ubsan/TestCases/ImplicitConversion/signed-integer-truncati [...] copy test/ubsan/TestCases/ImplicitConversion/{integer-truncation-summary.cpp => si [...] copy test/ubsan/TestCases/ImplicitConversion/{integer-truncation-summary.cpp => si [...] copy test/ubsan/TestCases/ImplicitConversion/{integer-conversion.c => signed-integ [...] create mode 100644 test/ubsan/TestCases/ImplicitConversion/unsigned-integer-trunca [...] rename test/ubsan/TestCases/ImplicitConversion/{integer-truncation-summary.cpp => [...] copy test/ubsan/TestCases/ImplicitConversion/{integer-conversion.c => unsigned-int [...] create mode 100644 test/ubsan_minimal/TestCases/implicit-integer-sign-change.c create mode 100644 test/ubsan_minimal/TestCases/implicit-signed-integer-truncation [...] copy test/ubsan_minimal/TestCases/{implicit-integer-truncation.c => implicit-signe [...] rename test/ubsan_minimal/TestCases/{implicit-integer-truncation.c => implicit-uns [...] create mode 100644 test/xray/TestCases/Posix/fdr-reinit.cc