This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/testing in repository compiler-rt.
from 97e140242 Updating branches/google/testing to r297704 adds 1b3f1014c Some ASan bots (AArch64 at least) use SEGV for a unit test er [...] adds eac304350 [ubsan] Add diagnostic handlers for nullability errors adds d112f65e1 [ubsan] Add nullability handlers to interface file adds 38d71b5b4 [compiler-rt][builtins] __isOSVersionAtLeast should load Core [...] adds 622ea83a0 After rL297370 and rL297383, instead of a platform check, exp [...] adds 625d95f03 [cfi] Add test for type metadata split issue. adds 69dc77e9e [cfi] Disable bad-split test on win32. adds 13cc5fb60 [msan] Intercept wcsncpy, wcsnlen. adds 56deed039 Fix a build break with xray adds 438d9c880 [XRay][compiler-rt] Support TSC emulation even for x86_64 adds ed26f0672 [XRay] [compiler-rt] Refactor logic for xray fdr logging. NFC. adds 54929415e [compiler-rt][builtins] Ignore the deprecated warning for CFP [...] adds ca1faf3b6 [msan] Relax lit check in wcsncpy.cc adds 53923f58b Fix -Wstring-conversion instance adds 9f44a79ed Add NO_EXEC_STACK_DIRECTIVE to xray assembly files. adds 17eb0acd6 [PGO] Value profile support for value ranges adds ae48dbe3d [asan] add one more argument to __sanitizer_print_memory_prof [...] adds 201864e5c [asan] trying to fix the windows build adds fe89b8c7d [msan] Intercept getloadavg. adds ad103a52c [compiler-rt] Add undefined "dup" symbol into internal symbol [...] adds 539aa9b49 [PowerPC] Fix sanitizer frame unwind on 32-bit ABIs adds a9c608446 Fix macOS version detection to also allow missing 3rd part of [...] adds 0dc7254c8 Revert "[PowerPC] Fix sanitizer frame unwind on 32-bit ABIs" adds 44a024214 [XRay][compiler-rt] Add missing include for <functional> adds 7e119a30d [XRay][compiler-rt] Add missing include to <string> adds 4fdab5b72 Resubmit r295469 [PGO] Suspend SIGKILL for PR_SET_PDEATHSIG i [...] adds b04407019 [ubsan] Add e2e test for -fsanitize=nullability adds 93b879833 [asan] Fix dead stripping of globals on Linux (compiler-rt) adds 209c570aa [asan] Disable globals-gc test with ld.bfd. adds a938e22d2 [asan] Remove gc-sections test with bfd. adds 3cdb20b8a Fix sanitizer tests with LLVM_TOOL_LLD_BUILD=OFF. adds e656508ca Add extra return value checks into stack-use-after-return.cc [...] adds 257bbc4c1 Change stack-use-after-return.cc to respect PTHREAD_STACK_MIN [...] adds acee82475 Apparently, PTHREAD_STACK_MIN can be in limits.h on some systems... adds da9f41bdd Re-commit of r296706 ("Increase stack size for stack-use-afte [...] adds 5b350130f Use pthreads for thread-local lsan allocator cache on darwin adds 101784fa6 Revert "Use pthreads for thread-local lsan allocator cache on [...] adds c8bc49238 Disable stack-use-after-return.cc on AArch64. The test was n [...] adds a36125098 Use pthreads for thread-local lsan allocator cache on darwin adds dc8b945de Revert r298174, r298173, r298169, r298159. adds 2435d1fad Bypass potential libc's sysconf wrappers for sysconf(_SC_PAGE [...] adds 43d584fba [Builtin] Implement lit-test support (part 1 of 2: test cases [...] adds afa3b5b09 Revert "Bypass potential libc's sysconf wrappers for sysconf( [...] adds 1698c9fe6 tsan: add test for pie/no aslr adds 8f117382b tsan: support __ATOMIC_HLE_ACQUIRE/RELEASE flags adds 9ede2ebf2 Revert r298274: "Use pthreads for thread-local lsan allocator [...] adds 7ea402558 tsan: fix pie_no_aslr test adds ba802a423 [compiler-rt] respect CMAKE_EXE_LINKER_FLAGS in compiler and [...] adds 101bbf413 Revert "[compiler-rt][asan] Turn on ASAN unittests for win64." adds 42738308e XFAIL CFI stats test while LLD produces corrupt PDBs that con [...] adds 6a332346c [XRay][compiler-rt] Remove dependency on <system_error> adds ec69c0c9f tsan: fix a typo adds 955475ab4 [compiler-rt] build compiler-rt runtimes without LTO adds 65ede46c9 Factor lsan allocator cache accesses into a function adds 5d7bda47b Make nullability test pass on Windows, which evaluates parame [...] adds 94401629f Use lld-link /nopdb to suppress PDB generation when DWARF is [...] adds aaa8f43ba Bypass potential libc's sysconf interceptors adds 16ed7295a [scudo] Add test exercising pthreads adds 8db84b525 [asan] Add an interceptor for strtok adds d218b6eb8 Add strtok interceptor for ASAN for Windows. adds 5788957d2 Update the Darwin/external.cc testcase to use rpath. This mea [...] adds 4980e83ed Fix a warning when running the GotsanRuntimeCheck test on Darwin. adds 4bb8e9c39 [XRay] [compiler-rt] Plug a file descriptor leak in a failure case. adds b80243e5d Update debug_external.cc testcase to use TSan-invisible barri [...] adds c3709191b builtins: Select correct code fragments when compiling for Th [...] adds c651b5d41 [Compiler-rt][Builtins] Implement lit-test support (part 2 of 2) adds 9736f9043 Revert "builtins: Select correct code fragments when compilin [...] adds 9ef4ca6aa Fix an uninitialized field in tsan_block_context_t/AllocConte [...] adds 50bdaed4b Follow-up for r298738: Use "0" instead of "false" because the [...] adds a2065a768 Fix flaky strtok.c test. adds 7218fa55e Fix sanitizer tests with LLVM_TOOL_LLD_BUILD=OFF. adds 96ccf181c tsan: add new mutex annotations adds ea0ff516f [tsan] Only Acquire/Release GCD queues if they're not NULL adds d75e2e9fd [asan] Remove column numbers from test expectations in invali [...] adds 8dbff7cb7 [XRay][compiler-rt] Use sanitizer_common's atomic ops adds bf19b3764 Add --std=c++11 to tests that #include <atomic> adds 97cbaf1d3 Fix build error: adds 82b27a27c Disable use_tls_dynamic on 32-bit linux adds 3fbf3a414 Use pthreads for thread-local lsan allocator cache on darwin adds e7eb94b99 [sanitizers] Avoid using -fomit-frame-pointer on Darwin adds 83871acc2 [sanitizers] Upgrade ios min version to 8 adds 724beb709 Revert "[Compiler-rt][Builtins] Implement lit-test support (p [...] adds fa1f07dfb [powerpc] deactivate ManyThreadsTest asan test on powerpc64 adds 7b6358233 Move lsan allocator cache from lsan_common_linux to lsan_linux adds 049542483 Fix comment in lsan_linux.cc adds 7af31ae82 Fix missing sanitizer platform include adds e6100317e Reland "[Compiler-rt][Builtins] Implement lit-test support (p [...] adds 1e39eaad4 Enable i386 builds for darwin lsan adds 4d2e2402a Postpone lsan tls allocation until required adds 260f2c513 [Builtin] Unxfail tests for armhf adds 8b9877881 [XRay][compiler-rt] Add an end-to-end test for FDR Logging adds eacaa8fb8 [XRay] [compiler-rt] Write buffer length to FDR log before wr [...] adds 897c2d32c [Compiler-RT][Builtins] Remove XFAIL for mulsc3; NFC adds b78c5b858 [Builtins] Mark mulsc3_test as UNSUPPORTED for armhf; NFC adds 195832b0e Add allocator_frees_and_returns_null_on_realloc_zero=false fl [...] adds 6e194c247 Remove failing check from platform specific darwin lsan initializer adds 386f8e576 Move current thread data out of lsan_common on linux adds 4eeb34e26 [sanitizers] Fix get_groups interceptor in sanitizer (https:/ [...] adds a4ebae933 [XRay][compiler-rt] Use llvm-xray in FDR mode tests adds 3f1112dbf [asan] Support line numbers in StackVarDescr adds e014e3455 [XRay][compiler-rt] XFAIL the FDR mode tests on aarch64-42vma adds 8e08f7371 [XRay][compiler-rt] Only run tests using llvm-xray in x86_64 for now adds b1170d772 [XRay][compiler-rt] Spell REQUIRES properly for x86_64-linux adds 8b391d0ed [sanitizer] Move fread and fwrite interceptors to sanitizer_common adds 7b0994518 Use count instead of grep -c. adds 4aad00e01 Add LIT_USE_INTERNAL_SHELL to compiler-rt tests. adds 9fa19db0e Use FileCheck instead of [. adds 323e69dcc Enable leak detection on linux-i686 by default adds fa43e8248 avoid a subshell. adds e17862e22 [asan] Implement "scribble" flags, which overwrite free'd mem [...] adds ee2f75fcf [tsan] Add interceptor for xpc_connection_cancel to avoid fal [...] adds 173233549 Fixup for r299085: Include stdint.h in scribble.cc to make ui [...] adds cef58227a Fixup for r299085: Print all output to stderr. adds cad6e9412 Fixup for r299085: On Windows %p doesn't print 0x prefix. adds a7455404b Fixup for r299085: Disable the scribble.cc test on AArch64. adds ca8992d68 Fixup for r299085: Keep the scribble.cc test on Darwin only, [...] adds be5ba6663 [asan] Turn -fsanitize-address-use-after-scope on by default [...] adds 00f498843 [asan] Move AsanCheckDynamicRTPrereqs check under flag adds 7596a2af0 Remove unused variable. adds fc209f28f Simplify test. adds 172de6930 Replace wc -l with count. adds ef626e4f6 Avoid sub shell. adds 360834440 Don't remove the cwd. adds 9093a35c5 Avoid calling basename to compute xdynamiclib_namespec. adds bd4e3b4a8 Simplify test a bit. adds 9f4261ccd [cfi] Fix symbol lookup hack in cross-dso cfi to handle LLD b [...] adds 6b3405390 [Builtins] Fix div0 error in udivsi3 adds 7b9666449 [XRay] [compiler-rt] Unwriting FDR mode buffers when function [...] adds 500b2fd06 [lsan] Avoid segfaults during threads destruction under high load adds e3ebbf0ee Try to fix windows buildbot after r299630 adds 5829a6235 Try to fix MAC buildbot after r299630 adds c4b0a1a3e [XRay][compiler-rt] Remove unused local variable adds af3a7b559 [TSan] Adjust expectation for check_analyze.sh adds 9ba14dedf Enable builds of darwin lsan by default adds 0536342a3 Add a virtual destructor to a class with virtual methods. adds 35c61d811 Add __ffssi2 implementation to compiler-rt builtins adds ee0634886 Revert r299672: Add a virtual destructor to a class with virt [...] adds 6f78f5c40 Replace a few uses of basename. adds 58cce4a23 [asan] Fix dead stripping of globals on Linux (compiler-rt). adds 5a5d83e7f [lit] Fix Darwin pickling errors with process pools adds 7f45a6001 Add missing import adds 5584d09fd [builtins] Get the builtins tests passing on Windows adds 27ebbdc98 [builtins] Fix MSVC build adds 3cefeceb9 [builtins] Make some ISA macro checks work with MSVC adds 47c2a986a [builtins] Remove stray quotes to fix check-builtins on non-W [...] adds 0e4db8459 Use a temp file to avoid Process Substitution. adds 85fba5b83 [cfi] Accept weak definition of __cfi_check. adds f14d140b7 [msan] Reorder unittests for future parametrization. adds 633658ab0 [msan] Wrap sockaddr_in and socket for future IPv6 support. adds fed59961d [msan] Replace AF_INET with AF_UNIX to avoid IPv4 vs IPv6 issues. adds 3b81e31e9 [msan] Make test to fall-back to IPv6 if IPv4 is not available. adds e2a1b2466 [Asan] Eliminate SHADOW_TO_MEM() macro Differential Revision: [...] adds 39c38f1fd Revert "[asan] Fix dead stripping of globals on Linux (compil [...] adds f6ffcbb42 [msan] Choose in runtime if IPv4 or IPv6 are supported. adds 3fa7e26dd [tsan] Fall-back to IPv6 if IPv4 is not available. adds 227b42366 [PPC64, Sanitizers] Proper stack frame for the thread spawned [...] adds 2150691ee [XRay][compiler-rt] Remove the xray_fdr_log_printer_tool adds 769089a0b [XRay][compiler-rt] Add support for TSC emulation for x86_64 [...] adds 77094f117 [lsan] Enable LSan for arm Linux adds da0f8e2b7 This patch causes the installation of headers for the sanitiz [...] adds 056881d0b Revert r299923, it doesn't build in bootstrap builds. adds 8d8e5f3b6 Reapply "Enable LSan for arm Linux" adds 2c3562da9 [Profile] PE binary coverage bug fix adds 8df0cf037 [lsan] Fix typo in test/lsan/lit.common.cfg adds 4f28340f8 Revert 299954 : test failure needs to be fixed adds 73b0c20fc Don't delete lsan thread-local data until it's no longer required adds ef3c0d303 Implement standalone lsan interceptors for OS X adds b6240efd1 [msan] fix iconv interceptor. before the fix the interceptor [...] adds 379a34bac [XRay][compiler-rt] Add another work-around to XRay FDR tests [...] adds 4f0068953 [XRay] [compiler-rt] Simplify FDR logging handler. [NFC] adds 4153a1785 [XRay] [compiler-rt] Refactor rewinding FDR logging. adds e68ed0602 Fix compile error adds 8037ab9c5 Revert "[lsan] Fix typo in test/lsan/lit.common.cfg" adds 4d122dd84 [LSAN] Disable on ARM/Thumb for good adds 3cd04e32a Use 0-padding for i386 and arm print format specifiers adds 059c103b5 Fix memory leaks in address sanitizer darwin tests adds d1ca180de Avoid calling SizeClassMap::MaxCachedHint on hot path, it's n [...] adds 28db59a5e Cache size per class size in SizeClassAllocatorXLocalCache. adds c2cc1e207 [msan] Fix invalid use of vector constructor introduced by r299884. adds 4a814b2e5 [msan] Fix msan_test broken after r299884. adds a1687c291 Revert "Cache size per class size in SizeClassAllocatorXLocalCache." adds b84477f98 [lsan] Reenable lsan tests on ARM bots adds f91aadbae Free zone name when destroying malloc zone adds 546e70f18 Enable LSan on PowerPC64. adds 365d041bb Cache size per class size in SizeClassAllocatorXLocalCache. adds 6357c2dc3 Don't assume PTHREAD_CREATE_JOINABLE is 0 on all systems adds 55b1f4fcd Implement global pointer scanning for darwin leak sanitizer adds 89c661687 Revert "Enable LSan on PowerPC64." adds d4919012c Move Linux-specific lsan tests into a new directory adds 2d4035c4d Disable use of tls scanning on darwin leak sanitizer adds 0d5f39faf Revert "[msan] Fix msan_test broken after r299884." adds 3767ff9d5 [msan] Fix msan_test.cc by checking bind results before assum [...] adds b97fb2e6b [Profile] PE binary coverage bug fix adds 6d4c217ce [ubsan] Use the correct tool name in diagnostics adds 55d98a136 [profile] Sync up InstrProfData.inc (NFC) adds 1bc70377e Scan Kernel Alloc Once page for global pointers adds 9e60082e3 Don't read non-readable address ranges during lsan pointer scanning adds 0f9f15db7 [sanitizer] Introduce tid_t as a typedef for OS-provided thread IDs adds cd07c2344 Fixup for r300473: Use %lu on Linux for tid_t in format strings. adds a5928c107 [tsan] Add missing include for uint64_t in test. adds 279da8dd0 Update suspended threads info to be compatible with darwin adds b09b51744 [asan] Fixup for r300483 (which is a fixup for r300473). adds 4f6879e40 [XRay][compiler-rt] Use emulated TSC when CPU supports rdtscp [...] adds 385d9f6d5 [sanitizer] Don't include <linux/user.h> in sanitizer_stopthe [...] adds 73ac02fff Allow for setting of global platform-specific lsan options in [...] adds 5962f26bd Don't use abort_on_error for lsan darwin test suite adds e73b4aa40 Remove mips64 defines from darwin-specific file adds c895c98c3 Implement suspended thread register count for darwin adds 85478c5f4 [sanitizer] Define lsan-x86 in tests for both i386 and i686. adds 28c21763d [XRay][compiler-rt] Fix up CFI annotations and stack alignment adds 57da2deeb Move valid caller-pc checks out of platform-specific checks adds 02099e22a Implement function to get registers from suspended thread on darwin adds 8b205e90b Let ubsan search UBSAN_SYMBOLIZER_PATH for llvm-symbolizer adds 88ccfa16b Skip tests that use 'llvm_xray' for standalone builds. adds 7971e4d17 [sanitizer-coverage] remove run-time support for the deprecat [...] adds 70d9e16a1 Turn symbolization on for ASan unit test. adds 223b56caa Implement StopTheWorld for Darwin adds 60ceca631 Make sure to scan mmap'd memory regions for root pointers on OS X adds 42bd2ce3d Fixup style from r300760 adds 2409e866b [sanitizer-coverage] remove run-time support for -fsanitize-c [...] adds 104db270d [sanitizer-coverage] remove run-time support for -fsanitize-c [...] adds 00e8357e5 [sanitizer-coverage] remove more unused code adds ea443214c [XRay][compiler-rt] Cleanup CFI/CFA annotations on trampolines adds 35ad9be15 [XRay] [compiler-rt] - Fix standalone and non-deterministic t [...] adds ac9e6ea23 [scudo] Minor changes and refactoring adds ba4bcb373 [scudo] Remove GetActuallyAllocatedSize calls from the fast path adds 4491af204 Define a suppression for known leaks on pthread_exit call. adds b1a6993d2 Define standard suppressions for LSan, start with this one. adds 8be3b0470 [asan] Optimize strchr for strict_string_checks=false adds 90b4b2c3c make detect_leaks=1 the default for the lsan test suite adds 08d91460e Enable lsan test suite on Darwin x86_64 builds adds 71895e0fe [cfi] Move one test under cross-dso/icall. adds c779240ba [cfi] Add explicit -flto in create-derivers test. adds 9bde12256 Enable LSan on PowerPC64. adds d8d3de1d7 [asan] Match BUS and SIGV to fix test on Darwin adds 1082bc665 sanitizer: fix crash with textdomain(NULL) interceptor adds e12d8a210 [asan] move textdomain.c to Linux dir, as the test is Linux-specific adds b6eb47518 Revert "Enable lsan test suite on Darwin x86_64 builds" adds 2c9491562 Disable LSan on ppc64, some tests are failing. adds 5cc53833e [asan] Fix test on ppc64le-linux by checking "UNKNOWN memory access" adds cf2441775 [asan] Fix test by removing "The signal is caused" check. adds efc456638 Revert r300889, r300906, r300935, r300939 adds cc599619a [tsan] Don't report bugs from interceptors called from libign [...] adds 0a039ecbd [tsan] Ignore memory accesses for libignored modules for "ext [...] adds 58a4814ee [tsan] Track external API accesses as 1-byte accesses (instea [...] adds 35ad53db3 [tsan] Publish the TSan external API in tsan_interface.h adds 65382e621 [tsan] Refactor __tsan_external_read/__tsan_external_write to [...] adds f94bfbbbb [tsan] Add a test for "external" API that checks the dup supp [...] adds 9cb198789 [scudo] Bypass Quarantine if its size is set to 0 adds fa7f48480 [cfi] Run tests with and without lld and thinlto. adds 6d68f8204 [cfi] Replace elif with elseif in cmake. adds c8d70402d [asan] Optimize strchr for strict_string_checks=false adds ba68c62d8 Suppress DTLS leak happening in some glibc versions. adds bed4c80fc [lsan] Enable LSan on PowerPC64. adds 5386ce517 [cfi] Disable thinlto tests on Darwin. adds 1d5d795ba [builtins] Implement emulated TLS on Windows. adds c88db7d06 [scudo] Enabling MIPS support for Scudo adds 6711394c3 Revert [scudo] Enabling MIPS support for Scudo adds 4ba77b58f [sanitizer] Cache SizeClassForTransferBatch in the 32-bit loc [...] adds b4626e22f [tsan] Remove the extra word "object" from description of ext [...] adds 537070f68 [tsan] Include __tsan_external_* API from a header file inste [...] adds 6733410e1 [cfi] Disable ThinLTO + CFI tests on Windows. adds 46a48e591 [asan] Use posix strerror_r interceptor on android. adds abff16288 [asan] Remove asanwrapper from Android test harness. adds 2192b7141 [cfi] Fix wrong CMake condition for WIN32. adds 518a5aca0 Mark a test as requiring a shell. adds 43a355662 [asan] Fix Windows global dead stripping tests adds efd746c9a Revert r301089 "[builtins] Implement emulated TLS on Windows." adds e80e95517 [Compiler-rt][MIPS] Fix assert introduce with commit rl301171. adds ad42fb978 [lsan] When necessary, define LSan suppression for pthread_exit. adds 12df869c0 [builtins] Implement emulated TLS on Windows. adds 9b8267f70 [test] Build sanitizer/xray tests only if COMPILER_RT_BUILD_* is on adds 775df7943 [lsan] When necessary, define LSan suppression for tls_get_addr. adds fcf0ff11c [asan] Add support for running lit tests in the iOS Simulator adds 0e741b973 Follow-up for r301443: The python scrips need to be executable. adds ca256e121 Fix the typo in strtok.c testcase: There was a missing space [...] adds 9553ac23b Add a missing "%run" expansion to fread_fwrite.cc test case t [...] adds 1282f851d Mark the asan-sigbus.cpp ASan testcase as unsupported on iOS. [...] adds fcedc089e Fix the dump_registers.cc ASan testcase on iOS to allow both [...] adds f760d1b91 XFAIL the TSan XPC tests on iOS. XPC isn't available on iOS. adds 5f3af0837 [asan] Allow propagating env variables when testing on iOS Simulator adds 2c89e2b50 Mark two tests (dead-strip.c, initialization-bug.cc) as unsup [...] adds b87de18ec Add missing FileCheck, update CHECK lines and avoid subshell. adds 59674c69d Also match the output on 32 bit systems. adds 77bdfc0ad TSan: update line number after XFAIL on iOS. adds e3b4fb5e6 [scudo] Move thread local variables into their own files adds 57470fcc2 [asan] Fix dead stripping of globals on Linux (compiler-rt). adds 33780624a [ubsan] Make the cast overflow message less redundant adds d53a2b5d9 [asan] Add a compilation wrapper that codesigns shared librar [...] adds ce5dde422 Fix the reexec-insert-libraries-env.cc testcase to use %env t [...] adds fce320da7 Fix unset-insert-libraries-on-exec.cc to use "%env" to make i [...] adds aa1c97756 [tsan] Track external tags in thread traces adds d816020bb [XRay][compiler-rt] Document and update the XRay Logging API adds 1531d487b tsan: support linker init flag in __tsan_mutex_destroy adds 33fde816a [powerpc] deactivate flakey tests on powerpc64le adds f62c0be79 Add a blank line as a test-commit. adds 62e0c63b8 Cleanup previous test commit. adds 120e487c4 [sanitizer-coverage] disable coverage_direct=1, will remove t [...] adds 612bed15f Add powerpc64 and powerpc64le to build infrastructure. adds aea5fa3b2 [asan] speed up small memcpy (> 32 but <= 64 bytes) adds a88ac2959 [ubsan] Fall back to the fast unwinder when print_stacktrace=1 adds fed66060a [sanitizer-coverage] remove more stale code adds fb29bf041 [sanitizer-coverage] add a deprecation note for the old sanit [...] adds 25469d9bd [asan] Add strndup/__strndup interceptors if targeting linux. adds a09710f1e Revert r301904 causing tsan test failure in x86_64-linux-autoconf adds 89fac7a41 [compiler-rt] move tsan's Android __get_tls() to sanitizer_common adds dc6e2b60c tsan: allow fast large MemoryRangeSet on non-Windows Go adds f5a63956c Roll back r301831 to fix broken powerpc64le tests. adds 14c50978c [asan] Disable some Darwin tests that don't work on iOS simulator adds cfa8c9c86 [asan] Mark a bunch of tests as unsupported on iOS adds a14170f79 [asan] Mark atos-symbolizer-dyld-root-path.cc testcase as uns [...] adds ecf7ab509 [asan] Mark some more testcases as unsupported on iOS. adds b8d03f43d [sanitizer] Intercept mcheck and mprobe on Linux adds da99eb266 Speculative fix for WinASan after r301994 adds f5be24d91 Revert my bad winasan coverage test fix and apply one that ac [...] adds 4e8f70074 [tsan] Detect races on modifying accesses in Swift code adds 72830dd7f [asan] print the 'unexpected format specifier in printf inter [...] adds be1906704 [XRay][compiler-rt] Support patching/unpatching specific functions adds c5b0187af [XRay][compiler-rt][NFC] Update comments to doxygen format; g [...] adds 6bae4bb55 [compiler-rt][mips] Add support for quad precision builtins f [...] adds daf4d1dba [ASAN] Add interceptor for __longjmp_chk adds b6657afbf [XRay][compiler-rt] Add function id utilities for XRay adds e498e2e10 [ubsan] Fix error summary message for ObjC BOOL invalid loads adds f8e7a418d [XRay][compiler-rt] Remove dependency on FileCheck from funct [...] adds 4ff00356c [ubsan] Implement __sanitizer_print_stack_trace for standalon [...] adds b5fcaaae0 [powerpc] Mark coverage-sample.cc as XFAIL on powerpc64le adds 5c7827db1 [ubsan]: temporarily disable print_stack_trace.cc test adds 9c7500287 CFI: Add a blacklist entry for std::_Sp_counted_ptr_inplace:: [...] adds acd49d83b [scudo] Add Android support adds 9ae2a099f [sanitizer-coverage] implement -fsanitize-coverage=no-prune,. [...] adds b9bbfab71 [builtins] Fixup emulated TLS for mingw. adds 874321695 [XRay][compiler-rt] XFAIL on ppc adds 9e6ab92e4 [powerpc] Remove XFAIL for sanitizer_coverage_no_prune.cc on [...] adds e12d24d3e Avoid unnecessary calls to vm_region_recurse adds b5a980955 [scudo] CRC32 optimizations adds 5a934669a Allow compiler-rt to find lld and libc++ parallel to LLVM, as [...] adds 91b57908e [compiler-rt][mips] Fix a test for mips. adds 6e815d2ef [SystemZ] Fix failures after D32542 adds aac85b1c9 [SystemZ] Remove XFAIL on sanitizer_coverage_no_prune.cc adds dc29e454d [mips] Remove XFAIL from sanitizer_coverage_no_prune.cc adds 92760a253 [mips] XFAIL dfsan's custom.cc test on mips64. adds 24981c0ce [Safestack] Fix the canary test to catch the libc's message r [...] adds 717ebcab7 [mips] XFAIL getpwnam_r_invalid_user.cc test adds 9fc1f73b6 [msan] Fix getmntent{_r} for empty /etc/fstab adds 45eb470c3 Add dyld to sanitizer procmaps on darwin adds 575a392a3 [cmake] Disable building enable_execute_stack.c for baremetal [...] adds ae4021dc2 Disable static caching of dyld header on Go sanitizers adds 1846d403b [XRay] Fix the test func-id-utils.cc on PPC. adds dedf34d82 [XRay] Fix XRay PPC return value bug. adds d1423875f Revert "Disable static caching of dyld header on Go sanitizers" adds 7ccb9077f Revert "Add dyld to sanitizer procmaps on darwin" adds d41423850 [asan] Recommit of r301904: Add strndup/__strndup interceptors adds 236529c6c mips] XFAIL wcsncpy.cc test. adds 350aee2f9 [MSAN] test failed randomly on ARM when XFAILED for MIPS adds a4934b161 [msan] add a regression test for PR32842 adds 2536fe88a [asan] Test 'strndup_oob_test.cc' added in r302781 fails on c [...] adds e91e7587b Renumber test line number expectations after r302783. adds 39596416f [asan] Test 'strndup_oob_test.cc' added in r302781 fails on t [...] adds a5c91c22f [scudo] Use our own combined allocator adds f9947480f [XRay][compiler-rt] Runtime changes to support custom event logging adds 017000bfe [XRay][compiler-rt] Fix misspeling of XRaySledEntry adds 5f20748c2 [XRay][compiler-rt] Remove unused variable after refactoring adds 7fdfa4b8d [XRay][compiler-rt] Only run custom event logging in x86_64-linux adds 929d2ccbf [msan] Remove a failing test from MemorySanitizer.ICmpRelational adds bb2563f2a Account for stack redzone when computing sp on darwin adds 508f03832 Add dyld to sanitizer procmaps on darwin adds 47c47778c Enable lsan test suite on Darwin x86_64 builds adds 2ea389217 Disable two failing darwin lsan tests adds 088c87e0f [asan/win] Re-enable Win64 asan tests on Win8+ adds ec190012e Disable two failing darwin lsan tests adds d6fba16de [ubsan] Enable debug info in test binaries adds e380523e9 [XRay] Fix build with libc++ (NFC). adds 9d786d9ab [sanitizer] Change SizeClassAllocator32 to accept just one template adds 0479fb714 [ubsan] Don't enable debug info in all tests adds 80a73416a builtins: fix filtering aliased targets adds 96eed06b6 [builtins] Fix a check from __GNU__ to __GNUC__ for disabling [...] adds 4ba403634 [lsan] Report the missing linker only when the linker is actu [...] adds 0bbb55700 Fix executable stack directive on Linux. adds 17a5de7a0 [asan] make asan under sandboxes more robust adds 1f7b0d2bc [tsan] Update tsan test for r303084 adds 5c1b8654b builtins: use reserved spelling (NFC) adds 99e2e66da builtins: expand out the AEABI function stubs adds c74078b0a builtins: add missing includes adds e60a00c0d builtins: one more case of a missing header adds 016b0e306 builtins: fix guard __AEABI__ -> __ARM_EABI__ adds 38cc92468 Implement tls scanning for darwin LSan adds ea3b9d9e8 Revert "Implement tls scanning for darwin LSan" adds 63fe54047 Include setjmp.h unconditionally in asan_test_utils.h adds 065bca6ff Generate ubsan shared libraries. adds 3cd2b8fb9 [Ubsan]Remove unused link libraries. adds e1cd17059 [XRay] Fix __xray_function_address on PPC reguarding local en [...] adds 8fa13187f temporary disable stndup interceptor, due to r302781 being buggy adds db37b96cb Fixup r303324 - temporary disable stndup interceptor, due to [...] adds 17219d802 Revert r302781 and subsequent attempts to disable part of it. adds f658c0403 [compiler-rt][cmake] Build unit tests conditionally with _FIL [...] adds 0d7dff404 [scudo] lower quarantine default sizes adds a0acb1046 [compiler-rt] Replace ifs with switch statement in IsHandledD [...] adds 53f2f17bf Use write instead of read permissions to check for global sec [...] adds c36f54d7d [compiler-rt] Add negative test for boolean flags. adds 6ed02973a [compiler-rt] Switch handle_<signal> flags from bool to enum. adds 4991f9f17 [compiler-rt] Change default of allow_user_segv_handler to true adds 0793ce266 Revert "[compiler-rt] Change default of allow_user_segv_handl [...] adds 06f1c090c [XRay][compiler-rt] Add __xray_remove_customevent_handler(...) adds 25efabe94 Disable flaky ASan tests temporarily on darwin adds 3a807e357 [asan] Remove allow_user_segv_handler on Windows. adds 397099e7e [compiler-rt] Change default of allow_user_segv_handler to true adds b3d9ce6c0 [sanitizer] [SystemZ] Update CVE-2016-2143 check for Ubuntu 16.04 adds 3e7872b74 Allow armv{7,7s,7k,7m,7em} builds adds 03968223b Revert "[compiler-rt] Change default of allow_user_segv_handl [...] adds 303455b44 Fix negate-overflow.cpp test on Windows after r303440 adds 0ee4ae2fe Allow builds to set COMPILER_RT_OS_DIR differently from CMAKE [...] adds 6b09b9e2f [compiler-rt] Change default of allow_user_segv_handler to true adds 370ca3548 [PowerPC] Fix test case sem_init_glibc.cc for powerpc64be adds a568c2949 [powerpc] deactivate flakey test halt_on_error-torture.cc on [...] adds 41e921aae [cmake] Disable building emutls.c for baremetal targets. adds cb4210377 Add generic __bswap[ds]i2 implementations adds ff9d73170 [sanitizer] Pair atomic acquire with release in BlockingMutex [...] adds a6bbfb5d9 [sanitizer] Change the 32-bit Primary AllocateRegion to reduc [...] adds b9bf72bbd [sanitizer] Revert rL303879 as it breaks Windows adds fb4eba778 Disable two more flaky ASan wait* tests temporarily on Darwin adds 5bde87f9d Don't require ThreadState to be contained within tls on all p [...] adds 8c920732a Implement tls scanning for darwin LSan adds 2319b5f3c [compiler-rt] Make print_module_map description consistent wi [...] adds 963904ec1 Fix typo in tls patch adds 881a838f9 [asan] relax sanbox_read_proc_self_maps_test to pass even if [...] adds 718173908 [compiler-rt] Replace allow_user_segv_handler=0 with kHandleS [...] adds 9233cd47d [asan] Enable back some ASan tests disabled on PowerPC. adds 29e1a9ca0 [scudo] Check the return values of the pthread_* functions adds 0338f3e77 [LSAN-ARM] Marking new test unsupported on ARMHF due to bot failures adds f9198fc26 [compiler-rt] Don't reset non-default user handler if allow_u [...] adds 679ac907b [asan] Enable back halt_on_error-torture.cc disabled on PowerPC. adds 97fc005f6 [sanitizer] Add "isapla" to symbolizer's global symbols whitelist. adds e1a8ef981 [sanitizer] Avoid possible deadlock in child process after fork adds e1dfaf677 [sanitizer] Trying to fix MAC buildbots after r304285 adds 9b2c60be6 [sanitizer-coverage] remove stale code (old coverage); compil [...] adds 27c827787 [asan] Add strndup/__strndup interceptors. adds bfeededd7 Bug 33221 [UBSAN] segfault with -fsanitize=undefined adds 0c1676c00 Tighten up test to address bot failure. NFC. adds efd9e1ef2 [ubsan] Runtime support for pointer overflow checking adds cb4adfe6e [sanitizer-coverage] nuke more stale code adds cdad12420 [sanitizer-coverage] nuke more stale code adds c760b2884 [sanitizer-coverage] nuke more stale code adds 66ccf0079 [sanitizer-coverage] nuke more stale code adds 8c2855d23 [asan] fix one more case where stack-use-after-return is not [...] adds b88c71e5c [sanitizer-coverage] test for -fsanitize-coverage=inline-8bit [...] adds e82d511eb [LSan] Detect dynamic loader by its base address. adds 677ecacd2 Adjust sanitizers for FreeBSD 64-bit inode update adds b32da432b Mark sancov test as unsupported on Darwin adds a30542037 Mark the atos-symbolizer test as unsupported on i386-darwin adds 9c790e8ab Revert "[sanitizer-coverage] test for -fsanitize-coverage=inl [...] adds b058fd625 CMake: don't try to use lld if we're not building it. adds 9b257cb61 [asan] Use asan exitcode=0 option to always succeed a test run. adds d20e4ba84 Revert r304285, r304297. adds b36ffc36d [ASan] A speculative attempt to fix a flaky test on ppc64be. adds 35f212efc [tsan]: Fix GNU version of strerror_r interceptor adds 439e42a01 [sanitizer] Fix symbolizer build after r304864. adds 63ddb4b32 Fix tsan test for Darwin. NFCI. adds eb68deea3 Revert "Fix tsan test for Darwin. NFCI." adds 4906f471e Mark the tsan strerror_r test as unsupported on Darwin adds f06499282 [sanitizer-coverage] one more flavor of coverage: -fsanitize- [...] adds 5f551f74f [asan] Fix ASan internal failure in AllocateFromLocalPool adds 09cdb957f Minor clean up of profile rt tests adds a2b9a14ce Mark a sancov test as unsupported on x86_64h-darwin adds 079b76577 [ubsan] Detect invalid unsigned pointer index expression (com [...] adds 247f91454 tsan: fix pedantic warnings adds 81825ab6e tsan: fix reading of mutex flags adds 5cf6036d4 [sanitize] Remove stack size limits from secondary threads. adds 2716b49e6 [ASan] Move rss_limit_is_exceeded_ flag to ASan. adds fccfd4523 [sanitizer] MmapAlignedOrDie changes to reduce fragmentation adds 6cd1865e1 [sanitizer] Reverting D34152 adds 1d3673a97 [asan] Return allow_user_segv_handler=0 to fix compatibility issues. adds 435e37653 [asan] Fix typo in doc string. adds 6f8de12f0 [ubsan] Fix a faulty memory accessibility check adds f6b2a077d [cfi] Enable icall tests with thinlto. adds ca24bb081 Add test for logging the implicit "this" argument for C++ mem [...] adds 03a96b718 [Sanitizers] Secondary allocator respects allocator_may_retur [...] adds f91b4c629 [Sanitizers] Fix allocator OOM test on Windows. adds b0ee5a939 [WinASan] Fix hotpatching new Win 10 build 1703 x64 strnlen prologue adds 802ac1eb4 [Sanitizer] Remove CombinedAllocator::Allocate's 'cleared' parameter adds f0d7258f4 Call cmake_minimum_required at the top of CMakeLists.txt adds 028649d48 [XRay][compiler-rt][NFC] Add a name for argument to __xray_se [...] adds 366176ff1 [XRay][compiler-rt][NFC] Add a test for both arg1 and arg0 ha [...] adds 80ed4944b [scudo] Enabling MIPS support for Scudo adds a3d787dff Add lsan interceptors for libdispatch functions on darwin adds ebb8e45a1 Revert "Add lsan interceptors for libdispatch functions on darwin" adds e9f87b734 Add lsan interceptors for libdispatch functions on darwin adds 9cbbe014c [asan] Fix android setup script to overwrite the symlink. adds 4f2195f82 [ASan] Disable allocator_oom_test.cc on s390 adds c13d2469d [Sanitizers] Move cached allocator_may_return_null flag to sa [...] adds f7b4c29b5 [asan] Fix android compiler wrapper lost in r301617. adds 5866aaba9 Revert "[compiler-rt] Don't reset non-default user handler if [...] adds d75d4f58e [mips][compiler-rt] Fix build breakage. adds a7d94d30c [sanitizer] Add a function to gather random bytes adds ef55de50c [sanitizer-coverage] Stop marking this test as unsupported on Darwin adds 712a9e568 [Sanitizers] 32 bit allocator respects allocator_may_return_n [...] adds d23b5ace1 [ubsan] Improve diagnostics for return value checks (compiler-rt) adds 37a2e2e98 [asan] Add support for Android debug message. adds bc311bbb0 [asan] Regression test for PR33372 adds 0f531abec [PGO] Implementate profile counter regiser promotion (test case) adds 9461bb47a [esan] Disable flaky tests for PR33590 adds f3180f887 [asan] Flag 'asan_gen_prefixes.cc' as unsupported on iOS. The [...] adds 9d35abce5 [Sanitizers] 64 bit allocator respects allocator_may_return_n [...] adds aa207c168 [tsan] Add missing include directory for test unittests adds 1c6a7b075 Only test sanitizers that are built when COMPILER_RT_SANITIZE [...] adds f2a5e92a6 Revert "Only test sanitizers that are built when COMPILER_RT_ [...] adds ad281e0a3 [PGO] Refactor file/buffer writer callback interfaces /NFC adds 4b54038e0 Only test sanitizers that are built when COMPILER_RT_SANITIZE [...] adds 2dcc25721 Loop directly over sanitizers to build in cmake adds 1a427fa56 Don't double-include cfi tests on linux adds b24f89116 Don't build tsan/dd when COMPILER_RT_HAS_TSAN is false adds a8a922c4f [Profile] Remove redundant call adds 054ff981e [msan] Intercept wcscat, wcsncat. adds 30e44dc92 [asan] Fix windows build. adds 659b039b4 [XRay][compiler-rt][NFC] Add example always/never instrument files. adds 0371dabce Re-enable wait.cc, wait4.cc, waitid.cc tests on Darwin. They [...] adds 7ed3d6d5a [XRay][compiler-rt] Only run test in x86_64 linux. adds 4cd87c537 [XRay][compiler-rt][NFC] Move test case into correct directory. adds 8ec8c48d6 Revert r306504: Re-enable wait.cc, wait4.cc, waitid.cc tests [...] adds 59b78d964 [PGO] Reduce IO in profile dumping with merging adds 7ea9c79f1 [Sanitizers] Operator new() interceptors always die on alloca [...] adds e8dc22926 [asan] This test now passes adds aaa18ba4d [asan] Disable tests which do no work on Android adds 628643aeb [asan] Fix try to fix test on Android adds 81300751e [LSan] Make LSan allocator allocator_may_return_null compliant adds 02c4d3f8b [asan] Control location of symbolizer on device using ANDROID [...] adds 90d0de4a6 Revert "[asan] Control location of symbolizer on device using [...] adds a05e4630f Revert "[LSan] Make LSan allocator allocator_may_return_null [...] adds 5d77c239d [scudo] Change aligned alloc functions to be more compliant & [...] adds 5349b6c7c Fix WinASan after moving wcslen interceptor to sanitizer_common adds ac3a01da8 Export the nothrow overload of operator new adds 9bf4394e7 [profile] Move __llvm_profile_filename into a separate object adds db318dfe3 Merge adds 2cd50a16a [Sanitizers] Rename CallocShouldReturnNullDueToOverflow to Ch [...] adds 28b9d0a32 Merge adds cf40d9536 fix trivial typos, NFC adds 63de5fcd7 [sanitizer] Small tweaks and fixes to allocator related functions adds f0fdf665b [objc] Don't require null-check and don't emit memset when re [...] adds 598fa11c9 [LSan] Make LSan allocator allocator_may_return_null compliant adds dfa9d55ab [asan] Disable test which fails on Android x86 adds 5849df7a0 [asan] Fix test on Android i686/fugu adds 457fbcb4a [asan] This Android lit workaround should not be needed as bu [...] adds 6ee59ff2a fix trivial typo; NFC adds 391940858 fix trivial typos in comments; NFC adds b69423cad fix trivial typos in comments; NFC adds f339952e6 [asan] Remove check for stack size adds f863c64e6 [tsan] Use pthread_sigmask instead of sigprocmask to block si [...] adds ff641b946 [Sanitizers] Consolidate internal errno definitions. adds 10c0350fb [sanitizer] Split GetMaxVirtualAddress into separate Linux ve [...] adds e0fbf555f Fixup for r307281: Also move GetKernelAreaSize into sanitize [...] adds b3b4445f1 More fixup for r307281: Move the #includes to sanitizer_linux.cc adds 501c0c704 [sanitizer] Use TASK_VM_INFO to get the maximum VM address on [...] adds 10bdcb2d1 Fix whitespace lint issue (introduced in r307307). adds 656a9d2e2 [asan] Fix -Winvalid-paste error with clang-cl adds 4761fa543 [cmake] Add an option to prefer public SDK in find_darwin_sdk_dir adds 55b271fd8 [asan] Add end-to-end tests for overflows of byval arguments. adds 32840b904 [cmake] Cache results of find_darwin_sdk_dir adds 9e2c69ffc Revert r307342, r307343. adds 922a96fd9 Fix-up for r307307: vm_info.max_address is the first non-addr [...] adds 0a9913ccd Update buildgo.sh to pass -isysroot on Darwin. adds 671ef704c Make sure SANITIZER_MIN_OSX_VERSION is defined before using it. adds 199c0c91d [tsan] Add support for running TSan tests on iOS simulator an [...] adds da8e13360 Fixup whitespace. adds 9a72e30d6 Reverting an accidentally landed change. adds 7b20e2670 [tsan] Add a max VM address check for Darwin/AArch64 adds 56ead5227 [tsan] Port setjmp/longjmp assembly to Darwin/AArch64 adds 7a63eabdf [tsan] Add a mapping for Darwin/AArch64 adds 2f2503a26 [tsan] Add comments for the bool argument of ThreadIgnoreBegi [...] adds 07c6462c7 Fix-up for r307540. adds 6dc96e1bb [lsan] Add _os_trace into LSan's suppression list adds 0973c5bae Fix a build failure due to r307541 (tsan_rtl_aarch64.S:54: Er [...] adds a4df49d1f Fix-up for r307537: We need to #include stdint.h to get int32_t. adds 78dfe1f88 [X86] Resync cpu_model.c with llvm's Host.cpp in preparation [...] adds bd3d53bd6 [X86] Sync a few more things from llvm's Host.cpp to cpu_model. adds b8c00bd80 Add an #if SANITIZER_MAC and a comment to lsan_common's suppr [...] adds de932deda Do not crash with missing symbolication when running in DEDUP mode adds 5b62d82e7 Remove duplicate assignments in stat64/kernel_stat_to_stat functions adds 093a9f1fc [asan] Fix asan_device_setup --use-su mode on Android 7.x. adds 26482612a Refactor MemoryMappingLayout::Next to use a single struct ins [...] adds 0b770c1e3 Inline function to get mac segment address range adds b0d9af0a5 Use internal_strncpy to copy filename in linux procmaps adds eb2931a54 [tsan] Update test to r307338 adds 9cd8edacd tsan: add test for __tsan_java_find adds 38ecb5de3 tsan: add another test for clock growth adds 5de8108ff tsan: don't create sync objects on acquire-load adds bc135c12c tsan: give debug names to dense allocators adds 25473b0d4 tsan: s/-1/kInvalidTid/ adds 6e32365b3 tsan: prepare clock for future changes adds 14a186f06 tsan: refactor SyncClock code adds d16bb5ca2 tsan: remove some clock-related stats adds e637b93bd [scudo] PRNG makeover adds 241fc0728 Fix the declaration of DARWIN_PREFER_PUBLIC_SDK cmake variabl [...] adds 880288aa6 On Darwin, start building the TSan dylib for the iOS simulator. adds 739a23efa [builtins] Better Fuchsia support adds b6742fdee On Darwin, start building the TSan iOS dylib by default. adds 835fb5484 Add explicit CMake targets for ASan/TSan iOS Simulator testin [...] adds 1832be2ba [PGO] Add a test for 2-deep loop nest adds b40ba7db5 [asan] For iOS/AArch64, if the dynamic shadow doesn't fit, re [...] adds 39ef995be [asan] Avoid recompilation of the same code in the test adds c071d1bfb Fix broken test adds 5ebaa70bf [compiler-rt][X86] Match the detection of cpu's for __cpu_mod [...] adds 4b50dbfc2 For Darwin's GetTaskInfoMaxAddress, define the real structure [...] adds e985282fd [ubsan] Teach the pointer overflow check that "p - <unsigned> [...] adds 4b8b9fa35 [scudo] Do not grab a cache for secondary allocation & per re [...] adds 8a5e425a6 Fix sanitizer build against latest glibc adds 12d16901e tsan: optimize sync clock memory consumption adds e474b1c40 [Sanitizers] Scudo allocator set errno on failure. adds 2706e2583 [Sanitizers] LSan allocator set errno on failure. adds dd3d6da1d [Sanitizers] ASan and LSan allocator set errno on failure. adds e6b351539 [compiler-rt] [CMake] Build compiler-rt with no optimizations [...] adds b2f847ad5 [compiler-rt] Fix fix format specifies type in test adds cd32bdd8a [asan] Attempt to fix test in Windows after r308064 adds 102b89dd5 [tsan] Disable test with debug runtime adds 773be72a9 [msan] Add missing include for fix test on Windows adds b5b7b0b8b [asan] Disable not working new test on Windows adds c8095ce74 Add MemoryMappedSection struct for two-level memory map iteration adds f36d180d7 Introduce SANITIZER_NETBSD in sanitizer_platform.h adds 0d60e8eeb Add NetBSD support in platform_interceptors.h adds fbc6b650e Add missing && to fix syntax. adds 76862cd3c [sanitizers] Make sure that all complex macros uses parenthesis adds 7e46d78d4 Only scan global sections containing data in LSan on darwin adds e726963d5 [asan] Remove recent asan tests which expect death in allocator adds 13c2d0857 [Sanitizers] ASan/MSan/LSan allocators set errno on failure. adds f9d9566dc Don't call exit() from atexit handlers on Darwin adds f326d7dfb Revert "Only scan global sections containing data in LSan on darwin" adds 02a9951ea Revert "Add MemoryMappedSection struct for two-level memory m [...] adds 6553f3f19 [X86][builtins] Sync getX86CpuIDAndInfoEx with llvm's Host.cp [...] adds 3a390dc51 [asan] Move memcpy, memmove, memset code out of asan_interceptors.cc adds c1d813b64 [compiler-rt] Replace VPrintf with VReport in sanitizer_tls_g [...] adds edb67e932 Add NetBSD support in sanitizer_procmaps_common.cc adds 088d8f4e6 Add NetBSD support in sanitizer_procmaps.h adds 4df023aea Add NetBSD support in sanitizer_libignore.cc adds 6a1564dd4 Honour 80-character line limit adds 971e33341 [compiler-rt] Include thread ID into sanitizers logs adds 3139224a2 [sanitizer_common] Move filesystem-related code out of saniti [...] adds 35ad307c3 Add MemoryMappedSection struct for two-level memory map iteration adds a0aa7cee5 [asan] Update unittest for changes in logging r308637 adds 8d06014e5 Revert "[sanitizer_common] Move filesystem-related code out o [...] adds e2c4c417b [compiler-rt] Reorder functions to have smaller stack frames adds d4b10e1df Revert "[compiler-rt] Reorder functions to have smaller stack [...] adds 75ed905e2 [compiler-rt] Reorder functions to shrink stack frames adds 47ee1da2b [compiler-rt] Use NOINLE to shrink stack frames adds 66c4a2630 [tsan] Update unittest for logging changes of r308637 adds eb87176f8 Revert "Add MemoryMappedSection struct for two-level memory m [...] adds 41f114300 Add end-to-end tests for overflows of byval arguments. adds ecbdaaaa7 [XRay][compiler-rt] Update test to account for change in logg [...] adds ce339bb5f Remove Bitrig: CompilerRT Changes adds f2d5726e3 [sanitizer_common] Move filesystem-related code out of saniti [...] adds 614a50c10 [compiler-rt] Add missing const specifier to MemoryMappedSegm [...] adds 5884a6648 [scudo] Quarantine overhaul adds 50bfae49e [scudo] Fix QuarantineChunksUpToSize failing test on AArch64 adds b5e384b31 Prefer atos to llvm-symbolizer on Darwin adds 3af3bf6f5 [mips] Switch asm to __asm__ for non-GNU compiles. adds c78e1b8ec Splitting out test for Darwin for print-stack-trace: adds f728f4698 [Sanitizers] TSan allocator set errno on failure. adds 3fba40218 Add .pyc files to .gitignore to compiler-rt adds 26aeaee1b Add address ranges for individual macho sections on darwin adds ad87a2bf2 Revert "[compiler-rt] Include thread ID into sanitizers logs" adds 416f1839f Fix unused variable warning with MemoryMappedSegment private data adds 5764cd92b Only scan global sections containing data in LSan on darwin adds 2295a0eb5 [ubsan] -fsanitize=vptr now requires -fsanitize=null, update tests adds 77afdbc0a [scudo] Check for pvalloc overflow adds 5d89c4be9 [ubsan] Update a test missed in r309008, NFC adds fd63314d6 [sanitizer] Support compiler-rt builtins adds d1997bff3 [sanitizer] Support libc++abi in addition to libstdc++ adds 8e31fff29 Revert "[sanitizer] Support libc++abi in addition to libstdc++" adds 99ae2fab3 Revert "[sanitizer] Support compiler-rt builtins" adds 01ebee35b [sanitizer-coverage] remove stale code adds 861f5212c Add liblog to ubsan `UBSAN_DYNAMIC_LIBS` adds fa4969a72 [sanitizers] Sanitizer tests CMake clean up adds 3d7f9b642 Revert "[sanitizers] Sanitizer tests CMake clean up" adds bc1f9b219 [sancov] Implement __sanitizer_cov_reset. adds 521532599 [sancov] Add missing line breaks in test. NFC. adds 33aba8c1c [sanitizers] Sanitizer tests CMake clean up: try #2 adds ab3ad40db [sanitizer-coverage] add a run-time test for -fsanitize-cove [...] adds d630c5dde Support compiler-rt builtins adds d21220894 Support libc++abi in addition to libstdc++ adds 540a1c9dd Change INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE from 8 to 16. adds b8f4c3386 [sanitizer tests CMake] Factor out CMake logic for compiling [...] adds 581f796e9 [sanitizers test CMake] further refactor testing CMake for tsan adds 99e39e2aa Revert r308677. adds b340d2cc8 Add clear_cache implementation for ppc64. Fix buffer to meet [...] adds 7810a905a Add end-to-end tests for overflows of byval arguments. adds 64531a13c [compiler-rt] Add missing quotation marks to msan_compile invocation adds de4bce905 Try to fix asan test on sanitizer-windows adds 1c338cbe7 [ubsan] Diagnose invalid uses of builtins (compiler-rt) adds 87f217d20 [XRay][compiler-rt] Do not print the warning when the binary [...] adds 9b7feef32 [sanitizer_common] Rename SI_NOT_WINDOWS to SI_POSIX adds 142129419 [builtins] Fix mingw-w64 cross compilation adds da26635ad [XRay][compiler-rt] Require build-in-tree and x86_64-linux. adds b5c720821 [sanitizer_common] Add SANITIZER_FUCHSIA adds 30f6f020a [XRay][compiler-rt] Fix typo for REQUIRES. adds 73b1687da [asan] Move shadow memory setup into its own file adds f0878f1e7 [XRay][compiler-rt] Fix test to not be too strict with output order. adds 84b9dd08a [msan] Check for pvalloc overflow adds 8d6193b01 Remove STL/microsoft-specific CFI blacklist entries adds 0be3d11da Add powerpc64 to compiler-rt build infrastructure. adds 42a455c34 [msan] Reverting D36093 adds add8c7766 [sanitizer] Fix the sanitizer build on Android adds 1549687ff [sancov] Fix coverage-reset test on Android/i686. adds fd528d76e [sanitizer-coverage] dummy definitions for __sanitizer_cov_8b [...] adds a0c6823f7 [sanitizer-coverage] Fix Windows build broken by r309655 adds 1a764aafc Revert rL309634 until upstream buildbots have upgraded libc. adds ba0e4f947 [ubsan] Enable UBSan build for Fuchsia adds c6c5f9c9c [sanitizer_common] Fuchsia support for interceptors adds 3982c2153 [sanitizer_common] Disable filesystem-related code for Fuchsia adds 55414c1d1 [sanitizer_common] Fuchsia OS support code adds 73ea55e16 [sanitizer_common] Fuchsia-specific symbolizer adds cd6d69c22 [XRay][compiler-rt] Remove use of std::mutex and std::shared_ [...] adds 25f760461 [sanitizer_common] Fuchsia-specific implementation of Sanitiz [...] adds e18e52ff1 [asan] Interceptors for Fuchsia adds 62abea784 [ubsan] Test -fsanitize=vptr without -fsanitize=null adds e47607957 This ppc64 implementation of clear_cache works for both big a [...] adds f6f49c0e0 Add new ASAN_OPTION: sleep_after_init. adds d20ebd10f [msan] Check for pvalloc overflow adds ac2979953 Use a more standard method to mark these tests as unsupported [...] adds 5dea2733b [tsan] Check for pvalloc overlow adds 9f25f1839 [XRay][compiler-rt] Allow for building the XRay runtime witho [...] adds 78017f6ef [asan] Allocator support for Fuchsia adds 6b85e16e8 These tests use 80-bit long doubles, which are x86 only. Mark [...] adds 8293838e8 [builtins] Use Interlocked* intrinsics for atomics on MSVC adds d4151aa47 coverage: Update tests to reflect changes from r310012 adds b78dceb24 [msan] Switch the pvalloc overflow test to a lit test adds 4f66f8ee2 [compiler-rt] Check for empty buffer in Addr2LineProcess::Rea [...] adds 18c47b4af CFI: Move STL allocator blacklist to clang adds 9b65d5838 Add NetBSD support in sanitizer_procmaps_freebsd.cc adds 0cbd2ad9e [asan] Check for pvalloc overlow adds fc2d319ea [asan] Fix unsupported test on Android adds 62ccbaa63 Add NetBSD support in sanitizer_syscall_generic.inc adds a9ea11a35 Add NetBSD support in interception.h adds 690672469 Add NetBSD support in sanitizer_linux_libcdep.cc adds e0a4b2e12 Add NetBSD support in sanitizer_unwind_linux_libcdep.cc adds 41d1b5e1d Add NetBSD support in sanitizer_errno.h adds 285e20603 [asan] Return sizeof missed by r309914 adds 36deaa181 Add NetBSD support in asan_interceptors.h adds 6f115effa Add NetBSD support in asan_errors.cc adds acb113dd8 Add NetBSD support in sanitizer_test_utils.h adds 06f7854c1 [sanitizer] Remove use of task_for_pid from sanitizer_stopthe [...] adds 3f62c2100 [asan] Make dump_registers.cc more stable adds b6103e663 [tsan] Fix format string in WriteMemoryProfile adds c1c4d6655 Add NetBSD support in asan_stack.h adds 0f9a6a534 Fix asan_test.cc build on NetBSD adds b07ae8ba8 [asan] Restore dead-code-elimination optimization for Fuchsia adds b7816a65e Define OFF_T as 64-bit integer on NetBSD adds 4347a8988 Reuse interception_linux for NetBSD adds 1445db948 Enable COMPILER_RT_HAS_SANITIZER_COMMON on NetBSD adds 195d1722c NetBSD compatibility nit in asan_test_utils.h adds 00e8d2ff3 Add NetBSD support in asan_interceptors.cc adds 8b950ead2 Reuse sanitizer_linux for NetBSD adds d1348d806 Enable ubsan on NetBSD adds 082c31c97 Add NetBSD support in asan_symbolize.py adds 43c12c39b Add NetBSD support in asan_malloc_linux.cc adds dc85b2098 [winasan] Fix hotpatching ntdll!strcpy for Win10 creators edition adds f9bc4d2ad Try to appease compiler and break multiline comment. adds f569d19ea [asan] Complete the Fuchsia port adds 5f5d782f4 [asan] Refactor thread creation bookkeeping adds 5ea17034a [compiler-rt][ARM] Fix filtering of ARM targets adds e3829d0be [sanitizer_common] Update sanitizers w.r.t. the new compariso [...] adds 259aa6a72 Enable SafeStack on NetBSD adds 15c612158 Add NetBSD support in asan_linux.cc adds 53b30a288 Enable ASAN on NetBSD adds 83dafd31d [compiler-rt] Add SANITIZER_CXX_ABI_LIBNAME=libc++ option. adds 7c74cefba Enable profile on NetBSD adds 1c85aaf50 [llvm-cov] Fix compiler-rt tests failing in build bots after [...] adds 83db67711 [sanitizers] Add a blocking boolean to GetRandom prototype adds 3caa058f8 [PGO] Add support for relocate profile dumping directory adds 435b4b3eb Fix a cmake typo. adds 4ae44f4ac [builtins][ARM] Select correct code fragments when compiling [...] adds 6a52c89fd [builtins] fix build error on non-ARM for r310884 adds 237a4de6d Revert r310857 due to internal test failure adds 5761b5b90 Revert: Enable profile on NetBSD adds 8ffc41adb [compiler-rt CMake] CMake refactoring: create directories in [...] adds 0ea082ef4 [compiler-rt CMake] NFC: Minor CMake refactoring. adds 7de198abb [CMake compiler-rt] NFC: Minor CMake refactoring. adds 38e269e52 [sanitizers CMake] NFC Refactor the logic for compiling and g [...] adds bcb584b26 Quickfix to the refactoring commit: typo in the link flags va [...] adds f1b1a7775 [scudo] Application & platform compatibility changes adds 4a6d122a2 Add C++17 aligned new/delete interceptors to standalone lsan adds 229a2f64e [XRay][compiler-rt][NFC] Expand the PIC test case for XRay adds 98b5d6590 [SanitizerCoverage] Add stack depth tracing instrumentation. adds f66a808d6 [TSan] Update test values adds 1f8b389ef Remove "%T" from ASan Darwin tests. adds bdf800ddb Fix multi-architecture build for lib/xray. adds 916b56d6d [NFC CMake] Do not relink test targets every time in compiler-rt adds bcdd70fe3 [sanitizer] Do not over-dup string flags adds 1a32c939c Fix ASan version list dependency in multi-arch builds. adds 0c8339c8a Move libFuzzer to compiler_rt. adds 63c10e624 Remove check-fuzzer from check-all, as tests don't pass on so [...] adds 893db08e1 [libFuzzer] remove stale file adds 5ffcba415 [libFuzzer] better README.txt adds 8713a9766 [NFC] do not run linter on libFuzzer's tests. adds 190938f45 [libFuzzer] apply changes lost during the migration to compiler-rt adds 63b653949 [libFuzzer] fix the stack-depth initialization, add a lit tes [...] adds 672167943 builtins: erase `struct` modifier for EH personality adds 13fb89668 Revert "builtins: erase `struct` modifier for EH personality" adds 6c60ed285 [libFuzzer] disable a test failing on the bot adds e8a32dc12 [libFuzzer] Move check for thread_local back into libFuzzer's CMake, adds 9cc823951 [SanitizerCoverage] Optimize stack-depth instrumentation. adds 0d45586b9 [esan] Use stack_t instead of struct sigaltstack (PR34011) adds 24e609bda [profile] Fix warning about C++ style comment in C file adds 94fc5971b [XRay][compiler-rt] Support sled versioning for custom event sleds adds 4854a215f [ARM][Compiler-rt] Fix AEABI builtins to correctly pass argum [...] adds 6c8e02727 [Profile] create a copy of profile file name from environment adds 950163879 Mark allocator_oom_test.cc unsupported on arm & aarch64 (PR33972) adds 0b17b7e25 Add Clang dependency to the check for Clang C++ headers. adds 91a66eaad [cfi] only add cfi tests on supported arches. adds 3df7fc170 Revert "Add Clang dependency to the check for Clang C++ headers." adds 3d2a81a38 tsan: don't pass bogus PCs to __tsan_symbolize_external adds 809c05a0c tsan: fix darwin build adds 3518c5ed1 [sanitizer-coverage] extend fsanitize-coverage=pc-table with [...] adds 62ddf6220 [compiler-rt] Test commit: remove some trailing white spaces. adds 70c68ad58 [libFuzzer] add -print_funcs=1 (on bey default): print newly [...] adds 61a32bfc5 [libFuzzer] prepare tests for switching from -fsanitize-cover [...] adds 01e6fcc93 [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer adds fe25f5a54 Revert "[SanitizeCoverage] Enable stack-depth coverage for -f [...] adds 27fb0f255 Automatically pick up new sanitizers in cmake. adds 740573d12 [libFuzzer] Use custom allocators for STL containers in libFuzzer adds 422f200cd Revert "[libFuzzer] Use custom allocators for STL containers [...] adds 7cbce1992 [cmake] Remove i686 target that is duplicate to i386 adds cc44d7c1f Revert r311842 - [cmake] Remove i686 target that is duplicate [...] adds fe253ee56 [libFuzzer] Use custom allocators for STL containers in libFuzzer. adds 26676b9c5 [asan] Move __asan_handle_no_return to public header adds 5824d872d [XRay][compiler-rt] Return the pointer associated with the fu [...] adds d74a5ec19 [sanitizer] Re-introduce kUseSeparateSizeClassForBatch for th [...] adds 0c221230c Proper dependency check for clang in compiler_rt. adds ffb70a6cb [libFuzzer] Fix libFuzzer flag propagation for standalone builds. adds 7ab1a1642 [libFuzzer] Exclude a test failing on OS X. adds 9d51100aa Reland r311842 - [cmake] Remove i686 target that is duplicate [...] adds 45ead6c7c Add NetBSD specific version of sanitizer_platform_limits_posix adds 1cca2c591 Add NetBSD ASAN shadow mapping for x86-64 adds ebae6acb2 [libFuzzer] allow -print_funcs=N: N is the max number of new [...] adds 886bbfa61 Shorten filenames of tests (-with-calls to -calls) adds 895df3ed0 [libFuzzer] refactoring: move reading the seed corpus closer [...] adds fedf302be [XRay][compiler-rt][NFC] Refactor global TLS variables behind [...] adds 79654fd77 [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer adds 440c0242b Minimal runtime for UBSan. adds 21ee37b2d Disable stack depth tracking on Windows. adds 04d0769c4 [libFUzzer] change the way we load the seed corpora: instead [...] adds 8140e6867 Disable ubsan-minimal on Darwin. adds 730138a7e Re-enable stack depth instrumentation on Windows. adds 25500b158 [asan] Add use-after-scope test which fails because of bug in clang adds 454ce793b Enable GetRandom for Fuchsia sanitizer. adds 3b8cbd951 Revert "[SanitizeCoverage] Enable stack-depth coverage for -f [...] adds 20bf9b48b Restore clang_rt library name on i686-android. adds 90cb6cb18 Fix for TSan unit-tests: adds e5229ff18 [builtins] Prevent duplicate definitions for overridden functions adds 30b8ae261 [fuzzer] Don't enable tests when the fuzzer isn't built adds e8a608821 Add NetBSD support in test/tsan/thread_name*.cc adds fa6658d33 Add NetBSD support in tsan_interceptors.cc adds 2546e2f31 Add preliminary NetBSD support in libfuzzer adds 14bcbc22b Add NetBSD support in lsan_interceptors.cc adds 1c8c066ed [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer adds 40af66329 Finalize ASAN/NetBSD adds 592b22180 [XRay][compiler-rt] Enable the XRay compiler-rt unit tests. adds 8fd4da6e7 [ubsan] Give ubsan-minimal lit test suite a name. adds 1c3df8c3b [cmake] Fix the list of arm32 architectures adds 72a532839 Build LLVM with -Wstrict-prototypes enabled adds 907e59854 Revert r312240 adds fcb6aa26f [libFuzzer] tolerate missing files when loading the seed corpus adds c7cde8a5c [ubsan] Make check-ubsan depend on check-ubsan-minimal. adds 9f4b0100b Revert "[ubsan] Make check-ubsan depend on check-ubsan-minimal." adds dd9106706 [libFuzzer] Enable 8-bit counters test on macOS adds 665cb4327 [libFuzzer] use more iterations for a test adds 160179b33 [cmake] Work around -Wunused-driver-argument warnings adds b66aeedd0 [cmake] Remove accidentally committed warning messages adds 712b1f9fc Fix constant-logical-operand warning. adds 547f9dadc (NFC) Fix the use of do{}while(0) in a macro. adds ad3d7d644 [msan] Check sigset_t and sigaction arguments. adds efa83bbf6 Remove ld.config.txt for Android O. adds 673bb3774 [libFuzzer] remporary disable an unstable test adds 0a1d98c76 [sanitizer_common][Fuchsia] Update Fuchsia sanitizer markup adds b0d00907e [msan] Remove a stale fixme (NFC). adds 3bf34db38 [compiler-rt][xray][mips] Mark some tests as unsupported. adds 35e74d5f6 [scudo] getauxval alternative for Android adds 89c935629 [asan] Add a note to shadow memory setup error. adds 9c4184904 [cmake] Work around more -Wunused-driver-argument warnings adds e914d8b10 [libFuzzer] simplify and re-enable CustomCrossOverTest adds 43832ee47 [libFuzzer] simplify CustomCrossOverTest a bit more adds 3057bb94d [libFuzzer] simplify CustomCrossOverTest even more adds 94345c67b Prevent DCE on __lsan_is_turned_off and re-enable test case adds c6ca7345f Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case" adds f7a6956f0 [libFuzzer] remove a couple of reduntant includes adds 49cac23f3 [asan] Use more generic string in error message adds c5cad77b9 [compiler-rt] Move allow_user_segv.cc into sanitizer_common adds 689b841c1 [ubsan] Enable UBsan in sanitizer_common tests adds 8726d8366 [asan] Fix tests broken by r312858 adds 4224e9ead [ubsan] Save binary name before parsing options adds 2f11426d3 [asan] Include asan-dynamic into check-all adds 234cf084c [scudo] Fix improper TSD init after TLS destructors are called adds 2b6ced66b [compiler-rt] Cleanup decorators adds bc89e23c3 [compiler-rt] Move IsStackOverflow from asan into sanitizer_common adds 0be5c228f Revert "[ubsan] Save binary name before parsing options" adds 7aef37045 [ubsan] Save binary name before parsing options adds 81aed931b [ubsan] Make ubsan version of __sanitizer_print_stack_trace c [...] adds d65db8479 [ubsan-minimal] Enable on Darwin adds 2b4678996 Runtime detection of android_set_abort_message. adds 21edaff6f [ubsan-minimal] Disable x86_64h tests when not on x86_64h adds 6e990c4bc Revert "[compiler-rt] Move IsStackOverflow from asan into san [...] adds 5b686ccf0 [compiler-rt] Move IsStackOverflow from asan into sanitizer_common adds a16d671c8 [XRay][compiler-rt] Use a single global volatile recursion gu [...] adds 79d3d0a1e [libfuzzer] Compare TotalNumberOfRuns with MaxNumberOfRuns wh [...] adds 3fc19e291 [libFuzzer] Fix lit files to make running tests more straight [...] adds 9765720e3 [ubsan-minimal] Fix the x86_64h config check adds 45735bcdc [tsan] Disable user_malloc test which fails glibc 2.24 adds fd50a2ebe [libFuzzer] factor out some code into GetSizedFilesFromDir; NFC adds f98401fb5 Determine up front which projects are enabled. adds 284242005 [ubsan] Enable -fsanitize=function test on Darwin adds cad7a086b [compiler-rt] Move IsStackOverflow into sanitizer_posix_libcd [...] adds 995eff563 [Fuchsia] Magenta -> Zircon adds 79b583e7f [compiler-rt] Move *Sanitizer:DEADLYSIGNAL printing into common part adds a2354569b [compiler-rt] Move dump_instruction_bytes and dump_registers [...] adds d113a775f Fix line breaks. adds 0a5592717 [compiler-rt] Add test for not fully implemented dump_registers adds 5c8c2c47d [compiler-rt] Compile signal specific functions only for !SAN [...] adds 2eaff6eec [compiler-rt] Add siginfo into SignalContext adds a8682fdf7 [compiler-rt] Use SignalContext in ErrorStackOverflow and Err [...] adds 1fb9a540c [asan] Fix Windows build adds 9b8d2f223 [ubsan-minimal] Temporarily disable x86_64h testing on Darwin adds 90837bb59 Revert "Determine up front which projects are enabled." adds 2984766b0 [ubsan-minimal] Filter targets to test by host arch on Darwin adds a2a96a61a [compiler-rt] Cleanup SignalContext initialization adds 8b1cb01a8 [compiler-rt] Fix Windows build adds 2586e28f7 [asan] Add const into ScarinessScoreBase::Print adds 308321151 [sanitizer] Add BufferedStackTrace::Reset() adds f08436351 [sanitizer] Move IsStackOverflow into SignalContext adds 51d0db2cf [lsan] Extract GetStackTraceWithPcBpAndContext similar to asa [...] adds 86427f15a [sanitizer] Add empty Fuchsia and Win versions of StartReport [...] adds 6f6220991 [sanitizer] Mark allow_user_segv as XFAIL instead of UNSUPPORTED adds a403018d6 [mips] Fix sem_init_glibc test for MIPS. adds f796a78bc [lit] Force site configs to be run before source-tree configs adds ee5ce553a [asan] Disable two dynamic tests on armhf adds aa753d2df Revert "[mips] Fix sem_init_glibc test for MIPS." adds 9ff24034f [scudo] Fix bad request handling when allocator has not been [...] adds 66d44ca69 [ASAN] Add macro denoting availability of new `__asan_handle_ [...] adds bb16fc935 [ASAN] Revert r313303 - Add macro denoting availability of ne [...] adds e3c17f186 [asan] Remove ErrorStackOverflow adds 476bb23ca [sanitizer] Move stack overflow and signal reporting from Asa [...] adds 973030f71 [lsan] Disable clang-format on few RUN: statements adds e765db3a1 Revert "[lit] Force site configs to run before source-tree configs" adds a1a53ed7b [sanitizer] Use __sanitizer:: in CHECK_IMPL on both sides of [...] adds 58f0da745 [sanitizer] Simplify checks in allow_user_segv.cc adds 2187d5ac0 tsan: respect LDFLAGS when build Go test adds 3ed5043d1 [ubsan] Extract GetStackTraceWithPcBpAndContext similar to as [...] adds dc6a7dbdb [sanitizer][mips64] fix MIPS64 kernel_stat_to_stat() adds 1a95a19d0 ubsan: Stop building the DLL version of the runtime library o [...] adds 958f7a8d5 cfi: Enable ThinLTO tests on Windows. adds 76cdb7459 ubsan: Unbreak ubsan_cxx runtime library on Windows. adds f621dd83d [libFuzzer] reduce the size of the merge control file by not [...] adds 4c3260342 [libFuzzer] minor refactoring, NFC adds bf4ab7a4a Resubmit "[lit] Force site configs to run before source-tree [...] adds e0a2ec37f [libFuzzer] test fix adds 2fd9c24c1 [libFuzzer] add linux-specific test for gc-sections adds 1d17d2ba0 Try to fix check-asan. adds 763214631 [ubsan] Update ubsan_interface.inc adds 9ad3f7468 [asan] Enable asan_and_llvm_coverage_test.cc on Android adds b1a3dbe82 Revert "[ubsan] Update ubsan_interface.inc" adds 04f544bb4 [asan] Remove not-android adds 3c6b80464 [builtins] Remove one more missed not-android adds 2e99c092c [sanitizer] Move android_commoands from asan into sanitizer_common adds d27254a74 [sanitizer] Support check-asan on Android adds 384eeea2d [sanitizer] Disable sanitizer test which already fails on And [...] adds 6ec8636dc [sanitizer] Move signal interceptors from asan to sanitizer_common adds e7f4e4a34 [sanitizer] Fix check for i386 Android in lit tests adds 4c69a6571 [compiler-rt] Fix build break after r313277 on s390x adds 502737ef9 Mark various failing tests with "UNSUPPORTED: ios". adds 655b76e99 [sanitizer] Use SI_ instead of SANITIZER_ in sanitizer_platfo [...] adds 7c29ef848 [XRay][compiler-rt] Handle tail-call exits in the XRay runtime adds fabb9da57 [asan] Remove ScopedDeadlySignal adds 0af795304 [sanitizer] Move StartReportDeadlySignal into sanitizer_commo [...] adds 7d99e86de [ubsan] Add RTUbsan_standalone into UBSAN standalone shared adds 5de033a80 Revert "[ubsan] Add RTUbsan_standalone into UBSAN standalone shared" adds f951abe99 [scudo] Android build support adds 6a0bc1fdc [cmake] Make it possible to build and test profile without sa [...] adds 3a6c8910a [ubsan] Fix interface_symbols_windows test adds eca49ebb0 [scudo] Additional modifications for Android tests support adds 474ec9e95 [ubsan] Fix conflict with previous declaration on Mac adds 7055da967 [ubsan] Split ubsan_init_standalone adds 084609f43 [ubsan] Add file missing from r313583 adds 9be9a94b0 Revert "[ubsan] Split ubsan_init_standalone" adds 3b5c45da8 [profile] Update InstrProfData.inc adds 7bd22ca12 [profile] Update Linux-only tests after r313597 adds c85c0b5fe [ubsan-minimal] Make the interface more compatible with RTUBSan adds f9dd70c49 [ubsan-minimal] Test exported symbol set against RTUBsan adds daa58c8bf [sanitizer] Don't define common ReportDeadlySignal on Fuchsia adds 4035097ab [mips][compiler-rt] UnXFAIL test. adds af5d32eeb Ensure that armhf builtins library is created when using an hf abi adds 0feb616cb Set ANDROID when any android abi is used, not just androideabi adds 387a685d2 [asan] Resolve FIXME by converting gtest into lit test adds e07838d51 [asan] Try to fix windows test by fflush(stderr) adds eb117e449 [asan] Fix nested error detection adds a70d41b8c [asan] Remove "rm -f" in tests where it was needed only becau [...] adds 368e57c46 [asan] Remove "COLLISION" workaround for datarace in asan adds e9e2379f3 [asan] Remove trailing spaces adds 28ad3fe83 [ubsan] Split ubsan_init_standalone adds 1fc69acfb [XRay][compiler-rt] Remove non-trivial globals from xray_log_ [...] adds 0b01c05ec [tsan] Annotate function parameters with attribute 'noescape'. adds acea4097c [asan/lsan] Make LSan compliant with recovery mode when runni [...] adds 5ee8cc231 [asan/lsan] Trying to fix buildbots after r313966 adds 7e3a14329 [asan/lsan] Trying to fix PPC64 and x380x buildbots after r313966 adds 10b087da0 [scudo] Scudo thread specific data refactor, part 1 adds 4401e9e8e Removed platform-specific ifdefs from sanitizer_procmaps.h adds b5edc3e43 Fix windows buildbot broken by r313999 adds fa06689f9 [sanitizer] Move CommonSanitizerReportMutex from _print.cc to [...] adds 106ad97ba [asan] Fix unlocking order for CommonSanitizerReportMutex and [...] adds 13b2b2b88 [sanitizer] Move report locking code from asan into common adds b774cd86d Deflake the "xpc-race.mm" test. adds 988561edd [sanitizer] Replace AddressSanitizer with correct tool name adds feeabcf3b Fix fuchsia builds broken by r313999 adds 9b376627e [sanitizer] Move ScopedErrorReportLock into libcdep version adds 4365a0449 [sanitizer] Replace thread id with GetThreadSelf adds 67a6c824c [lsan] Deadly signal handler for lsan adds 36e72f5e2 [lsan] Add __lsan_default_options adds 6ae24b6fa [ubsan] Support signal specific options in ubsan adds a7018c1d0 [ubsan] Replace CommonSanitizerReportMutex with ScopedErrorRe [...] adds 836cd12c0 [ubsan] Fix assert.cc test by compiling it as C++ adds ae2601605 [mips][compiler-rt] Disable sem_init_glibc.cc for MIPS64. adds 9230e8345 [scudo] Scudo thread specific data refactor, part 2 adds 2c712e992 [sanitizer_common] Don't provide sanitizer_procmaps API funct [...] adds 8c42acfdc Fix style in sanitizer_procmaps.h adds 1f707b9f7 Add missing include to sanitizer procmaps adds 03dddb6de [mips][asan] Fix preinstalled_signal.cc test for mips adds 1ea789be4 Invalidate symbolizer module list from dlopen/dlclose interceptors adds 7db641bc3 [scudo] Scudo thread specific data refactor, part 3 adds 3ba54520f [Builtins] Use 4 byte alignment for __aeabi_memclr. adds 660505745 [Builtins] ARM: Fix msr assembly instruction use for Thumb2. adds 979ca6560 [Builtins] ARM: Fix assembling files in thumb mode. adds 1df07ed12 [builtins] fix build error on non-ARM for r314285. adds 37865adcd [Sanitizers] Allocator: new "release memory to OS" implementation adds 9dae4270d [Sanitizer] Disable compact size class tests on Android adds 3ac72d809 [ARM] builtins: Replace abort by assert in clear_cache. adds ebab22405 [builtins] ARM: Revert r314284, r314285 and r314289 adds 24050b5dd Add support for custom loaders to symbolizer adds b5a79d0a6 [scudo] Temporary disabling the valloc test on armhf adds 5b19f39ab Revert "Add support for custom loaders to symbolizer" adds bc4debffe ASan allocates a global data initialization array at the tail [...] adds 59f023a92 [ubsan] Merge ubsan_standalone_cxx shared library. adds af46bb333 [XRay] [compiler-rt] FDR logging arg1 handler adds 2c81ea0cc tsan: handle signals in pause call adds 4d153fb22 [asan] Unpoison global metadata on dlclose. adds 81f388fe5 Add support for custom loaders to the sanitizer symbolizer adds 35bf44512 [asan] Fix the bug number in the error message. adds c76c49014 Revert "Add support for custom loaders to the sanitizer symbolizer" adds 283e436ec [XRay][compiler-rt][NFC] Remove loggingInitialized() convenie [...] adds 87e43ef9d [CMake] Fix configuration on PowerPC with sanitizers adds d04247a9f Refactor android fallback procmaps init. NFC. adds 0c8ffd513 Remove recursion from FindModuleForAddress. NFC. adds 685813843 Add missing header definition adds 9d26c0129 Fix cmake file broken by D38277. adds 5e66b692b Move LoadedModule list to a NoCtor vector and initialize on demand. adds faf993b37 Revert "Move LoadedModule list to a NoCtor vector and initial [...] adds c9b5e685a Move LoadedModule list to a NoCtor vector and initialize on demand. adds 63780036d [cmake] Add a separate CMake var to control profile runtime adds 4f725d63b Use %run for running CFI tests adds 4969c048f Add support for custom loaders to the sanitizer symbolizer adds 6b550d45f Revert "Add support for custom loaders to the sanitizer symbolizer" adds 3ce56013c Add support for custom loaders to the sanitizer symbolizer adds 4ce970d86 [builtins] ARM: Reland fix for assembling builtins in thumb state. adds a1604ad3b [XRay][compiler-rt] Use pthread for initializing thread-local data adds dad2946b5 fixup: use UNUSED, restore alignment for cache-line friendlin [...] adds ebffae6c6 [XRay][compiler-rt] Use a hand-written circular buffer in Buf [...] adds 8f30a9c5f Revert "[XRay][compiler-rt] Use a hand-written circular buffe [...] adds 83774b46b [compiler-rt] Add back ARM EABI aliases where legal. adds 640d7d1f9 [XRay] [compiler-rt] make sure single threaded programs get t [...] adds 06f288ce3 [XRay][compiler-rt] Use a hand-written circular buffer in Buf [...] adds a16d35ab9 [XRay][compiler-rt] Fix logical failure in BufferQueue::getBuffer() adds 9433990fc [sanitizer] Move cxx-abi library earlier in link flags. adds 3d259d643 [XRay][compiler-rt] Write out arg1 payload in naive mode logging adds f4abfe4e8 [cfi] Test on all available targets. adds ad59ece0e [cfi] Mark a test as unsupported on darwin. adds 576e89666 [sanitizer] Move %ld_flags_rpath_exe to common and use it in [...] adds cb012eb23 [asan] Use full binary path in the Android test runner. adds a7688a2f5 [asan] Add --enable-new-dtags in tests on Android. adds 11ad3b8e2 [LSan] Detect dynamic loader by its base address. adds 2edf23743 [cfi] Disable tests with lld on i386. adds 590a32da4 [libFuzzer] Disable experimental clang coverage support by default. adds 2d21e8df3 Revert "[LSan] Detect dynamic loader by its base address." adds b3c632084 [asan] Use gold linker in android tests. adds e9b56a340 [sanitizer] Test ubsan and cfi on android. adds 8501b0e87 Factor out default_(a|ub)sanitizer_opts in lit. adds 83fd3a851 [asan] Disable wcslen test on 32-bit Android. adds f41e67051 [ubsan] Add a static runtime on Darwin adds 3d16ad721 Use list(APPEND) instead of append() adds 748c5c762 cmake: Fix one more usage of append() adds b9f54537f Make the cfi target available on more platforms. adds 5c1865cfa Limit CFI blacklist entries to specific CFI mode adds 23784812b [ubsan] Disable one test on Android. adds 1da2a1c41 [sanitizer] Don't intercept signal and sigaction on Fuchsia adds e21fc3327 [ubsan] Fix Asan internal alloc corruption in PR33221 test. adds 7904451fe [XRay][compiler-rt] Fix rdtscp support check for x86_64 adds 35440ac3d [sanitizer] Move the errno/ENOMEM allocator checks logic to s [...] adds 5b96e8b6f [sanitizer] Revert D38706 adds 69abe65f0 XFAIL ubsan/TestCases/TypeCheck/Function/function.cpp on Windows adds 45675f2e9 Factor out "stable-runtime" feature and enable it on all android. adds 3fc89a412 [sanitizer] Re-disable several tests on Android. adds 452879a46 [libFuzzer] experimental flag to tweak the corpus distributio [...] adds 0ba9bf56c [asan] Tweak test output to diagnose buildbot failures. adds f5ee4a4c0 [libFuzzer] make -use_feature_frequency less aggressive and e [...] adds c37be534a [sanitizer] Introduce ReservedAddressRange to sanitizer_common adds 7898b35d6 Revert "[sanitizer] Introduce ReservedAddressRange to sanitiz [...] adds 18d746da7 [libFuzzer] disable use_feature_frequency as it degrades some [...] adds 974d31232 [X86] Add Knights Mill CPU to cpu_indicator support to match libgcc. adds 57e44143e [ubsan] Support ubsan-minimal tests on Android. adds 95281d613 [sanitizer] Move the errno/ENOMEM allocator checks logic to s [...] adds c16a15f6e Disable profile tests on Android. adds e3e1659d1 Disable TSan tests on Android. adds 8c026f722 Reland "[sanitizer] Introduce ReservedAddressRange to sanitiz [...] adds 286d9a10a Revert r315533 "Reland "[sanitizer] Introduce ReservedAddress [...] adds 389cffef8 [scudo] Allow for non-Android Shared TSD platforms, part 1 adds c0ec5c621 [asan] Disable a flaky test on android. adds a09806de6 [cmake] Fix skipping DEPS (typo) in sanitizer_test_compile() adds c02f2d0ab [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS adds fbade2dae [cmake] [asan] Remove unnecessary gtest dep from dynamic tests adds 44c688de4 [sanitizer] Workaround a Linux kernel bug in hard_rss_limit_mb_test. adds 617d610c7 [libFuzzer] tweam use_feature_frequency to be less aggressive [...] adds cb11821c2 [Sanitizers] Add more details to ASan allocator stats report. adds e972b4cb2 [scudo] Allow for non-Android Shared TSD platforms, part 2 adds b1ac0a6f5 LowerTypeTests: Give imported symbols a type with size 0 so t [...] adds 837886eae [Sanitizers] Always build libFuzzer with frame pointers. adds 397451f72 [cfi] Use %ld_flags_rpath_* substitutions in tests (NFC) adds 3fd72382c [asan] Deflake one test by running it 3 times. adds aa529e36f [libFuzzer] print a better warning if we hit the ld bug adds bb3e2cf04 [xray] Fix CMake for X-RAY tests adds 2323ab971 [asan] Increase kHandlerStackSize for TracerThreadSignalHandler adds c7837d890 [scudo] Do not include sanitizer_posix.h if not on a Posix platform adds 1e1c09d32 [cfi] Test cross-dso CFI on Android. adds 4276b6704 [XRay][compiler-rt] Always place the CPU record first for eve [...] adds d935076a8 Revert "[asan] Deflake one test by running it 3 times." adds 98adaa209 Use O_BINARY when opening GCDA file on Windows adds 87a6e9636 [tsan] Add Mutex annotation flag for constant-initialized __t [...] adds 2b3e0d328 tsan: add tests missed in r316209 adds 59dbe326d [Compiler-rt][MIPS] Fix cross build for XRAY. adds e378f8791 [scudo] Add a shared runtime adds a21db44b4 [Sanitizers] New sanitizer API to purge allocator quarantine. adds 328d6584a Revert "[Compiler-rt][MIPS] Fix cross build for XRAY." adds d93cb79ee [Sanitizers] Add total primary allocator RSS to allocator report. adds 4b9f44eeb [libFuzzer] Periodically purge allocator's quarantine to prol [...] adds ed5545d85 [Sanitizers-libFuzzer] Addressing coding style issues. adds 6c9ee8c61 [XRay][compiler-rt] Remove C++ STL from the buffer queue impl [...] adds 9ec9a9fd8 [XRay][compiler-rt] Fixup shadowing adds e6931d583 [XRay][compiler-rt] More fixups. adds e9b5a2559 [asan] Add more x86 prologue decodings to handle x64 VC 2017 CRT adds f49c63699 On FreeBSD, skip the first entry in the dl_iterate_phdr list. adds 826256f98 [XRay][compiler-rt][NFC] Clean up xray log files before running test adds 6f634ed9c [tsan] Fix warnings in tsan_interceptors.cc from expansion of [...] adds d8ac58ba4 [asan] Don't print rows of shadow bytes outside shadow memory adds 16cd8b12c Add NetBSD improvements in sanitizers adds 00b604240 [Sanitizers] ASan: detect new/delete calls with mismatched al [...] adds e625e66b7 [sanitizer] Random shuffling of chunks for the 32-bit Primary [...] adds 27d88dffa Try to unbreak Linux sanitizers adds cbdf93a9b [msan] Intercept __strxfrm_l. adds 56c02e118 [scudo] Remove comment about security of the 32-bit allocator adds f708c0ca7 [libFuzzer] trying to make a test more stable on Mac adds 0480bcea5 [LSan] Adjust LSan allocator limits for PPC64. adds 491bcd82b [sanitizer] Fix internal symbolized build on Debian 9 adds 9d9424425 [Sanitizers] Set default allocator_release_to_os_interval_ms [...] adds e27514e61 [LSan] Enable LSan tests on PPC64 Linux. adds 350302ec8 [LSan] Disable a couple of failing tests on PPC64 (pending in [...] adds 0c8987ad2 [scudo] Allow to specify the maximum number of TSDs at compile time adds 35f3b0cf4 [XRay][compiler-rt] Remove more STL dependenices from FDR mode adds 0efc33137 [XRay] [compiler-rt] fix build by including errno.h into FDR mode adds a0eba2205 [asan] Intercept heap routines in VS2010 CRT adds c6577df3f Fix clang warnings in winasan code adds c714e4023 Introduce ReservedAddressRange to sanitizer_common. adds 97cfd3523 [sanitizer] Fixing an error introduced in D39072 adds 7ff86c1f9 Fix warning + death test + failing test on Windows (D39072). adds 8ff5640b4 [sanitizer][Fuchsia] Add a missing semicolon adds 8ddc9eb95 [fuzzer] Fix threaded stack printing and nested mallocs adds 142775ac8 [fuzzer] Script to detect unbalanced allocation in -trace_mal [...] adds b3c355d3c Revert "[fuzzer] Fix threaded stack printing and nested mallo [...] adds e8c4cd327 [fuzzer] Fix threaded stack printing adds 60ec9d032 [scudo] Implement stricter separation of C vs C++ adds 4f6767844 [scudo] Fix standlone build -lrt requirement adds a638156d4 [fuzzer] Script to detect unbalanced allocation in -trace_mal [...] adds bcc227ee4 [fuzzer] Fix nested mallocs new 5cdb7458c Creating branches/google/testing and tags/google/testing/ fro [...]
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: .gitignore | 1 + CMakeLists.txt | 159 ++- cmake/Modules/AddCompilerRT.cmake | 131 ++- cmake/Modules/CompilerRTCompile.cmake | 42 +- cmake/Modules/CompilerRTDarwinUtils.cmake | 80 +- cmake/Modules/CompilerRTUtils.cmake | 39 +- cmake/Modules/HandleCompilerRT.cmake | 21 + cmake/base-config-ix.cmake | 17 +- cmake/builtin-config-ix.cmake | 4 +- cmake/config-ix.cmake | 100 +- include/CMakeLists.txt | 32 +- include/sanitizer/allocator_interface.h | 7 + include/sanitizer/asan_interface.h | 4 + include/sanitizer/common_interface_defs.h | 4 +- include/sanitizer/coverage_interface.h | 45 +- include/sanitizer/lsan_interface.h | 6 + include/sanitizer/tsan_interface.h | 144 +++ include/xray/xray_interface.h | 115 ++- include/xray/xray_log_interface.h | 183 ++++ include/xray/xray_records.h | 58 +- lib/BlocksRuntime/Block.h | 2 +- lib/BlocksRuntime/Block_private.h | 2 +- lib/CMakeLists.txt | 32 +- lib/asan/CMakeLists.txt | 28 +- lib/asan/asan_activation.cc | 3 - lib/asan/asan_allocator.cc | 189 +++- lib/asan/asan_allocator.h | 26 +- lib/asan/asan_descriptions.cc | 22 +- lib/asan/asan_descriptions.h | 7 +- lib/asan/asan_errors.cc | 151 ++- lib/asan/asan_errors.h | 82 +- lib/asan/asan_fake_stack.cc | 4 +- lib/asan/asan_flags.cc | 22 +- lib/asan/asan_flags.inc | 22 +- lib/asan/asan_fuchsia.cc | 218 +++++ lib/asan/asan_globals.cc | 27 + lib/asan/asan_interceptors.cc | 223 +---- lib/asan/asan_interceptors.h | 49 +- lib/asan/asan_interceptors_memintrinsics.cc | 44 + lib/asan/asan_interceptors_memintrinsics.h | 148 +++ lib/asan/asan_interface.inc | 2 + lib/asan/asan_interface_internal.h | 5 + lib/asan/asan_internal.h | 8 + lib/asan/asan_linux.cc | 30 +- lib/asan/asan_mac.cc | 23 + lib/asan/asan_malloc_linux.cc | 54 +- lib/asan/asan_malloc_win.cc | 2 +- lib/asan/asan_mapping.h | 16 +- lib/asan/asan_memory_profile.cc | 30 +- lib/asan/asan_new_delete.cc | 175 ++-- lib/asan/asan_poisoning.h | 7 +- lib/asan/asan_posix.cc | 55 +- lib/asan/asan_report.cc | 118 +-- lib/asan/asan_report.h | 7 +- lib/asan/asan_rtl.cc | 152 +-- lib/asan/asan_scariness_score.h | 2 +- lib/asan/asan_shadow_setup.cc | 161 +++ lib/asan/asan_stack.h | 4 - lib/asan/asan_thread.cc | 57 +- lib/asan/asan_thread.h | 34 +- lib/asan/asan_win.cc | 18 +- lib/asan/asan_win_dll_thunk.cc | 2 + lib/asan/scripts/asan_device_setup | 41 +- lib/asan/scripts/asan_symbolize.py | 4 +- lib/asan/tests/CMakeLists.txt | 242 ++--- lib/asan/tests/asan_interface_test.cc | 29 +- lib/asan/tests/asan_mac_test_helpers.mm | 1 + lib/asan/tests/asan_noinst_test.cc | 9 - lib/asan/tests/asan_str_test.cc | 33 +- lib/asan/tests/asan_test.cc | 72 +- lib/asan/tests/asan_test_main.cc | 16 +- lib/asan/tests/asan_test_utils.h | 4 +- lib/asan/weak_symbols.txt | 9 + lib/builtins/CMakeLists.txt | 116 ++- lib/builtins/README.txt | 5 +- lib/builtins/adddf3.c | 12 +- lib/builtins/addsf3.c | 12 +- lib/builtins/arm/aeabi_cdcmp.S | 18 +- lib/builtins/arm/aeabi_cdcmpeq_check_nan.c | 4 +- lib/builtins/arm/aeabi_cfcmp.S | 18 +- lib/builtins/arm/aeabi_cfcmpeq_check_nan.c | 4 +- lib/builtins/arm/aeabi_dcmp.S | 9 + lib/builtins/arm/aeabi_div0.c | 6 +- lib/builtins/arm/aeabi_drsub.c | 4 +- lib/builtins/arm/aeabi_fcmp.S | 9 + lib/builtins/arm/aeabi_frsub.c | 4 +- lib/builtins/arm/aeabi_idivmod.S | 8 +- lib/builtins/arm/aeabi_memset.S | 1 + lib/builtins/arm/aeabi_uidivmod.S | 6 +- lib/builtins/arm/bswapdi2.S | 8 +- lib/builtins/arm/bswapsi2.S | 8 +- lib/builtins/arm/clzdi2.S | 9 +- lib/builtins/arm/clzsi2.S | 8 +- lib/builtins/arm/comparesf2.S | 28 +- lib/builtins/arm/divmodsi4.S | 8 +- lib/builtins/arm/divsi3.S | 18 +- lib/builtins/arm/eqdf2vfp.S | 1 + lib/builtins/arm/eqsf2vfp.S | 1 + lib/builtins/arm/gedf2vfp.S | 1 + lib/builtins/arm/gesf2vfp.S | 1 + lib/builtins/arm/gtdf2vfp.S | 1 + lib/builtins/arm/gtsf2vfp.S | 1 + lib/builtins/arm/ledf2vfp.S | 1 + lib/builtins/arm/lesf2vfp.S | 1 + lib/builtins/arm/ltdf2vfp.S | 1 + lib/builtins/arm/ltsf2vfp.S | 1 + lib/builtins/arm/modsi3.S | 8 +- lib/builtins/arm/nedf2vfp.S | 1 + lib/builtins/arm/nesf2vfp.S | 1 + lib/builtins/arm/udivmodsi4.S | 13 +- lib/builtins/arm/udivsi3.S | 58 +- lib/builtins/arm/umodsi3.S | 12 +- lib/builtins/arm/unorddf2vfp.S | 1 + lib/builtins/arm/unordsf2vfp.S | 1 + lib/builtins/ashldi3.c | 6 +- lib/builtins/ashrdi3.c | 6 +- lib/builtins/assembly.h | 57 +- lib/builtins/bswapdi2.c | 27 + lib/builtins/bswapsi2.c | 23 + lib/builtins/clear_cache.c | 29 +- lib/builtins/comparedf2.c | 11 +- lib/builtins/comparesf2.c | 12 +- lib/builtins/cpu_model.c | 576 ++++------- lib/builtins/divdf3.c | 12 +- lib/builtins/divsf3.c | 12 +- lib/builtins/divsi3.c | 6 +- lib/builtins/divtc3.c | 22 +- lib/builtins/emutls.c | 292 ++++-- lib/builtins/enable_execute_stack.c | 2 +- lib/builtins/extendhfsf2.c | 12 +- lib/builtins/extendsfdf2.c | 12 +- lib/builtins/ffssi2.c | 29 + lib/builtins/fixdfdi.c | 11 +- lib/builtins/fixdfsi.c | 12 +- lib/builtins/fixsfdi.c | 12 +- lib/builtins/fixsfsi.c | 12 +- lib/builtins/fixunsdfdi.c | 12 +- lib/builtins/fixunsdfsi.c | 12 +- lib/builtins/fixunssfdi.c | 12 +- lib/builtins/fixunssfsi.c | 12 +- lib/builtins/floatdidf.c | 12 +- lib/builtins/floatdisf.c | 12 +- lib/builtins/floatsidf.c | 12 +- lib/builtins/floatsisf.c | 12 +- lib/builtins/floatundidf.c | 12 +- lib/builtins/floatundisf.c | 12 +- lib/builtins/floatunsidf.c | 12 +- lib/builtins/floatunsisf.c | 12 +- lib/builtins/int_endianness.h | 4 +- lib/builtins/int_lib.h | 15 +- lib/builtins/int_types.h | 4 +- lib/builtins/int_util.c | 10 + lib/builtins/lshrdi3.c | 6 +- lib/builtins/muldf3.c | 12 +- lib/builtins/muldi3.c | 6 +- lib/builtins/mulsf3.c | 12 +- lib/builtins/negdf2.c | 12 +- lib/builtins/negsf2.c | 12 +- lib/builtins/os_version_check.c | 88 +- lib/builtins/subdf3.c | 11 +- lib/builtins/subsf3.c | 11 +- lib/builtins/truncdfhf2.c | 12 +- lib/builtins/truncdfsf2.c | 12 +- lib/builtins/truncsfhf2.c | 12 +- lib/builtins/udivsi3.c | 6 +- lib/builtins/x86_64/floatdidf.c | 2 +- lib/builtins/x86_64/floatdisf.c | 2 +- lib/cfi/CMakeLists.txt | 60 +- lib/cfi/cfi.cc | 14 +- lib/cfi/cfi_blacklist.txt | 21 +- lib/dfsan/dfsan.cc | 1 + lib/dfsan/done_abilist.txt | 16 - lib/esan/esan_interceptors.cpp | 16 +- lib/esan/esan_sideline_linux.cpp | 2 +- lib/esan/working_set.cpp | 19 +- lib/fuzzer/CMakeLists.txt | 79 ++ lib/fuzzer/FuzzerClangCounters.cpp | 49 + lib/fuzzer/FuzzerCorpus.h | 302 ++++++ lib/fuzzer/FuzzerCrossOver.cpp | 52 + lib/fuzzer/FuzzerDefs.h | 157 +++ lib/fuzzer/FuzzerDictionary.h | 127 +++ lib/fuzzer/FuzzerDriver.cpp | 752 ++++++++++++++ lib/fuzzer/FuzzerExtFunctions.def | 47 + lib/fuzzer/FuzzerExtFunctions.h | 35 + lib/fuzzer/FuzzerExtFunctionsDlsym.cpp | 52 + lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp | 62 ++ lib/fuzzer/FuzzerExtFunctionsWeak.cpp | 54 + lib/fuzzer/FuzzerExtFunctionsWeakAlias.cpp | 56 ++ lib/fuzzer/FuzzerExtraCounters.cpp | 41 + lib/fuzzer/FuzzerFlags.def | 148 +++ lib/fuzzer/FuzzerIO.cpp | 129 +++ lib/fuzzer/FuzzerIO.h | 85 ++ lib/fuzzer/FuzzerIOPosix.cpp | 130 +++ lib/fuzzer/FuzzerIOWindows.cpp | 323 ++++++ lib/fuzzer/FuzzerInterface.h | 67 ++ lib/fuzzer/FuzzerInternal.h | 152 +++ lib/fuzzer/FuzzerLoop.cpp | 817 +++++++++++++++ lib/fuzzer/FuzzerMain.cpp | 21 + lib/fuzzer/FuzzerMerge.cpp | 345 +++++++ lib/fuzzer/FuzzerMerge.h | 80 ++ lib/fuzzer/FuzzerMutate.cpp | 533 ++++++++++ lib/fuzzer/FuzzerMutate.h | 150 +++ lib/fuzzer/FuzzerOptions.h | 72 ++ lib/fuzzer/FuzzerRandom.h | 34 + lib/fuzzer/FuzzerSHA1.cpp | 222 +++++ lib/fuzzer/FuzzerSHA1.h | 33 + lib/fuzzer/FuzzerShmem.h | 69 ++ lib/fuzzer/FuzzerShmemPosix.cpp | 103 ++ lib/fuzzer/FuzzerShmemWindows.cpp | 64 ++ lib/fuzzer/FuzzerTracePC.cpp | 602 ++++++++++++ lib/fuzzer/FuzzerTracePC.h | 267 +++++ lib/fuzzer/FuzzerUtil.cpp | 215 ++++ lib/fuzzer/FuzzerUtil.h | 84 ++ lib/fuzzer/FuzzerUtilDarwin.cpp | 161 +++ lib/fuzzer/FuzzerUtilLinux.cpp | 24 + lib/fuzzer/FuzzerUtilPosix.cpp | 143 +++ lib/fuzzer/FuzzerUtilWindows.cpp | 192 ++++ lib/fuzzer/FuzzerValueBitMap.h | 73 ++ lib/fuzzer/README.txt | 1 + lib/fuzzer/afl/afl_driver.cpp | 341 +++++++ lib/fuzzer/build.sh | 11 + lib/fuzzer/scripts/unbalanced_allocs.py | 93 ++ lib/fuzzer/standalone/StandaloneFuzzTargetMain.c | 41 + lib/fuzzer/tests/CMakeLists.txt | 46 + lib/fuzzer/tests/FuzzerUnittest.cpp | 772 +++++++++++++++ lib/interception/interception.h | 41 +- lib/interception/interception_linux.cc | 13 +- lib/interception/interception_linux.h | 4 +- lib/interception/interception_win.cc | 20 +- lib/interception/tests/CMakeLists.txt | 50 +- lib/interception/tests/interception_win_test.cc | 11 + lib/lsan/CMakeLists.txt | 12 +- lib/lsan/lsan.cc | 17 + lib/lsan/lsan.h | 49 +- lib/lsan/lsan_allocator.cc | 101 +- lib/lsan/lsan_allocator.h | 64 ++ lib/lsan/lsan_common.cc | 235 +++-- lib/lsan/lsan_common.h | 73 +- lib/lsan/lsan_common_linux.cc | 97 +- lib/lsan/lsan_common_mac.cc | 145 ++- lib/lsan/lsan_interceptors.cc | 195 +++- lib/lsan/lsan_linux.cc | 33 + lib/lsan/lsan_mac.cc | 192 ++++ lib/lsan/lsan_malloc_mac.cc | 55 ++ lib/lsan/lsan_thread.cc | 9 +- lib/lsan/lsan_thread.h | 2 +- lib/lsan/weak_symbols.txt | 1 + lib/msan/msan.h | 14 +- lib/msan/msan_allocator.cc | 131 ++- lib/msan/msan_interceptors.cc | 230 ++--- lib/msan/msan_linux.cc | 6 +- lib/msan/msan_new_delete.cc | 20 +- lib/msan/msan_report.cc | 23 +- lib/msan/tests/CMakeLists.txt | 36 +- lib/msan/tests/msan_test.cc | 429 +++++--- lib/profile/CMakeLists.txt | 1 + lib/profile/GCDAProfiling.c | 9 +- lib/profile/InstrProfData.inc | 86 +- lib/profile/InstrProfiling.c | 2 - lib/profile/InstrProfilingBuffer.c | 17 +- lib/profile/InstrProfilingFile.c | 65 +- lib/profile/InstrProfilingInternal.h | 33 +- lib/profile/InstrProfilingNameVar.c | 18 + lib/profile/InstrProfilingUtil.c | 23 + lib/profile/InstrProfilingUtil.h | 8 + lib/profile/InstrProfilingValue.c | 31 +- lib/profile/InstrProfilingWriter.c | 71 +- lib/safestack/safestack.cc | 2 + lib/sanitizer_common/CMakeLists.txt | 30 +- lib/sanitizer_common/sanitizer_allocator.cc | 60 +- lib/sanitizer_common/sanitizer_allocator.h | 40 +- lib/sanitizer_common/sanitizer_allocator_checks.cc | 23 + lib/sanitizer_common/sanitizer_allocator_checks.h | 75 ++ .../sanitizer_allocator_combined.h | 68 +- .../sanitizer_allocator_interface.h | 6 +- .../sanitizer_allocator_internal.h | 25 +- .../sanitizer_allocator_local_cache.h | 145 +-- .../sanitizer_allocator_primary32.h | 122 ++- .../sanitizer_allocator_primary64.h | 611 +++++++++--- .../sanitizer_allocator_secondary.h | 38 +- .../sanitizer_allocator_size_class_map.h | 30 +- lib/sanitizer_common/sanitizer_atomic_clang.h | 21 +- .../sanitizer_atomic_clang_other.h | 64 ++ lib/sanitizer_common/sanitizer_common.cc | 169 +--- lib/sanitizer_common/sanitizer_common.h | 245 ++--- .../sanitizer_common_interceptors.inc | 288 +++++- .../sanitizer_common_interceptors_format.inc | 12 +- .../sanitizer_common_interface.inc | 3 +- lib/sanitizer_common/sanitizer_common_libcdep.cc | 186 +++- lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 240 +++++ .../sanitizer_coverage_interface.inc | 21 +- lib/sanitizer_common/sanitizer_coverage_libcdep.cc | 1035 -------------------- .../sanitizer_coverage_libcdep_new.cc | 65 +- .../sanitizer_coverage_mapping_libcdep.cc | 122 --- lib/sanitizer_common/sanitizer_errno.cc | 35 + lib/sanitizer_common/sanitizer_errno.h | 37 + lib/sanitizer_common/sanitizer_errno_codes.h | 34 + lib/sanitizer_common/sanitizer_file.cc | 177 ++++ lib/sanitizer_common/sanitizer_file.h | 110 +++ lib/sanitizer_common/sanitizer_flag_parser.h | 31 +- lib/sanitizer_common/sanitizer_flags.h | 6 + lib/sanitizer_common/sanitizer_flags.inc | 75 +- lib/sanitizer_common/sanitizer_fuchsia.cc | 543 ++++++++++ lib/sanitizer_common/sanitizer_fuchsia.h | 31 + .../sanitizer_interface_internal.h | 13 +- lib/sanitizer_common/sanitizer_internal_defs.h | 28 +- lib/sanitizer_common/sanitizer_libignore.cc | 5 +- lib/sanitizer_common/sanitizer_linux.cc | 550 +++++++++-- lib/sanitizer_common/sanitizer_linux.h | 67 +- lib/sanitizer_common/sanitizer_linux_libcdep.cc | 108 +- lib/sanitizer_common/sanitizer_linux_s390.cc | 7 + lib/sanitizer_common/sanitizer_mac.cc | 166 +++- lib/sanitizer_common/sanitizer_mac.h | 13 + lib/sanitizer_common/sanitizer_mac_libcdep.cc | 30 + lib/sanitizer_common/sanitizer_malloc_mac.inc | 3 + lib/sanitizer_common/sanitizer_platform.h | 38 +- .../sanitizer_platform_interceptors.h | 345 ++++--- .../sanitizer_platform_limits_netbsd.cc | 361 +++++++ .../sanitizer_platform_limits_netbsd.h | 568 +++++++++++ .../sanitizer_platform_limits_posix.cc | 9 - .../sanitizer_platform_limits_posix.h | 17 +- lib/sanitizer_common/sanitizer_posix.cc | 197 ++-- lib/sanitizer_common/sanitizer_posix.h | 4 + lib/sanitizer_common/sanitizer_posix_libcdep.cc | 90 +- lib/sanitizer_common/sanitizer_printf.cc | 35 +- lib/sanitizer_common/sanitizer_procmaps.h | 97 +- lib/sanitizer_common/sanitizer_procmaps_common.cc | 61 +- lib/sanitizer_common/sanitizer_procmaps_freebsd.cc | 79 +- lib/sanitizer_common/sanitizer_procmaps_linux.cc | 89 +- lib/sanitizer_common/sanitizer_procmaps_mac.cc | 251 +++-- lib/sanitizer_common/sanitizer_quarantine.h | 33 +- lib/sanitizer_common/sanitizer_report_decorator.h | 5 +- .../sanitizer_signal_interceptors.inc | 67 ++ lib/sanitizer_common/sanitizer_stacktrace.h | 9 +- .../sanitizer_stacktrace_libcdep.cc | 3 +- .../sanitizer_stacktrace_printer.cc | 7 + lib/sanitizer_common/sanitizer_stoptheworld.h | 38 +- .../sanitizer_stoptheworld_linux_libcdep.cc | 103 +- lib/sanitizer_common/sanitizer_stoptheworld_mac.cc | 162 ++- lib/sanitizer_common/sanitizer_suppressions.cc | 3 + lib/sanitizer_common/sanitizer_symbolizer.cc | 4 + lib/sanitizer_common/sanitizer_symbolizer.h | 4 + .../sanitizer_symbolizer_fuchsia.cc | 107 ++ .../sanitizer_symbolizer_internal.h | 1 + .../sanitizer_symbolizer_libcdep.cc | 72 +- .../sanitizer_symbolizer_posix_libcdep.cc | 15 +- lib/sanitizer_common/sanitizer_syscall_generic.inc | 34 +- .../sanitizer_syscall_linux_aarch64.inc | 3 + .../sanitizer_syscall_linux_x86_64.inc | 3 + lib/sanitizer_common/sanitizer_thread_registry.cc | 36 +- lib/sanitizer_common/sanitizer_thread_registry.h | 8 +- lib/sanitizer_common/sanitizer_tls_get_addr.cc | 26 +- lib/sanitizer_common/sanitizer_tls_get_addr.h | 2 + .../sanitizer_unwind_linux_libcdep.cc | 9 +- lib/sanitizer_common/sanitizer_win.cc | 215 ++-- lib/sanitizer_common/scripts/check_lint.sh | 2 +- lib/sanitizer_common/scripts/sancov.py | 2 +- .../symbolizer/scripts/build_symbolizer.sh | 7 +- .../symbolizer/scripts/global_symbols.txt | 2 + lib/sanitizer_common/tests/CMakeLists.txt | 56 +- .../tests/sanitizer_allocator_test.cc | 387 +++++++- .../tests/sanitizer_bitvector_test.cc | 4 +- .../tests/sanitizer_common_test.cc | 89 +- lib/sanitizer_common/tests/sanitizer_flags_test.cc | 38 +- lib/sanitizer_common/tests/sanitizer_libc_test.cc | 1 + lib/sanitizer_common/tests/sanitizer_linux_test.cc | 1 + lib/sanitizer_common/tests/sanitizer_test_utils.h | 12 +- lib/scudo/CMakeLists.txt | 54 +- lib/scudo/scudo_allocator.cpp | 703 ++++++------- lib/scudo/scudo_allocator.h | 102 +- lib/scudo/scudo_allocator_combined.h | 76 ++ lib/scudo/scudo_allocator_secondary.h | 126 +-- lib/scudo/scudo_crc32.cpp | 19 +- lib/scudo/scudo_crc32.h | 101 ++ lib/scudo/scudo_flags.cpp | 49 +- lib/scudo/scudo_flags.inc | 22 +- lib/scudo/scudo_new_delete.cpp | 11 +- lib/scudo/scudo_platform.h | 73 ++ lib/scudo/scudo_tsd.h | 73 ++ lib/scudo/scudo_tsd_exclusive.cpp | 68 ++ lib/scudo/scudo_tsd_exclusive.inc | 46 + lib/scudo/scudo_tsd_shared.cpp | 94 ++ lib/scudo/scudo_tsd_shared.inc | 48 + lib/scudo/scudo_utils.cpp | 146 +-- lib/scudo/scudo_utils.h | 65 +- lib/stats/CMakeLists.txt | 5 +- lib/stats/stats.cc | 1 + lib/tsan/CMakeLists.txt | 10 +- lib/tsan/check_analyze.sh | 22 +- lib/tsan/dd/CMakeLists.txt | 4 +- lib/tsan/dd/dd_interceptors.cc | 19 +- lib/tsan/go/buildgo.sh | 21 +- lib/tsan/go/tsan_go.cc | 8 +- lib/tsan/rtl/tsan.syms.extra | 10 + lib/tsan/rtl/tsan_clock.cc | 501 ++++++---- lib/tsan/rtl/tsan_clock.h | 213 ++-- lib/tsan/rtl/tsan_debugging.cc | 4 +- lib/tsan/rtl/tsan_defs.h | 42 +- lib/tsan/rtl/tsan_dense_alloc.h | 11 +- lib/tsan/rtl/tsan_external.cc | 95 +- lib/tsan/rtl/tsan_fd.cc | 6 +- lib/tsan/rtl/tsan_flags.cc | 4 - lib/tsan/rtl/tsan_flags.h | 1 - lib/tsan/rtl/tsan_interceptors.cc | 186 ++-- lib/tsan/rtl/tsan_interceptors.h | 2 + lib/tsan/rtl/tsan_interceptors_mac.cc | 13 + lib/tsan/rtl/tsan_interface.h | 7 +- lib/tsan/rtl/tsan_interface_ann.cc | 112 ++- lib/tsan/rtl/tsan_interface_atomic.cc | 43 +- lib/tsan/rtl/tsan_interface_java.cc | 14 +- lib/tsan/rtl/tsan_libdispatch_mac.cc | 29 +- lib/tsan/rtl/tsan_malloc_mac.cc | 4 +- lib/tsan/rtl/tsan_mman.cc | 101 +- lib/tsan/rtl/tsan_mman.h | 15 +- lib/tsan/rtl/tsan_new_delete.cc | 13 +- lib/tsan/rtl/tsan_platform.h | 63 +- lib/tsan/rtl/tsan_platform_linux.cc | 62 +- lib/tsan/rtl/tsan_platform_mac.cc | 53 +- lib/tsan/rtl/tsan_platform_posix.cc | 27 +- lib/tsan/rtl/tsan_report.cc | 57 +- lib/tsan/rtl/tsan_report.h | 3 +- lib/tsan/rtl/tsan_rtl.cc | 21 +- lib/tsan/rtl/tsan_rtl.h | 80 +- lib/tsan/rtl/tsan_rtl_aarch64.S | 127 ++- lib/tsan/rtl/tsan_rtl_amd64.S | 6 + lib/tsan/rtl/tsan_rtl_mutex.cc | 134 ++- lib/tsan/rtl/tsan_rtl_report.cc | 57 +- lib/tsan/rtl/tsan_rtl_thread.cc | 21 +- lib/tsan/rtl/tsan_stat.cc | 15 +- lib/tsan/rtl/tsan_stat.h | 15 +- lib/tsan/rtl/tsan_sync.cc | 9 +- lib/tsan/rtl/tsan_sync.h | 50 +- lib/tsan/rtl/tsan_trace.h | 2 + lib/tsan/tests/CMakeLists.txt | 104 +- lib/tsan/tests/rtl/tsan_posix.cc | 5 +- lib/tsan/tests/rtl/tsan_test_util_posix.cc | 4 +- lib/tsan/tests/unit/tsan_clock_test.cc | 85 +- lib/tsan/tests/unit/tsan_mman_test.cc | 89 +- lib/ubsan/CMakeLists.txt | 48 +- lib/ubsan/ubsan_checks.inc | 2 + lib/ubsan/ubsan_diag.cc | 45 +- lib/ubsan/ubsan_diag.h | 12 + lib/ubsan/ubsan_diag_standalone.cc | 38 + lib/ubsan/ubsan_flags.cc | 1 + lib/ubsan/ubsan_handlers.cc | 163 ++- lib/ubsan/ubsan_handlers.h | 40 +- lib/ubsan/ubsan_handlers_cxx.cc | 4 +- lib/ubsan/ubsan_init.cc | 44 +- lib/ubsan/ubsan_init.h | 3 + lib/ubsan/ubsan_init_standalone.cc | 13 +- lib/ubsan/ubsan_init_standalone_preinit.cc | 37 + lib/ubsan/ubsan_interface.inc | 15 +- lib/ubsan/ubsan_platform.h | 9 +- lib/ubsan/ubsan_signals_standalone.cc | 54 + lib/ubsan/ubsan_signals_standalone.h | 25 + lib/ubsan/ubsan_type_hash_itanium.cc | 4 +- lib/ubsan_minimal/CMakeLists.txt | 53 + lib/{ubsan => ubsan_minimal}/ubsan.syms.extra | 0 lib/ubsan_minimal/ubsan_minimal_handlers.cc | 96 ++ lib/xray/CMakeLists.txt | 2 + lib/xray/tests/CMakeLists.txt | 48 +- lib/xray/tests/unit/buffer_queue_test.cc | 35 +- lib/xray/tests/unit/fdr_logging_test.cc | 2 - lib/xray/xray_AArch64.cc | 13 +- lib/xray/xray_always_instrument.txt | 6 + lib/xray/xray_arm.cc | 12 +- lib/xray/xray_buffer_queue.cc | 98 +- lib/xray/xray_buffer_queue.h | 124 ++- lib/xray/xray_fdr_log_records.h | 67 ++ lib/xray/xray_fdr_logging.cc | 585 ++++------- lib/xray/xray_fdr_logging.h | 63 +- lib/xray/xray_fdr_logging_impl.h | 783 +++++++++++++++ lib/xray/xray_flags.inc | 3 + lib/xray/xray_init.cc | 54 +- lib/xray/xray_inmemory_log.cc | 172 +++- lib/xray/xray_interface.cc | 229 +++-- lib/xray/xray_interface_internal.h | 15 +- lib/xray/xray_log_interface.cc | 40 +- lib/xray/xray_mips.cc | 9 +- lib/xray/xray_mips64.cc | 8 +- lib/xray/xray_never_instrument.txt | 6 + lib/xray/xray_powerpc64.cc | 6 + lib/xray/xray_trampoline_AArch64.S | 4 + lib/xray/xray_trampoline_arm.S | 4 + lib/xray/xray_trampoline_powerpc64_asm.S | 90 +- lib/xray/xray_trampoline_x86_64.S | 163 +-- lib/xray/xray_tsc.h | 8 +- lib/xray/xray_utils.cc | 6 +- lib/xray/xray_x86_64.cc | 62 +- test/CMakeLists.txt | 84 +- test/asan/CMakeLists.txt | 94 +- test/asan/TestCases/Android/coverage-android.cc | 147 --- test/asan/TestCases/Darwin/abort_on_error.cc | 2 + test/asan/TestCases/Darwin/address-range-limit.mm | 3 + test/asan/TestCases/Darwin/asan_gen_prefixes.cc | 2 + .../Darwin/atos-symbolizer-dyld-root-path.cc | 3 + test/asan/TestCases/Darwin/atos-symbolizer.cc | 3 + test/asan/TestCases/Darwin/dead-strip.c | 1 + test/asan/TestCases/Darwin/dladdr-demangling.cc | 3 + test/asan/TestCases/Darwin/dump_registers.cc | 16 +- .../Darwin/dyld_insert_libraries_reexec.cc | 18 +- .../Darwin/dyld_insert_libraries_remove.cc | 22 +- .../asan/TestCases/Darwin/haswell-symbolication.cc | 1 + .../TestCases/Darwin/interface_symbols_darwin.c | 34 - .../TestCases/Darwin/interface_symbols_darwin.cc | 36 + .../Darwin/malloc_set_zone_name-mprotect.cc | 1 + test/asan/TestCases/Darwin/nil-return-struct.mm | 31 + .../Darwin/reexec-insert-libraries-env.cc | 4 +- test/asan/TestCases/Darwin/sandbox-symbolizer.cc | 3 + test/asan/TestCases/Darwin/scribble.cc | 58 ++ test/asan/TestCases/Darwin/suppressions-darwin.cc | 1 + .../asan/TestCases/Darwin/suppressions-function.cc | 28 + test/asan/TestCases/Darwin/suppressions-sandbox.cc | 4 + .../Darwin/unset-insert-libraries-on-exec.cc | 10 +- test/asan/TestCases/Darwin/uuid.cc | 3 + test/asan/TestCases/Helpers/underflow.cc | 1 + test/asan/TestCases/Linux/abort_on_error.cc | 1 + test/asan/TestCases/Linux/aligned_delete_test.cc | 168 ++++ test/asan/TestCases/Linux/allocator_oom_test.cc | 87 ++ test/asan/TestCases/Linux/asan_dlopen_test.cc | 2 + test/asan/TestCases/Linux/asan_preload_test-1.cc | 2 +- test/asan/TestCases/Linux/asan_preload_test-2.cc | 2 +- test/asan/TestCases/Linux/asan_preload_test-3.cc | 36 + test/asan/TestCases/Linux/calloc-preload.c | 2 +- test/asan/TestCases/Linux/clang_gcc_abi.cc | 2 +- test/asan/TestCases/Linux/coverage-missing.cc | 28 +- test/asan/TestCases/Linux/global-overflow-bfd.cc | 18 + test/asan/TestCases/Linux/global-overflow-lld.cc | 19 + .../TestCases/Linux/globals-gc-sections-lld.cc | 15 + test/asan/TestCases/Linux/globals-gc-sections.cc | 13 - test/asan/TestCases/Linux/init_fini_sections.cc | 16 +- .../asan/TestCases/Linux/interface_symbols_linux.c | 32 - .../TestCases/Linux/interface_symbols_linux.cc | 32 + test/asan/TestCases/Linux/longjmp_chk.c | 51 + test/asan/TestCases/Linux/memmem_test.cc | 4 +- test/asan/TestCases/Linux/preinstalled_signal.cc | 113 +++ .../TestCases/Linux/print_memory_profile_test.cc | 26 +- test/asan/TestCases/Linux/pvalloc-overflow.cc | 41 + .../TestCases/Linux/read_binary_name_regtest.c | 1 + test/asan/TestCases/Linux/recoverable-lsan.cc | 22 + test/asan/TestCases/Linux/release_to_os_test.cc | 18 +- .../Linux/sanbox_read_proc_self_maps_test.cc | 28 + .../asan/TestCases/Linux/swapcontext_annotation.cc | 9 +- test/asan/TestCases/Linux/textdomain.c | 13 + test/asan/TestCases/Linux/uar_signals.cc | 33 +- test/asan/TestCases/Posix/allow_user_segv.cc | 59 -- test/asan/TestCases/Posix/asan-sigbus.cpp | 10 +- .../TestCases/Posix/asan-symbolize-sanity-test.cc | 2 + test/asan/TestCases/Posix/closed-fds.cc | 4 +- test/asan/TestCases/Posix/concurrent_overflow.cc | 33 + .../asan/TestCases/Posix/coverage-caller-callee.cc | 75 -- .../TestCases/Posix/coverage-direct-activation.cc | 59 -- test/asan/TestCases/Posix/coverage-direct-large.cc | 65 -- test/asan/TestCases/Posix/coverage-direct.cc | 83 -- test/asan/TestCases/Posix/coverage-fork-direct.cc | 38 - test/asan/TestCases/Posix/coverage-fork.cc | 10 +- .../TestCases/Posix/coverage-maybe-open-file.cc | 32 - .../TestCases/Posix/coverage-module-unloaded.cc | 21 +- test/asan/TestCases/Posix/coverage-reset.cc | 65 ++ test/asan/TestCases/Posix/coverage-sandboxing.cc | 86 -- test/asan/TestCases/Posix/coverage.cc | 32 +- test/asan/TestCases/Posix/deep_call_stack.cc | 8 +- .../asan/TestCases/Posix/dump_instruction_bytes.cc | 20 - test/asan/TestCases/Posix/fread_fwrite.cc | 34 + test/asan/TestCases/Posix/glob.cc | 1 + test/asan/TestCases/Posix/halt_on_error-signals.c | 5 +- test/asan/TestCases/Posix/halt_on_error-torture.cc | 28 +- .../Posix/halt_on_error_suppress_equal_pcs.cc | 9 +- test/asan/TestCases/Posix/handle_abort_on_error.cc | 2 + test/asan/TestCases/Posix/new_array_cookie_test.cc | 3 + .../TestCases/Posix/new_array_cookie_uaf_test.cc | 3 + .../Posix/new_array_cookie_with_new_from_class.cc | 3 + test/asan/TestCases/Posix/stack-overflow.cc | 2 + .../asan/TestCases/Posix/stack-use-after-return.cc | 43 +- test/asan/TestCases/Posix/start-deactivated.cc | 1 + test/asan/TestCases/Posix/strchr.c | 34 + test/asan/TestCases/Posix/strndup_oob_test.cc | 27 + test/asan/TestCases/Posix/strndup_oob_test2.cc | 22 + test/asan/TestCases/Posix/wait.cc | 1 + test/asan/TestCases/Posix/wait3.cc | 2 +- test/asan/TestCases/Posix/wait4.cc | 1 + test/asan/TestCases/Posix/waitid.cc | 2 + test/asan/TestCases/Windows/coverage-dll-stdio.cc | 4 +- .../asan/TestCases/Windows/dll_global_dead_strip.c | 4 +- .../asan/TestCases/Windows/dll_intercept_memchr.cc | 2 +- .../asan/TestCases/Windows/dll_intercept_memcpy.cc | 2 +- .../Windows/dll_intercept_memcpy_indirect.cc | 2 +- .../asan/TestCases/Windows/dll_intercept_memset.cc | 2 +- test/asan/TestCases/Windows/dll_noreturn.cc | 2 +- test/asan/TestCases/Windows/dll_poison_unpoison.cc | 2 +- .../Windows/dll_stack_use_after_return.cc | 2 +- .../Windows/dll_thread_stack_array_left_oob.cc | 2 +- test/asan/TestCases/Windows/fuse-lld.cc | 6 +- test/asan/TestCases/Windows/global_dead_strip.c | 4 +- test/asan/TestCases/Windows/intercept_memcpy.cc | 2 +- test/asan/TestCases/Windows/intercept_strlen.cc | 2 +- .../TestCases/Windows/interface_symbols_windows.c | 51 - .../TestCases/Windows/interface_symbols_windows.cc | 53 + test/asan/TestCases/Windows/oom.cc | 2 +- test/asan/TestCases/Windows/shadow_conflict_32.cc | 6 +- .../asan/TestCases/Windows/stack_array_left_oob.cc | 2 +- .../TestCases/Windows/stack_array_right_oob.cc | 2 +- .../TestCases/Windows/stack_use_after_return.cc | 2 +- .../TestCases/Windows/wrong_downcast_on_stack.cc | 2 +- test/asan/TestCases/alloca_constant_size.cc | 2 +- test/asan/TestCases/allocator_returns_null.cc | 117 ++- test/asan/TestCases/asan_and_llvm_coverage_test.cc | 2 +- test/asan/TestCases/atexit_stats.cc | 2 +- test/asan/TestCases/coverage-and-lsan.cc | 4 +- .../coverage-caller-callee-total-count.cc | 42 - test/asan/TestCases/coverage-disabled.cc | 5 - test/asan/TestCases/coverage-levels.cc | 34 - test/asan/TestCases/coverage-order-pcs.cc | 57 -- test/asan/TestCases/coverage-reset.cc | 63 -- test/asan/TestCases/coverage-tracing.cc | 51 - test/asan/TestCases/default_blacklist.cc | 1 + test/asan/TestCases/error_report_callback.cc | 21 + test/asan/TestCases/global-address.cpp | 4 +- test/asan/TestCases/global-underflow.cc | 17 + test/asan/TestCases/heavy_uar_test.cc | 5 + test/asan/TestCases/initialization-bug.cc | 1 + test/asan/TestCases/invalid-pointer-pairs.cc | 6 +- test/asan/TestCases/log-path_test.cc | 1 + test/asan/TestCases/malloc-no-intercept.c | 3 + test/asan/TestCases/non-executable-pc.cpp | 4 +- test/asan/TestCases/pass-object-byval.cc | 40 + test/asan/TestCases/pass-struct-byval-uar.cc | 38 + test/asan/TestCases/pass-struct-byval.cc | 23 + test/asan/TestCases/pr33372.cc | 39 + test/asan/TestCases/realloc.cc | 21 + test/asan/TestCases/sleep_after_init.c | 10 + test/asan/TestCases/small_memcpy_test.cc | 28 + .../stack-buffer-overflow-with-position.cc | 24 +- test/asan/TestCases/strcasestr-1.c | 2 +- test/asan/TestCases/strcasestr-2.c | 2 +- test/asan/TestCases/strcspn-1.c | 2 +- test/asan/TestCases/strcspn-2.c | 2 +- test/asan/TestCases/strpbrk-1.c | 2 +- test/asan/TestCases/strpbrk-2.c | 2 +- test/asan/TestCases/strspn-1.c | 2 +- test/asan/TestCases/strspn-2.c | 2 +- test/asan/TestCases/strstr-1.c | 2 +- test/asan/TestCases/strstr-2.c | 2 +- test/asan/TestCases/strtok.c | 103 ++ .../suppressions-exec-relative-location.cc | 1 + test/asan/TestCases/suppressions-function.cc | 5 + test/asan/TestCases/throw_call_test.cc | 3 - test/asan/TestCases/use-after-scope-conversion.cc | 50 + test/asan/TestCases/use-after-scope-inlined.cc | 8 +- test/asan/TestCases/use-after-scope.cc | 4 + test/asan/TestCases/verbose-log-path_test.cc | 3 +- test/asan/android_commands/android_common.py | 44 - test/asan/android_commands/android_run.py | 41 - test/asan/lit.cfg | 80 +- test/asan/lit.site.cfg.in | 4 +- test/builtins/CMakeLists.txt | 27 + .../os_version_check_test_no_core_foundation.c | 12 + test/builtins/Unit/absvdi2_test.c | 1 + test/builtins/Unit/absvsi2_test.c | 1 + test/builtins/Unit/absvti2_test.c | 1 + test/builtins/Unit/adddf3vfp_test.c | 1 + test/builtins/Unit/addsf3vfp_test.c | 1 + test/builtins/Unit/addtf3_test.c | 1 + test/builtins/Unit/addvdi3_test.c | 1 + test/builtins/Unit/addvsi3_test.c | 1 + test/builtins/Unit/addvti3_test.c | 1 + test/builtins/Unit/arm/aeabi_cdcmpeq_test.c | 3 + test/builtins/Unit/arm/aeabi_cdcmple_test.c | 4 + test/builtins/Unit/arm/aeabi_cfcmpeq_test.c | 3 + test/builtins/Unit/arm/aeabi_cfcmple_test.c | 4 + test/builtins/Unit/arm/aeabi_drsub_test.c | 2 + test/builtins/Unit/arm/aeabi_frsub_test.c | 2 + test/builtins/Unit/arm/aeabi_idivmod_test.c | 2 + test/builtins/Unit/arm/aeabi_uidivmod_test.c | 2 + test/builtins/Unit/arm/aeabi_uldivmod_test.c | 2 + test/builtins/Unit/arm/call_apsr.S | 8 +- test/builtins/Unit/ashldi3_test.c | 1 + test/builtins/Unit/ashlti3_test.c | 1 + test/builtins/Unit/ashrdi3_test.c | 1 + test/builtins/Unit/ashrti3_test.c | 1 + test/builtins/Unit/bswapdi2_test.c | 39 +- test/builtins/Unit/bswapsi2_test.c | 39 +- test/builtins/Unit/clear_cache_test.c | 26 +- test/builtins/Unit/clzdi2_test.c | 1 + test/builtins/Unit/clzsi2_test.c | 1 + test/builtins/Unit/clzti2_test.c | 1 + test/builtins/Unit/cmpdi2_test.c | 1 + test/builtins/Unit/cmpti2_test.c | 1 + test/builtins/Unit/comparedf2_test.c | 2 + test/builtins/Unit/comparesf2_test.c | 2 + test/builtins/Unit/cpu_model_test.c | 8 +- test/builtins/Unit/ctzdi2_test.c | 1 + test/builtins/Unit/ctzsi2_test.c | 1 + test/builtins/Unit/ctzti2_test.c | 1 + test/builtins/Unit/divdc3_test.c | 3 + test/builtins/Unit/divdf3vfp_test.c | 1 + test/builtins/Unit/divdi3_test.c | 1 + test/builtins/Unit/divmodsi4_test.c | 1 + test/builtins/Unit/divsc3_test.c | 3 + test/builtins/Unit/divsf3vfp_test.c | 1 + test/builtins/Unit/divsi3_test.c | 1 + test/builtins/Unit/divtc3_test.c | 3 + test/builtins/Unit/divtf3_test.c | 1 + test/builtins/Unit/divti3_test.c | 1 + test/builtins/Unit/divxc3_test.c | 5 + test/builtins/Unit/enable_execute_stack_test.c | 34 +- test/builtins/Unit/endianness.h | 4 +- test/builtins/Unit/eqdf2vfp_test.c | 2 + test/builtins/Unit/eqsf2vfp_test.c | 2 + test/builtins/Unit/eqtf2_test.c | 1 + test/builtins/Unit/extebdsfdf2vfp_test.c | 1 + test/builtins/Unit/extenddftf2_test.c | 1 + test/builtins/Unit/extendhfsf2_test.c | 1 + test/builtins/Unit/extendsftf2_test.c | 1 + test/builtins/Unit/ffsdi2_test.c | 1 + test/builtins/Unit/ffssi2_test.c | 57 ++ test/builtins/Unit/ffsti2_test.c | 1 + test/builtins/Unit/fixdfdi_test.c | 1 + test/builtins/Unit/fixdfsivfp_test.c | 2 + test/builtins/Unit/fixdfti_test.c | 1 + test/builtins/Unit/fixsfdi_test.c | 1 + test/builtins/Unit/fixsfsivfp_test.c | 2 + test/builtins/Unit/fixsfti_test.c | 1 + test/builtins/Unit/fixtfdi_test.c | 1 + test/builtins/Unit/fixtfsi_test.c | 1 + test/builtins/Unit/fixtfti_test.c | 1 + test/builtins/Unit/fixunsdfdi_test.c | 1 + test/builtins/Unit/fixunsdfsi_test.c | 1 + test/builtins/Unit/fixunsdfsivfp_test.c | 1 + test/builtins/Unit/fixunsdfti_test.c | 1 + test/builtins/Unit/fixunssfdi_test.c | 1 + test/builtins/Unit/fixunssfsi_test.c | 1 + test/builtins/Unit/fixunssfsivfp_test.c | 2 + test/builtins/Unit/fixunssfti_test.c | 1 + test/builtins/Unit/fixunstfdi_test.c | 1 + test/builtins/Unit/fixunstfsi_test.c | 1 + test/builtins/Unit/fixunstfti_test.c | 3 + test/builtins/Unit/fixunsxfdi_test.c | 1 + test/builtins/Unit/fixunsxfsi_test.c | 1 + test/builtins/Unit/fixunsxfti_test.c | 3 + test/builtins/Unit/fixxfdi_test.c | 1 + test/builtins/Unit/fixxfti_test.c | 3 + test/builtins/Unit/floatdidf_test.c | 1 + test/builtins/Unit/floatdisf_test.c | 1 + test/builtins/Unit/floatditf_test.c | 1 + test/builtins/Unit/floatdixf_test.c | 1 + test/builtins/Unit/floatsidfvfp_test.c | 1 + test/builtins/Unit/floatsisfvfp_test.c | 1 + test/builtins/Unit/floatsitf_test.c | 1 + test/builtins/Unit/floattidf_test.c | 1 + test/builtins/Unit/floattisf_test.c | 1 + test/builtins/Unit/floattitf_test.c | 1 + test/builtins/Unit/floattixf_test.c | 3 + test/builtins/Unit/floatundidf_test.c | 1 + test/builtins/Unit/floatundisf_test.c | 1 + test/builtins/Unit/floatunditf_test.c | 1 + test/builtins/Unit/floatundixf_test.c | 1 + test/builtins/Unit/floatunsitf_test.c | 1 + test/builtins/Unit/floatunssidfvfp_test.c | 1 + test/builtins/Unit/floatunssisfvfp_test.c | 1 + test/builtins/Unit/floatuntidf_test.c | 1 + test/builtins/Unit/floatuntisf_test.c | 1 + test/builtins/Unit/floatuntitf_test.c | 1 + test/builtins/Unit/floatuntixf_test.c | 3 + test/builtins/Unit/fp_test.h | 8 +- test/builtins/Unit/gcc_personality_test.c | 3 + test/builtins/Unit/gedf2vfp_test.c | 2 + test/builtins/Unit/gesf2vfp_test.c | 2 + test/builtins/Unit/getf2_test.c | 1 + test/builtins/Unit/gtdf2vfp_test.c | 2 + test/builtins/Unit/gtsf2vfp_test.c | 2 + test/builtins/Unit/gttf2_test.c | 1 + test/builtins/Unit/ledf2vfp_test.c | 2 + test/builtins/Unit/lesf2vfp_test.c | 2 + test/builtins/Unit/letf2_test.c | 1 + test/builtins/Unit/lit.cfg | 87 ++ test/builtins/Unit/lit.site.cfg.in | 12 + test/builtins/Unit/lshrdi3_test.c | 1 + test/builtins/Unit/lshrti3_test.c | 1 + test/builtins/Unit/ltdf2vfp_test.c | 2 + test/builtins/Unit/ltsf2vfp_test.c | 2 + test/builtins/Unit/lttf2_test.c | 1 + test/builtins/Unit/moddi3_test.c | 1 + test/builtins/Unit/modsi3_test.c | 1 + test/builtins/Unit/modti3_test.c | 1 + test/builtins/Unit/muldc3_test.c | 3 + test/builtins/Unit/muldf3vfp_test.c | 1 + test/builtins/Unit/muldi3_test.c | 1 + test/builtins/Unit/mulodi4_test.c | 1 + test/builtins/Unit/mulosi4_test.c | 1 + test/builtins/Unit/muloti4_test.c | 1 + test/builtins/Unit/mulsc3_test.c | 5 + test/builtins/Unit/mulsf3vfp_test.c | 1 + test/builtins/Unit/multc3_test.c | 1 + test/builtins/Unit/multf3_test.c | 1 + test/builtins/Unit/multi3_test.c | 1 + test/builtins/Unit/mulvdi3_test.c | 1 + test/builtins/Unit/mulvsi3_test.c | 1 + test/builtins/Unit/mulvti3_test.c | 1 + test/builtins/Unit/mulxc3_test.c | 5 + test/builtins/Unit/nedf2vfp_test.c | 2 + test/builtins/Unit/negdf2vfp_test.c | 1 + test/builtins/Unit/negdi2_test.c | 1 + test/builtins/Unit/negsf2vfp_test.c | 1 + test/builtins/Unit/negti2_test.c | 1 + test/builtins/Unit/negvdi2_test.c | 1 + test/builtins/Unit/negvsi2_test.c | 1 + test/builtins/Unit/negvti2_test.c | 1 + test/builtins/Unit/nesf2vfp_test.c | 2 + test/builtins/Unit/netf2_test.c | 1 + test/builtins/Unit/paritydi2_test.c | 1 + test/builtins/Unit/paritysi2_test.c | 1 + test/builtins/Unit/parityti2_test.c | 1 + test/builtins/Unit/popcountdi2_test.c | 1 + test/builtins/Unit/popcountsi2_test.c | 1 + test/builtins/Unit/popcountti2_test.c | 1 + test/builtins/Unit/powidf2_test.c | 1 + test/builtins/Unit/powisf2_test.c | 1 + test/builtins/Unit/powitf2_test.c | 1 + test/builtins/Unit/powixf2_test.c | 2 + test/builtins/Unit/ppc/fixtfdi_test.c | 2 + test/builtins/Unit/ppc/floatditf_test.c | 2 + test/builtins/Unit/ppc/floatunditf_test.c | 2 + test/builtins/Unit/ppc/qadd_test.c | 2 + test/builtins/Unit/ppc/qdiv_test.c | 2 + test/builtins/Unit/ppc/qmul_test.c | 2 + test/builtins/Unit/ppc/qsub_test.c | 2 + test/builtins/Unit/subdf3vfp_test.c | 1 + test/builtins/Unit/subsf3vfp_test.c | 1 + test/builtins/Unit/subtf3_test.c | 1 + test/builtins/Unit/subvdi3_test.c | 1 + test/builtins/Unit/subvsi3_test.c | 1 + test/builtins/Unit/subvti3_test.c | 1 + test/builtins/Unit/trampoline_setup_test.c | 2 +- test/builtins/Unit/truncdfhf2_test.c | 2 + test/builtins/Unit/truncdfsf2_test.c | 2 + test/builtins/Unit/truncdfsf2vfp_test.c | 1 + test/builtins/Unit/truncsfhf2_test.c | 2 + test/builtins/Unit/trunctfdf2_test.c | 1 + test/builtins/Unit/trunctfsf2_test.c | 1 + test/builtins/Unit/ucmpdi2_test.c | 1 + test/builtins/Unit/ucmpti2_test.c | 1 + test/builtins/Unit/udivdi3_test.c | 1 + test/builtins/Unit/udivmoddi4_test.c | 1 + test/builtins/Unit/udivmodsi4_test.c | 1 + test/builtins/Unit/udivmodti4_test.c | 1 + test/builtins/Unit/udivsi3_test.c | 1 + test/builtins/Unit/udivti3_test.c | 1 + test/builtins/Unit/umoddi3_test.c | 1 + test/builtins/Unit/umodsi3_test.c | 1 + test/builtins/Unit/umodti3_test.c | 1 + test/builtins/Unit/unorddf2vfp_test.c | 2 + test/builtins/Unit/unordsf2vfp_test.c | 2 + test/builtins/Unit/unordtf2_test.c | 1 + test/cfi/CMakeLists.txt | 72 +- test/cfi/anon-namespace.cpp | 12 +- test/cfi/bad-cast.cpp | 104 +- test/cfi/bad-split.cpp | 21 + test/cfi/base-derived-destructor.cpp | 36 +- test/cfi/create-derivers.test | 9 +- test/cfi/cross-dso/dlopen.cpp | 147 --- test/cfi/cross-dso/icall/diag.cpp | 16 +- test/cfi/cross-dso/icall/dlopen.cpp | 147 +++ test/cfi/cross-dso/icall/icall-from-dso.cpp | 8 +- test/cfi/cross-dso/icall/icall.cpp | 8 +- test/cfi/cross-dso/lit.local.cfg | 4 + test/cfi/cross-dso/shadow_is_read_only.cpp | 3 + test/cfi/cross-dso/simple-fail.cpp | 68 +- test/cfi/cross-dso/simple-pass.cpp | 40 +- test/cfi/cross-dso/stats.cpp | 6 + test/cfi/cross-dso/util/cfi_stubs.h | 30 + test/cfi/icall/external-call.c | 3 +- test/cfi/icall/wrong-signature-mixed-lto.c | 41 + test/cfi/lit.cfg | 14 +- test/cfi/lit.site.cfg.in | 5 + test/cfi/multiple-inheritance.cpp | 24 +- test/cfi/nvcall.cpp | 12 +- test/cfi/overwrite.cpp | 12 +- test/cfi/sibling.cpp | 12 +- test/cfi/simple-fail.cpp | 38 +- test/cfi/simple-pass.cpp | 2 +- test/cfi/stats.cpp | 5 +- test/cfi/target_uninstrumented.cpp | 9 +- test/cfi/two-vcalls.cpp | 2 +- test/cfi/vdtor.cpp | 12 +- test/cfi/vtable-may-alias.cpp | 25 + test/dfsan/custom.cc | 2 +- test/esan/TestCases/large-stack-linux.c | 4 +- test/esan/TestCases/workingset-midreport.cpp | 3 + test/esan/TestCases/workingset-samples.cpp | 4 +- test/esan/TestCases/workingset-simple.cpp | 3 + test/fuzzer/AFLDriverTest.cpp | 28 + test/fuzzer/AbsNegAndConstant64Test.cpp | 24 + test/fuzzer/AbsNegAndConstantTest.cpp | 24 + test/fuzzer/AccumulateAllocationsTest.cpp | 17 + test/fuzzer/BadStrcmpTest.cpp | 19 + test/fuzzer/BogusInitializeTest.cpp | 15 + test/fuzzer/BufferOverflowOnInput.cpp | 24 + test/fuzzer/CMakeLists.txt | 43 + test/fuzzer/CallerCalleeTest.cpp | 59 ++ test/fuzzer/CleanseTest.cpp | 16 + test/fuzzer/CounterTest.cpp | 18 + test/fuzzer/CustomCrossOverAndMutateTest.cpp | 34 + test/fuzzer/CustomCrossOverTest.cpp | 59 ++ test/fuzzer/CustomMutatorTest.cpp | 39 + test/fuzzer/CxxStringEqTest.cpp | 25 + test/fuzzer/DSO1.cpp | 14 + test/fuzzer/DSO2.cpp | 14 + test/fuzzer/DSOTestExtra.cpp | 11 + test/fuzzer/DSOTestMain.cpp | 31 + test/fuzzer/DeepRecursionTest.cpp | 25 + test/fuzzer/DivTest.cpp | 20 + test/fuzzer/EmptyTest.cpp | 11 + test/fuzzer/EquivalenceATest.cpp | 17 + test/fuzzer/EquivalenceBTest.cpp | 27 + test/fuzzer/FlagsTest.cpp | 32 + test/fuzzer/FourIndependentBranchesTest.cpp | 22 + test/fuzzer/FullCoverageSetTest.cpp | 24 + test/fuzzer/GcSectionsTest.cpp | 14 + test/fuzzer/InitializeTest.cpp | 29 + test/fuzzer/LargeTest.cpp | 37 + test/fuzzer/LeakTest.cpp | 17 + test/fuzzer/LeakTimeoutTest.cpp | 17 + test/fuzzer/LoadTest.cpp | 22 + test/fuzzer/Memcmp64BytesTest.cpp | 20 + test/fuzzer/MemcmpTest.cpp | 31 + test/fuzzer/NotinstrumentedTest.cpp | 11 + test/fuzzer/NthRunCrashTest.cpp | 19 + test/fuzzer/NullDerefOnEmptyTest.cpp | 19 + test/fuzzer/NullDerefTest.cpp | 26 + test/fuzzer/OneHugeAllocTest.cpp | 28 + test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp | 27 + test/fuzzer/OutOfMemoryTest.cpp | 31 + test/fuzzer/OverwriteInputTest.cpp | 13 + test/fuzzer/PrintFuncTest.cpp | 39 + test/fuzzer/RepeatedBytesTest.cpp | 31 + test/fuzzer/RepeatedMemcmp.cpp | 24 + test/fuzzer/ShrinkControlFlowSimpleTest.cpp | 19 + test/fuzzer/ShrinkControlFlowTest.cpp | 31 + test/fuzzer/ShrinkValueProfileTest.cpp | 22 + test/fuzzer/SignedIntOverflowTest.cpp | 28 + test/fuzzer/SimpleCmpTest.cpp | 47 + test/fuzzer/SimpleDictionaryTest.cpp | 30 + test/fuzzer/SimpleHashTest.cpp | 40 + test/fuzzer/SimpleTest.cpp | 28 + test/fuzzer/SimpleThreadedTest.cpp | 26 + test/fuzzer/SingleByteInputTest.cpp | 17 + test/fuzzer/SingleMemcmpTest.cpp | 17 + test/fuzzer/SingleStrcmpTest.cpp | 21 + test/fuzzer/SingleStrncmpTest.cpp | 18 + test/fuzzer/SpamyTest.cpp | 21 + test/fuzzer/StrcmpTest.cpp | 32 + test/fuzzer/StrncmpOOBTest.cpp | 21 + test/fuzzer/StrncmpTest.cpp | 28 + test/fuzzer/StrstrTest.cpp | 28 + test/fuzzer/SwapCmpTest.cpp | 35 + test/fuzzer/Switch2Test.cpp | 35 + test/fuzzer/SwitchTest.cpp | 58 ++ test/fuzzer/TableLookupTest.cpp | 44 + test/fuzzer/ThreadedLeakTest.cpp | 18 + test/fuzzer/ThreadedTest.cpp | 26 + test/fuzzer/TimeoutEmptyTest.cpp | 14 + test/fuzzer/TimeoutTest.cpp | 26 + test/fuzzer/TraceMallocTest.cpp | 27 + test/fuzzer/TraceMallocThreadedTest.cpp | 22 + test/fuzzer/TwoDifferentBugsTest.cpp | 22 + test/fuzzer/afl-driver-extra-stats.test | 30 + test/fuzzer/afl-driver-stderr.test | 12 + test/fuzzer/afl-driver.test | 29 + test/fuzzer/bad-strcmp.test | 2 + test/fuzzer/caller-callee.test | 3 + test/fuzzer/cleanse.test | 4 + test/fuzzer/coverage.test | 21 + test/fuzzer/cxxstring.test | 6 + test/fuzzer/deep-recursion.test | 5 + test/fuzzer/dict1.txt | 4 + test/fuzzer/disable-leaks.test | 5 + test/fuzzer/dump_coverage.test | 20 + test/fuzzer/equivalence-signals.test | 9 + test/fuzzer/equivalence.test | 9 + test/fuzzer/exit-report.test | 6 + test/fuzzer/exit_on_src_pos.test | 8 + test/fuzzer/extra-counters.test | 7 + test/fuzzer/fprofile-instr-generate.test | 7 + test/fuzzer/fuzzer-customcrossover.test | 12 + test/fuzzer/fuzzer-customcrossoverandmutate.test | 2 + test/fuzzer/fuzzer-custommutator.test | 5 + test/fuzzer/fuzzer-dict.test | 8 + test/fuzzer/fuzzer-dirs.test | 21 + test/fuzzer/fuzzer-fdmask.test | 32 + test/fuzzer/fuzzer-finalstats.test | 12 + test/fuzzer/fuzzer-flags.test | 19 + test/fuzzer/fuzzer-leak.test | 37 + test/fuzzer/fuzzer-oom-with-profile.test | 7 + test/fuzzer/fuzzer-oom.test | 20 + test/fuzzer/fuzzer-printcovpcs.test | 9 + test/fuzzer/fuzzer-runs.test | 9 + test/fuzzer/fuzzer-seed.test | 4 + test/fuzzer/fuzzer-segv.test | 8 + test/fuzzer/fuzzer-singleinputs.test | 19 + test/fuzzer/fuzzer-threaded.test | 8 + test/fuzzer/fuzzer-timeout.test | 21 + test/fuzzer/fuzzer-ubsan.test | 5 + test/fuzzer/fuzzer.test | 70 ++ test/fuzzer/gc-sections.test | 13 + test/fuzzer/hi.txt | 1 + test/fuzzer/inline-8bit-counters.test | 4 + test/fuzzer/lit.cfg | 79 ++ test/fuzzer/lit.site.cfg.in | 17 + test/fuzzer/max-number-of-runs.test | 10 + test/fuzzer/memcmp.test | 3 + test/fuzzer/memcmp64.test | 3 + test/fuzzer/merge-posix.test | 23 + test/fuzzer/merge-summary.test | 17 + test/fuzzer/merge.test | 55 ++ test/fuzzer/minimize_crash.test | 16 + test/fuzzer/minimize_two_crashes.test | 18 + test/fuzzer/overwrite-input.test | 3 + test/fuzzer/print-func.test | 10 + test/fuzzer/recommended-dictionary.test | 6 + test/fuzzer/reduce_inputs.test | 16 + test/fuzzer/repeated-bytes.test | 3 + test/fuzzer/shrink.test | 10 + test/fuzzer/simple-cmp.test | 3 + test/fuzzer/standalone.test | 8 + test/fuzzer/strcmp.test | 4 + test/fuzzer/strncmp.test | 4 + test/fuzzer/strstr.test | 4 + test/fuzzer/swap-cmp.test | 3 + test/fuzzer/trace-malloc-2.test | 10 + test/fuzzer/trace-malloc-threaded.test | 36 + test/fuzzer/trace-malloc-unbalanced.test | 27 + test/fuzzer/trace-malloc.test | 7 + test/fuzzer/trace-pc.test | 3 + test/fuzzer/ulimit.test | 3 + test/fuzzer/unit/lit.site.cfg.in | 9 + test/fuzzer/value-profile-cmp.test | 3 + test/fuzzer/value-profile-cmp2.test | 3 + test/fuzzer/value-profile-cmp3.test | 3 + test/fuzzer/value-profile-cmp4.test | 3 + test/fuzzer/value-profile-div.test | 4 + test/fuzzer/value-profile-load.test | 3 + test/fuzzer/value-profile-mem.test | 3 + test/fuzzer/value-profile-set.test | 4 + test/fuzzer/value-profile-strcmp.test | 3 + test/fuzzer/value-profile-strncmp.test | 3 + test/fuzzer/value-profile-switch.test | 5 + test/lit.common.cfg | 124 ++- test/lit.common.configured.in | 7 +- test/lsan/TestCases/Darwin/dispatch.mm | 59 ++ test/{asan => lsan}/TestCases/Darwin/lit.local.cfg | 0 .../TestCases/Linux/cleanup_in_tsd_destructor.c | 46 + .../TestCases/Linux/disabler_in_tsd_destructor.c | 39 + test/lsan/TestCases/{ => Linux}/fork.cc | 0 test/lsan/TestCases/{ => Linux}/fork_threaded.cc | 0 test/lsan/TestCases/{ => Linux}/guard-page.c | 0 test/{asan => lsan}/TestCases/Linux/lit.local.cfg | 0 test/lsan/TestCases/Linux/use_tls_dynamic.cc | 52 + .../Linux/use_tls_pthread_specific_dynamic.cc | 38 + .../Linux/use_tls_pthread_specific_static.cc | 32 + test/lsan/TestCases/Linux/use_tls_static.cc | 22 + test/lsan/TestCases/allocator_returns_null.cc | 131 +++ test/lsan/TestCases/cleanup_in_tsd_destructor.c | 46 - test/lsan/TestCases/default_options.cc | 11 + test/lsan/TestCases/disabler.c | 2 +- test/lsan/TestCases/disabler.cc | 4 +- test/lsan/TestCases/disabler_in_tsd_destructor.c | 39 - test/lsan/TestCases/do_leak_check_override.cc | 6 +- test/lsan/TestCases/high_allocator_contention.cc | 4 +- test/lsan/TestCases/ignore_object.c | 2 +- test/lsan/TestCases/ignore_object_errors.cc | 2 +- test/lsan/TestCases/large_allocation_leak.cc | 6 +- test/lsan/TestCases/leak_check_at_exit.cc | 10 +- .../TestCases/leak_check_before_thread_started.cc | 2 +- test/lsan/TestCases/link_turned_off.cc | 10 +- test/lsan/TestCases/many_tls_keys.cc | 97 ++ test/lsan/TestCases/pointer_to_self.cc | 4 +- test/lsan/TestCases/print_suppressions.cc | 10 +- test/lsan/TestCases/recoverable_leak_check.cc | 8 +- test/lsan/TestCases/register_root_region.cc | 8 +- test/lsan/TestCases/stale_stack_leak.cc | 8 +- test/lsan/TestCases/suppressions_default.cc | 4 +- test/lsan/TestCases/suppressions_file.cc | 8 +- test/lsan/TestCases/swapcontext.cc | 7 +- test/lsan/TestCases/use_after_return.cc | 8 +- test/lsan/TestCases/use_globals_initialized.cc | 8 +- test/lsan/TestCases/use_globals_uninitialized.cc | 8 +- test/lsan/TestCases/use_poisoned_asan.cc | 6 +- test/lsan/TestCases/use_registers.cc | 18 +- test/lsan/TestCases/use_stacks.cc | 8 +- test/lsan/TestCases/use_stacks_threaded.cc | 8 +- test/lsan/TestCases/use_tls_dynamic.cc | 51 - .../TestCases/use_tls_pthread_specific_dynamic.cc | 38 - .../TestCases/use_tls_pthread_specific_static.cc | 32 - test/lsan/TestCases/use_tls_static.cc | 22 - test/lsan/TestCases/use_unaligned.cc | 6 +- test/lsan/lit.common.cfg | 28 +- test/msan/Linux/mallinfo.cc | 2 +- test/msan/Linux/poll.cc | 42 + test/msan/Linux/sendmsg.cc | 31 +- test/msan/Linux/strerror_r.cc | 18 + test/msan/__strxfrm_l.cc | 19 + test/msan/allocator_returns_null.cc | 124 ++- test/msan/chained_origin_memcpy.cc | 2 +- test/msan/fread_fwrite.cc | 34 + test/msan/getloadavg.cc | 16 + test/msan/ioctl.cc | 2 +- test/msan/ioctl_custom.cc | 2 +- test/msan/lit.cfg | 6 +- test/msan/pr32842.c | 22 + test/msan/pvalloc.cc | 43 + test/msan/sigaction.cc | 47 + test/msan/sigwait.cc | 7 +- test/msan/strndup.cc | 28 + test/msan/strxfrm.cc | 11 +- test/msan/wcsncpy.cc | 40 + test/profile/Linux/counter_promo_for.c | 59 ++ test/profile/Linux/counter_promo_nest.c | 48 + test/profile/Linux/counter_promo_while.c | 55 ++ test/profile/Linux/coverage_ctors.cpp | 2 +- test/profile/Linux/coverage_dtor.cpp | 2 +- test/profile/Linux/coverage_test.cpp | 6 +- test/profile/Linux/instrprof-alloc.test | 4 +- test/profile/Linux/instrprof-comdat.test | 2 +- test/profile/Linux/instrprof-value-prof-warn.test | 2 +- test/profile/instrprof-override-filename.c | 22 +- test/profile/lit.cfg | 14 +- test/safestack/canary.c | 3 +- test/safestack/lit.cfg | 10 +- test/sanitizer_common/CMakeLists.txt | 10 +- .../TestCases/Darwin/print-stack-trace.cc | 19 + .../TestCases/Linux/abort_on_error.cc | 3 + .../TestCases/Linux/allow_user_segv.cc | 94 ++ test/sanitizer_common/TestCases/Linux/assert.cc | 10 +- .../TestCases/Linux/decorate_proc_maps.cc | 6 +- test/sanitizer_common/TestCases/Linux/deepbind.cc | 2 +- .../TestCases/Linux/hard_rss_limit_mb_test.cc | 6 +- test/sanitizer_common/TestCases/Linux/iconv_test.c | 31 + test/sanitizer_common/TestCases/Linux/ill.cc | 8 +- .../sanitizer_common/TestCases/Linux/mlock_test.cc | 2 +- test/sanitizer_common/TestCases/Linux/mprobe.cc | 42 + test/sanitizer_common/TestCases/Linux/ptrace.cc | 2 + .../TestCases/Linux/sem_init_glibc.cc | 8 +- .../TestCases/Linux/signal_segv_handler.cc | 2 +- .../TestCases/Linux/soft_rss_limit_mb_test.cc | 1 + .../Linux/sysconf_interceptor_bypass_test.cc | 27 + .../Linux/unexpected_format_specifier_test.cc | 13 + .../TestCases/Posix/dedup_token_length_test.cc | 3 +- .../TestCases/Posix/dump_instruction_bytes.cc | 26 + .../TestCases/Posix/dump_registers.cc | 20 + test/sanitizer_common/TestCases/Posix/fpe.cc | 2 +- test/sanitizer_common/TestCases/Posix/getpass.cc | 3 + .../Posix/sanitizer_set_death_callback_test.cc | 1 + .../Posix/sanitizer_set_report_fd_test.cc | 2 +- .../TestCases/Posix/weak_hook_test.cc | 1 + test/sanitizer_common/TestCases/corelimit.cc | 2 +- .../TestCases/get_module_and_offset_for_pc.cc | 4 +- test/sanitizer_common/TestCases/malloc_hook.cc | 1 + test/sanitizer_common/TestCases/options-include.cc | 2 + .../TestCases/print-stack-trace.cc | 8 +- .../sanitizer_coverage_inline8bit_counter.cc | 43 + .../TestCases/sanitizer_coverage_no_prune.cc | 16 + .../TestCases/sanitizer_coverage_stack_depth.cc | 32 + .../TestCases/sanitizer_coverage_symbolize.cc | 8 +- .../sanitizer_coverage_trace_pc_guard-dso.cc | 16 +- .../TestCases/sanitizer_coverage_trace_pc_guard.cc | 17 +- .../android_commands/android_common.py | 46 + .../android_commands/android_compile.py | 0 .../android_commands/android_run.py | 39 + .../ios_commands/iossim_compile.py | 32 + test/sanitizer_common/ios_commands/iossim_env.py | 17 + test/sanitizer_common/ios_commands/iossim_run.py | 18 + test/sanitizer_common/lit.common.cfg | 16 +- test/sanitizer_common/print_address.h | 4 +- test/scudo/CMakeLists.txt | 10 +- test/scudo/alignment.c | 23 + test/scudo/alignment.cpp | 23 - test/scudo/double-free.cpp | 2 +- test/scudo/interface.cpp | 2 +- test/scudo/lit.cfg | 43 +- test/scudo/malloc.cpp | 2 +- test/scudo/memalign.c | 81 ++ test/scudo/memalign.cpp | 66 -- test/scudo/mismatch.cpp | 25 +- test/scudo/options.cpp | 10 +- test/scudo/overflow.c | 39 + test/scudo/overflow.cpp | 39 - test/scudo/preinit.c | 40 + test/scudo/preinit.cpp | 36 - test/scudo/preload.cpp | 20 + test/scudo/quarantine.c | 124 +++ test/scudo/quarantine.cpp | 57 -- test/scudo/random_shuffle.cpp | 3 +- test/scudo/realloc.cpp | 104 +- test/scudo/secondary.c | 53 + test/scudo/secondary.cpp | 53 - test/scudo/sized-delete.cpp | 14 +- test/scudo/sizes.cpp | 55 +- test/scudo/threads.c | 65 ++ test/scudo/tsd_destruction.c | 42 + test/scudo/valloc.c | 65 ++ test/tsan/CMakeLists.txt | 56 +- test/tsan/Darwin/deadlock.mm | 47 + test/tsan/Darwin/debug_external.cc | 7 +- test/tsan/Darwin/dlopen.cc | 2 + test/tsan/Darwin/external-dups.cc | 58 ++ .../tsan/Darwin/external-ignore-noninstrumented.cc | 19 + test/tsan/Darwin/external-lib.cc | 68 ++ .../tsan/Darwin/external-noninstrumented-module.cc | 27 + test/tsan/Darwin/external-swift.cc | 92 ++ test/tsan/Darwin/external.cc | 93 +- test/tsan/Darwin/gcd-after-null.mm | 23 + test/tsan/Darwin/ignore-noninstrumented.mm | 2 +- test/tsan/Darwin/ignored-interceptors.mm | 2 +- test/tsan/Darwin/main_tid.mm | 4 +- test/tsan/Darwin/osspinlock-norace.cc | 6 +- test/tsan/Darwin/signals-blocked.cc | 75 ++ test/tsan/Darwin/xpc-cancel.mm | 39 + test/tsan/Darwin/xpc-race.mm | 55 +- test/tsan/Darwin/xpc.mm | 2 + test/tsan/Linux/check_memcpy.cc | 2 + test/tsan/Linux/double_race.cc | 52 + test/tsan/Linux/pie_no_aslr.cc | 6 + test/tsan/Linux/user_malloc.cc | 7 + test/tsan/allocator_returns_null.cc | 126 ++- test/tsan/atomic_hle.cc | 25 + test/tsan/custom_mutex.h | 93 ++ test/tsan/custom_mutex0.cc | 31 + test/tsan/custom_mutex1.cc | 39 + test/tsan/custom_mutex2.cc | 34 + test/tsan/custom_mutex3.cc | 46 + test/tsan/custom_mutex4.cc | 33 + test/tsan/custom_mutex5.cc | 33 + test/tsan/debug_alloc_stack.cc | 6 +- test/tsan/debugging.cc | 5 +- test/tsan/deep_stack1.cc | 9 +- test/tsan/fd_socket_connect_norace.cc | 45 +- test/tsan/fd_socket_norace.cc | 45 +- test/tsan/ignore_lib0.cc | 2 + test/tsan/ignore_lib1.cc | 3 + test/tsan/ignore_lib5.cc | 3 + test/tsan/java_find.cc | 69 ++ test/tsan/lit.cfg | 11 +- test/tsan/lit.site.cfg.in | 3 + test/tsan/map32bit.cc | 5 +- test/tsan/signal_pause.cc | 35 + test/tsan/strerror_r.cc | 30 + test/tsan/test.h | 2 + test/tsan/thread_name.cc | 8 +- test/tsan/thread_name2.cc | 10 +- test/tsan/unaligned_race.cc | 23 +- test/ubsan/CMakeLists.txt | 11 +- test/ubsan/TestCases/Float/cast-overflow.cpp | 34 +- test/ubsan/TestCases/Integer/negate-overflow.cpp | 6 +- test/ubsan/TestCases/Integer/summary.cpp | 4 +- test/ubsan/TestCases/Integer/suppressions.cpp | 1 + .../TestCases/Misc/Linux/print_stack_trace.cc | 23 + test/ubsan/TestCases/Misc/bool.m | 14 + test/ubsan/TestCases/Misc/builtins.cpp | 35 + test/ubsan/TestCases/Misc/coverage-levels.cc | 1 + test/ubsan/TestCases/Misc/log-path_test.cc | 2 +- test/ubsan/TestCases/Misc/missing_return.cpp | 9 +- test/ubsan/TestCases/Misc/nonnull.cpp | 37 +- test/ubsan/TestCases/Misc/nullability.c | 62 ++ test/ubsan/TestCases/Pointer/index-overflow.cpp | 19 + .../Pointer/unsigned-index-expression.cpp | 20 + .../TestCases/TypeCheck/Function/function.cpp | 10 +- .../TestCases/TypeCheck/Function/lit.local.cfg | 2 +- test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp | 50 + .../TestCases/TypeCheck}/Linux/lit.local.cfg | 0 test/ubsan/TestCases/TypeCheck/PR33221.cpp | 29 + test/ubsan/TestCases/TypeCheck/misaligned.cpp | 14 +- .../TypeCheck/vptr-corrupted-vtable-itanium.cpp | 2 +- .../TypeCheck/vptr-non-unique-typeinfo.cpp | 5 +- .../TypeCheck/vptr-virtual-base-construction.cpp | 1 + .../TestCases/TypeCheck/vptr-virtual-base.cpp | 3 +- test/ubsan/TestCases/TypeCheck/vptr.cpp | 26 +- test/ubsan/lit.common.cfg | 25 +- test/ubsan_minimal/CMakeLists.txt | 26 + .../TestCases/recover-dedup-limit.cpp | 41 + test/ubsan_minimal/TestCases/recover-dedup.cpp | 39 + .../TestCases/test-darwin-interface.c | 16 + test/ubsan_minimal/TestCases/uadd-overflow.cpp | 10 + test/ubsan_minimal/lit.common.cfg | 40 + test/ubsan_minimal/lit.site.cfg.in | 11 + .../TestCases/Linux/always-never-instrument.cc | 23 + test/xray/TestCases/Linux/arg1-arg0-logging.cc | 39 + test/xray/TestCases/Linux/arg1-logger.cc | 6 +- .../TestCases/Linux/arg1-logging-implicit-this.cc | 31 + test/xray/TestCases/Linux/argv0-log-file-name.cc | 2 + test/xray/TestCases/Linux/coverage-sample.cc | 90 ++ .../Linux/custom-event-handler-alignment.cc | 42 + test/xray/TestCases/Linux/custom-event-logging.cc | 42 + test/xray/TestCases/Linux/fdr-mode.cc | 103 ++ test/xray/TestCases/Linux/fdr-single-thread.cc | 38 + test/xray/TestCases/Linux/fdr-thread-order.cc | 67 ++ test/xray/TestCases/Linux/fixedsize-logging.cc | 2 + test/xray/TestCases/Linux/func-id-utils.cc | 44 + test/xray/TestCases/Linux/optional-inmemory-log.cc | 2 + test/xray/TestCases/Linux/patching-unpatching.cc | 2 + test/xray/TestCases/Linux/pic_test.cc | 5 +- test/xray/TestCases/Linux/quiet-start.cc | 26 + test/xray/Unit/lit.site.cfg.in | 2 +- test/xray/lit.cfg | 15 +- test/xray/lit.site.cfg.in | 9 +- unittests/lit.common.unit.cfg | 14 +- unittests/lit_unittest_cfg_utils.py | 4 + 1307 files changed, 37825 insertions(+), 11369 deletions(-) create mode 100644 cmake/Modules/HandleCompilerRT.cmake create mode 100644 include/sanitizer/tsan_interface.h create mode 100644 lib/asan/asan_fuchsia.cc create mode 100644 lib/asan/asan_interceptors_memintrinsics.cc create mode 100644 lib/asan/asan_interceptors_memintrinsics.h create mode 100644 lib/asan/asan_shadow_setup.cc create mode 100644 lib/builtins/bswapdi2.c create mode 100644 lib/builtins/bswapsi2.c create mode 100644 lib/builtins/ffssi2.c create mode 100644 lib/fuzzer/CMakeLists.txt create mode 100644 lib/fuzzer/FuzzerClangCounters.cpp create mode 100644 lib/fuzzer/FuzzerCorpus.h create mode 100644 lib/fuzzer/FuzzerCrossOver.cpp create mode 100644 lib/fuzzer/FuzzerDefs.h create mode 100644 lib/fuzzer/FuzzerDictionary.h create mode 100644 lib/fuzzer/FuzzerDriver.cpp create mode 100644 lib/fuzzer/FuzzerExtFunctions.def create mode 100644 lib/fuzzer/FuzzerExtFunctions.h create mode 100644 lib/fuzzer/FuzzerExtFunctionsDlsym.cpp create mode 100644 lib/fuzzer/FuzzerExtFunctionsDlsymWin.cpp create mode 100644 lib/fuzzer/FuzzerExtFunctionsWeak.cpp create mode 100644 lib/fuzzer/FuzzerExtFunctionsWeakAlias.cpp create mode 100644 lib/fuzzer/FuzzerExtraCounters.cpp create mode 100644 lib/fuzzer/FuzzerFlags.def create mode 100644 lib/fuzzer/FuzzerIO.cpp create mode 100644 lib/fuzzer/FuzzerIO.h create mode 100644 lib/fuzzer/FuzzerIOPosix.cpp create mode 100644 lib/fuzzer/FuzzerIOWindows.cpp create mode 100644 lib/fuzzer/FuzzerInterface.h create mode 100644 lib/fuzzer/FuzzerInternal.h create mode 100644 lib/fuzzer/FuzzerLoop.cpp create mode 100644 lib/fuzzer/FuzzerMain.cpp create mode 100644 lib/fuzzer/FuzzerMerge.cpp create mode 100644 lib/fuzzer/FuzzerMerge.h create mode 100644 lib/fuzzer/FuzzerMutate.cpp create mode 100644 lib/fuzzer/FuzzerMutate.h create mode 100644 lib/fuzzer/FuzzerOptions.h create mode 100644 lib/fuzzer/FuzzerRandom.h create mode 100644 lib/fuzzer/FuzzerSHA1.cpp create mode 100644 lib/fuzzer/FuzzerSHA1.h create mode 100644 lib/fuzzer/FuzzerShmem.h create mode 100644 lib/fuzzer/FuzzerShmemPosix.cpp create mode 100644 lib/fuzzer/FuzzerShmemWindows.cpp create mode 100644 lib/fuzzer/FuzzerTracePC.cpp create mode 100644 lib/fuzzer/FuzzerTracePC.h create mode 100644 lib/fuzzer/FuzzerUtil.cpp create mode 100644 lib/fuzzer/FuzzerUtil.h create mode 100644 lib/fuzzer/FuzzerUtilDarwin.cpp create mode 100644 lib/fuzzer/FuzzerUtilLinux.cpp create mode 100644 lib/fuzzer/FuzzerUtilPosix.cpp create mode 100644 lib/fuzzer/FuzzerUtilWindows.cpp create mode 100644 lib/fuzzer/FuzzerValueBitMap.h create mode 100644 lib/fuzzer/README.txt create mode 100644 lib/fuzzer/afl/afl_driver.cpp create mode 100755 lib/fuzzer/build.sh create mode 100755 lib/fuzzer/scripts/unbalanced_allocs.py create mode 100644 lib/fuzzer/standalone/StandaloneFuzzTargetMain.c create mode 100644 lib/fuzzer/tests/CMakeLists.txt create mode 100644 lib/fuzzer/tests/FuzzerUnittest.cpp create mode 100644 lib/lsan/lsan_linux.cc create mode 100644 lib/lsan/lsan_mac.cc create mode 100644 lib/lsan/lsan_malloc_mac.cc create mode 100644 lib/profile/InstrProfilingNameVar.c create mode 100644 lib/sanitizer_common/sanitizer_allocator_checks.cc create mode 100644 lib/sanitizer_common/sanitizer_allocator_checks.h create mode 100644 lib/sanitizer_common/sanitizer_coverage_fuchsia.cc delete mode 100644 lib/sanitizer_common/sanitizer_coverage_libcdep.cc delete mode 100644 lib/sanitizer_common/sanitizer_coverage_mapping_libcdep.cc create mode 100644 lib/sanitizer_common/sanitizer_errno.cc create mode 100644 lib/sanitizer_common/sanitizer_errno.h create mode 100644 lib/sanitizer_common/sanitizer_errno_codes.h create mode 100644 lib/sanitizer_common/sanitizer_file.cc create mode 100644 lib/sanitizer_common/sanitizer_file.h create mode 100644 lib/sanitizer_common/sanitizer_fuchsia.cc create mode 100644 lib/sanitizer_common/sanitizer_fuchsia.h create mode 100644 lib/sanitizer_common/sanitizer_mac_libcdep.cc create mode 100644 lib/sanitizer_common/sanitizer_platform_limits_netbsd.cc create mode 100644 lib/sanitizer_common/sanitizer_platform_limits_netbsd.h create mode 100644 lib/sanitizer_common/sanitizer_signal_interceptors.inc create mode 100644 lib/sanitizer_common/sanitizer_symbolizer_fuchsia.cc create mode 100644 lib/scudo/scudo_allocator_combined.h create mode 100644 lib/scudo/scudo_crc32.h create mode 100644 lib/scudo/scudo_platform.h create mode 100644 lib/scudo/scudo_tsd.h create mode 100644 lib/scudo/scudo_tsd_exclusive.cpp create mode 100644 lib/scudo/scudo_tsd_exclusive.inc create mode 100644 lib/scudo/scudo_tsd_shared.cpp create mode 100644 lib/scudo/scudo_tsd_shared.inc create mode 100644 lib/ubsan/ubsan_diag_standalone.cc create mode 100644 lib/ubsan/ubsan_init_standalone_preinit.cc create mode 100644 lib/ubsan/ubsan_signals_standalone.cc create mode 100644 lib/ubsan/ubsan_signals_standalone.h create mode 100644 lib/ubsan_minimal/CMakeLists.txt copy lib/{ubsan => ubsan_minimal}/ubsan.syms.extra (100%) create mode 100644 lib/ubsan_minimal/ubsan_minimal_handlers.cc create mode 100644 lib/xray/xray_always_instrument.txt create mode 100644 lib/xray/xray_fdr_log_records.h create mode 100644 lib/xray/xray_fdr_logging_impl.h create mode 100644 lib/xray/xray_never_instrument.txt delete mode 100644 test/asan/TestCases/Android/coverage-android.cc delete mode 100644 test/asan/TestCases/Darwin/interface_symbols_darwin.c create mode 100644 test/asan/TestCases/Darwin/interface_symbols_darwin.cc create mode 100644 test/asan/TestCases/Darwin/nil-return-struct.mm create mode 100644 test/asan/TestCases/Darwin/scribble.cc create mode 100644 test/asan/TestCases/Darwin/suppressions-function.cc create mode 100644 test/asan/TestCases/Helpers/underflow.cc create mode 100644 test/asan/TestCases/Linux/aligned_delete_test.cc create mode 100644 test/asan/TestCases/Linux/allocator_oom_test.cc create mode 100644 test/asan/TestCases/Linux/asan_preload_test-3.cc create mode 100644 test/asan/TestCases/Linux/global-overflow-bfd.cc create mode 100644 test/asan/TestCases/Linux/global-overflow-lld.cc create mode 100644 test/asan/TestCases/Linux/globals-gc-sections-lld.cc delete mode 100644 test/asan/TestCases/Linux/globals-gc-sections.cc delete mode 100644 test/asan/TestCases/Linux/interface_symbols_linux.c create mode 100644 test/asan/TestCases/Linux/interface_symbols_linux.cc create mode 100644 test/asan/TestCases/Linux/longjmp_chk.c create mode 100644 test/asan/TestCases/Linux/preinstalled_signal.cc create mode 100644 test/asan/TestCases/Linux/pvalloc-overflow.cc create mode 100644 test/asan/TestCases/Linux/recoverable-lsan.cc create mode 100644 test/asan/TestCases/Linux/sanbox_read_proc_self_maps_test.cc create mode 100644 test/asan/TestCases/Linux/textdomain.c delete mode 100644 test/asan/TestCases/Posix/allow_user_segv.cc create mode 100644 test/asan/TestCases/Posix/concurrent_overflow.cc delete mode 100644 test/asan/TestCases/Posix/coverage-caller-callee.cc delete mode 100644 test/asan/TestCases/Posix/coverage-direct-activation.cc delete mode 100644 test/asan/TestCases/Posix/coverage-direct-large.cc delete mode 100644 test/asan/TestCases/Posix/coverage-direct.cc delete mode 100644 test/asan/TestCases/Posix/coverage-fork-direct.cc delete mode 100644 test/asan/TestCases/Posix/coverage-maybe-open-file.cc create mode 100644 test/asan/TestCases/Posix/coverage-reset.cc delete mode 100644 test/asan/TestCases/Posix/coverage-sandboxing.cc delete mode 100644 test/asan/TestCases/Posix/dump_instruction_bytes.cc create mode 100644 test/asan/TestCases/Posix/fread_fwrite.cc create mode 100644 test/asan/TestCases/Posix/strchr.c create mode 100644 test/asan/TestCases/Posix/strndup_oob_test.cc create mode 100644 test/asan/TestCases/Posix/strndup_oob_test2.cc delete mode 100644 test/asan/TestCases/Windows/interface_symbols_windows.c create mode 100644 test/asan/TestCases/Windows/interface_symbols_windows.cc delete mode 100644 test/asan/TestCases/coverage-caller-callee-total-count.cc delete mode 100644 test/asan/TestCases/coverage-levels.cc delete mode 100644 test/asan/TestCases/coverage-order-pcs.cc delete mode 100644 test/asan/TestCases/coverage-reset.cc delete mode 100644 test/asan/TestCases/coverage-tracing.cc create mode 100644 test/asan/TestCases/error_report_callback.cc create mode 100644 test/asan/TestCases/global-underflow.cc create mode 100644 test/asan/TestCases/pass-object-byval.cc create mode 100644 test/asan/TestCases/pass-struct-byval-uar.cc create mode 100644 test/asan/TestCases/pass-struct-byval.cc create mode 100644 test/asan/TestCases/pr33372.cc create mode 100644 test/asan/TestCases/realloc.cc create mode 100644 test/asan/TestCases/sleep_after_init.c create mode 100644 test/asan/TestCases/small_memcpy_test.cc create mode 100644 test/asan/TestCases/strtok.c create mode 100644 test/asan/TestCases/use-after-scope-conversion.cc delete mode 100644 test/asan/android_commands/android_common.py delete mode 100755 test/asan/android_commands/android_run.py create mode 100644 test/builtins/TestCases/Darwin/os_version_check_test_no_core_fo [...] create mode 100644 test/builtins/Unit/ffssi2_test.c create mode 100644 test/builtins/Unit/lit.cfg create mode 100644 test/builtins/Unit/lit.site.cfg.in create mode 100644 test/cfi/bad-split.cpp delete mode 100644 test/cfi/cross-dso/dlopen.cpp create mode 100644 test/cfi/cross-dso/icall/dlopen.cpp create mode 100644 test/cfi/cross-dso/util/cfi_stubs.h create mode 100644 test/cfi/icall/wrong-signature-mixed-lto.c create mode 100644 test/cfi/vtable-may-alias.cpp create mode 100644 test/fuzzer/AFLDriverTest.cpp create mode 100644 test/fuzzer/AbsNegAndConstant64Test.cpp create mode 100644 test/fuzzer/AbsNegAndConstantTest.cpp create mode 100644 test/fuzzer/AccumulateAllocationsTest.cpp create mode 100644 test/fuzzer/BadStrcmpTest.cpp create mode 100644 test/fuzzer/BogusInitializeTest.cpp create mode 100644 test/fuzzer/BufferOverflowOnInput.cpp create mode 100644 test/fuzzer/CMakeLists.txt create mode 100644 test/fuzzer/CallerCalleeTest.cpp create mode 100644 test/fuzzer/CleanseTest.cpp create mode 100644 test/fuzzer/CounterTest.cpp create mode 100644 test/fuzzer/CustomCrossOverAndMutateTest.cpp create mode 100644 test/fuzzer/CustomCrossOverTest.cpp create mode 100644 test/fuzzer/CustomMutatorTest.cpp create mode 100644 test/fuzzer/CxxStringEqTest.cpp create mode 100644 test/fuzzer/DSO1.cpp create mode 100644 test/fuzzer/DSO2.cpp create mode 100644 test/fuzzer/DSOTestExtra.cpp create mode 100644 test/fuzzer/DSOTestMain.cpp create mode 100644 test/fuzzer/DeepRecursionTest.cpp create mode 100644 test/fuzzer/DivTest.cpp create mode 100644 test/fuzzer/EmptyTest.cpp create mode 100644 test/fuzzer/EquivalenceATest.cpp create mode 100644 test/fuzzer/EquivalenceBTest.cpp create mode 100644 test/fuzzer/FlagsTest.cpp create mode 100644 test/fuzzer/FourIndependentBranchesTest.cpp create mode 100644 test/fuzzer/FullCoverageSetTest.cpp create mode 100644 test/fuzzer/GcSectionsTest.cpp create mode 100644 test/fuzzer/InitializeTest.cpp create mode 100644 test/fuzzer/LargeTest.cpp create mode 100644 test/fuzzer/LeakTest.cpp create mode 100644 test/fuzzer/LeakTimeoutTest.cpp create mode 100644 test/fuzzer/LoadTest.cpp create mode 100644 test/fuzzer/Memcmp64BytesTest.cpp create mode 100644 test/fuzzer/MemcmpTest.cpp create mode 100644 test/fuzzer/NotinstrumentedTest.cpp create mode 100644 test/fuzzer/NthRunCrashTest.cpp create mode 100644 test/fuzzer/NullDerefOnEmptyTest.cpp create mode 100644 test/fuzzer/NullDerefTest.cpp create mode 100644 test/fuzzer/OneHugeAllocTest.cpp create mode 100644 test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp create mode 100644 test/fuzzer/OutOfMemoryTest.cpp create mode 100644 test/fuzzer/OverwriteInputTest.cpp create mode 100644 test/fuzzer/PrintFuncTest.cpp create mode 100644 test/fuzzer/RepeatedBytesTest.cpp create mode 100644 test/fuzzer/RepeatedMemcmp.cpp create mode 100644 test/fuzzer/ShrinkControlFlowSimpleTest.cpp create mode 100644 test/fuzzer/ShrinkControlFlowTest.cpp create mode 100644 test/fuzzer/ShrinkValueProfileTest.cpp create mode 100644 test/fuzzer/SignedIntOverflowTest.cpp create mode 100644 test/fuzzer/SimpleCmpTest.cpp create mode 100644 test/fuzzer/SimpleDictionaryTest.cpp create mode 100644 test/fuzzer/SimpleHashTest.cpp create mode 100644 test/fuzzer/SimpleTest.cpp create mode 100644 test/fuzzer/SimpleThreadedTest.cpp create mode 100644 test/fuzzer/SingleByteInputTest.cpp create mode 100644 test/fuzzer/SingleMemcmpTest.cpp create mode 100644 test/fuzzer/SingleStrcmpTest.cpp create mode 100644 test/fuzzer/SingleStrncmpTest.cpp create mode 100644 test/fuzzer/SpamyTest.cpp create mode 100644 test/fuzzer/StrcmpTest.cpp create mode 100644 test/fuzzer/StrncmpOOBTest.cpp create mode 100644 test/fuzzer/StrncmpTest.cpp create mode 100644 test/fuzzer/StrstrTest.cpp create mode 100644 test/fuzzer/SwapCmpTest.cpp create mode 100644 test/fuzzer/Switch2Test.cpp create mode 100644 test/fuzzer/SwitchTest.cpp create mode 100644 test/fuzzer/TableLookupTest.cpp create mode 100644 test/fuzzer/ThreadedLeakTest.cpp create mode 100644 test/fuzzer/ThreadedTest.cpp create mode 100644 test/fuzzer/TimeoutEmptyTest.cpp create mode 100644 test/fuzzer/TimeoutTest.cpp create mode 100644 test/fuzzer/TraceMallocTest.cpp create mode 100644 test/fuzzer/TraceMallocThreadedTest.cpp create mode 100644 test/fuzzer/TwoDifferentBugsTest.cpp create mode 100644 test/fuzzer/afl-driver-extra-stats.test create mode 100644 test/fuzzer/afl-driver-stderr.test create mode 100644 test/fuzzer/afl-driver.test create mode 100644 test/fuzzer/bad-strcmp.test create mode 100644 test/fuzzer/caller-callee.test create mode 100644 test/fuzzer/cleanse.test create mode 100644 test/fuzzer/coverage.test create mode 100644 test/fuzzer/cxxstring.test create mode 100644 test/fuzzer/deep-recursion.test create mode 100644 test/fuzzer/dict1.txt create mode 100644 test/fuzzer/disable-leaks.test create mode 100644 test/fuzzer/dump_coverage.test create mode 100644 test/fuzzer/equivalence-signals.test create mode 100644 test/fuzzer/equivalence.test create mode 100644 test/fuzzer/exit-report.test create mode 100644 test/fuzzer/exit_on_src_pos.test create mode 100644 test/fuzzer/extra-counters.test create mode 100644 test/fuzzer/fprofile-instr-generate.test create mode 100644 test/fuzzer/fuzzer-customcrossover.test create mode 100644 test/fuzzer/fuzzer-customcrossoverandmutate.test create mode 100644 test/fuzzer/fuzzer-custommutator.test create mode 100644 test/fuzzer/fuzzer-dict.test create mode 100644 test/fuzzer/fuzzer-dirs.test create mode 100644 test/fuzzer/fuzzer-fdmask.test create mode 100644 test/fuzzer/fuzzer-finalstats.test create mode 100644 test/fuzzer/fuzzer-flags.test create mode 100644 test/fuzzer/fuzzer-leak.test create mode 100644 test/fuzzer/fuzzer-oom-with-profile.test create mode 100644 test/fuzzer/fuzzer-oom.test create mode 100644 test/fuzzer/fuzzer-printcovpcs.test create mode 100644 test/fuzzer/fuzzer-runs.test create mode 100644 test/fuzzer/fuzzer-seed.test create mode 100644 test/fuzzer/fuzzer-segv.test create mode 100644 test/fuzzer/fuzzer-singleinputs.test create mode 100644 test/fuzzer/fuzzer-threaded.test create mode 100644 test/fuzzer/fuzzer-timeout.test create mode 100644 test/fuzzer/fuzzer-ubsan.test create mode 100644 test/fuzzer/fuzzer.test create mode 100644 test/fuzzer/gc-sections.test create mode 100644 test/fuzzer/hi.txt create mode 100644 test/fuzzer/inline-8bit-counters.test create mode 100644 test/fuzzer/lit.cfg create mode 100644 test/fuzzer/lit.site.cfg.in create mode 100644 test/fuzzer/max-number-of-runs.test create mode 100644 test/fuzzer/memcmp.test create mode 100644 test/fuzzer/memcmp64.test create mode 100644 test/fuzzer/merge-posix.test create mode 100644 test/fuzzer/merge-summary.test create mode 100644 test/fuzzer/merge.test create mode 100644 test/fuzzer/minimize_crash.test create mode 100644 test/fuzzer/minimize_two_crashes.test create mode 100644 test/fuzzer/overwrite-input.test create mode 100644 test/fuzzer/print-func.test create mode 100644 test/fuzzer/recommended-dictionary.test create mode 100644 test/fuzzer/reduce_inputs.test create mode 100644 test/fuzzer/repeated-bytes.test create mode 100644 test/fuzzer/shrink.test create mode 100644 test/fuzzer/simple-cmp.test create mode 100644 test/fuzzer/standalone.test create mode 100644 test/fuzzer/strcmp.test create mode 100644 test/fuzzer/strncmp.test create mode 100644 test/fuzzer/strstr.test create mode 100644 test/fuzzer/swap-cmp.test create mode 100644 test/fuzzer/trace-malloc-2.test create mode 100644 test/fuzzer/trace-malloc-threaded.test create mode 100644 test/fuzzer/trace-malloc-unbalanced.test create mode 100644 test/fuzzer/trace-malloc.test create mode 100644 test/fuzzer/trace-pc.test create mode 100644 test/fuzzer/ulimit.test create mode 100644 test/fuzzer/unit/lit.site.cfg.in create mode 100644 test/fuzzer/value-profile-cmp.test create mode 100644 test/fuzzer/value-profile-cmp2.test create mode 100644 test/fuzzer/value-profile-cmp3.test create mode 100644 test/fuzzer/value-profile-cmp4.test create mode 100644 test/fuzzer/value-profile-div.test create mode 100644 test/fuzzer/value-profile-load.test create mode 100644 test/fuzzer/value-profile-mem.test create mode 100644 test/fuzzer/value-profile-set.test create mode 100644 test/fuzzer/value-profile-strcmp.test create mode 100644 test/fuzzer/value-profile-strncmp.test create mode 100644 test/fuzzer/value-profile-switch.test create mode 100644 test/lsan/TestCases/Darwin/dispatch.mm copy test/{asan => lsan}/TestCases/Darwin/lit.local.cfg (100%) create mode 100644 test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c create mode 100644 test/lsan/TestCases/Linux/disabler_in_tsd_destructor.c rename test/lsan/TestCases/{ => Linux}/fork.cc (100%) rename test/lsan/TestCases/{ => Linux}/fork_threaded.cc (100%) rename test/lsan/TestCases/{ => Linux}/guard-page.c (100%) copy test/{asan => lsan}/TestCases/Linux/lit.local.cfg (100%) create mode 100644 test/lsan/TestCases/Linux/use_tls_dynamic.cc create mode 100644 test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cc create mode 100644 test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cc create mode 100644 test/lsan/TestCases/Linux/use_tls_static.cc create mode 100644 test/lsan/TestCases/allocator_returns_null.cc delete mode 100644 test/lsan/TestCases/cleanup_in_tsd_destructor.c create mode 100644 test/lsan/TestCases/default_options.cc delete mode 100644 test/lsan/TestCases/disabler_in_tsd_destructor.c create mode 100644 test/lsan/TestCases/many_tls_keys.cc delete mode 100644 test/lsan/TestCases/use_tls_dynamic.cc delete mode 100644 test/lsan/TestCases/use_tls_pthread_specific_dynamic.cc delete mode 100644 test/lsan/TestCases/use_tls_pthread_specific_static.cc delete mode 100644 test/lsan/TestCases/use_tls_static.cc create mode 100644 test/msan/Linux/poll.cc create mode 100644 test/msan/Linux/strerror_r.cc create mode 100644 test/msan/__strxfrm_l.cc create mode 100644 test/msan/fread_fwrite.cc create mode 100644 test/msan/getloadavg.cc create mode 100644 test/msan/pr32842.c create mode 100644 test/msan/pvalloc.cc create mode 100644 test/msan/sigaction.cc create mode 100644 test/msan/strndup.cc create mode 100644 test/msan/wcsncpy.cc create mode 100644 test/profile/Linux/counter_promo_for.c create mode 100644 test/profile/Linux/counter_promo_nest.c create mode 100644 test/profile/Linux/counter_promo_while.c create mode 100644 test/sanitizer_common/TestCases/Darwin/print-stack-trace.cc create mode 100644 test/sanitizer_common/TestCases/Linux/allow_user_segv.cc create mode 100644 test/sanitizer_common/TestCases/Linux/iconv_test.c create mode 100644 test/sanitizer_common/TestCases/Linux/mprobe.cc create mode 100644 test/sanitizer_common/TestCases/Linux/sysconf_interceptor_bypas [...] create mode 100644 test/sanitizer_common/TestCases/Linux/unexpected_format_specifi [...] create mode 100644 test/sanitizer_common/TestCases/Posix/dump_instruction_bytes.cc create mode 100644 test/sanitizer_common/TestCases/Posix/dump_registers.cc create mode 100644 test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_c [...] create mode 100644 test/sanitizer_common/TestCases/sanitizer_coverage_no_prune.cc create mode 100644 test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cc create mode 100644 test/sanitizer_common/android_commands/android_common.py rename test/{asan => sanitizer_common}/android_commands/android_compile.py (100%) create mode 100755 test/sanitizer_common/android_commands/android_run.py create mode 100755 test/sanitizer_common/ios_commands/iossim_compile.py create mode 100755 test/sanitizer_common/ios_commands/iossim_env.py create mode 100755 test/sanitizer_common/ios_commands/iossim_run.py create mode 100644 test/scudo/alignment.c delete mode 100644 test/scudo/alignment.cpp create mode 100644 test/scudo/memalign.c delete mode 100644 test/scudo/memalign.cpp create mode 100644 test/scudo/overflow.c delete mode 100644 test/scudo/overflow.cpp create mode 100644 test/scudo/preinit.c delete mode 100644 test/scudo/preinit.cpp create mode 100644 test/scudo/preload.cpp create mode 100644 test/scudo/quarantine.c delete mode 100644 test/scudo/quarantine.cpp create mode 100644 test/scudo/secondary.c delete mode 100644 test/scudo/secondary.cpp create mode 100644 test/scudo/threads.c create mode 100644 test/scudo/tsd_destruction.c create mode 100644 test/scudo/valloc.c create mode 100644 test/tsan/Darwin/deadlock.mm create mode 100644 test/tsan/Darwin/external-dups.cc create mode 100644 test/tsan/Darwin/external-ignore-noninstrumented.cc create mode 100644 test/tsan/Darwin/external-lib.cc create mode 100644 test/tsan/Darwin/external-noninstrumented-module.cc create mode 100644 test/tsan/Darwin/external-swift.cc create mode 100644 test/tsan/Darwin/gcd-after-null.mm create mode 100644 test/tsan/Darwin/signals-blocked.cc create mode 100644 test/tsan/Darwin/xpc-cancel.mm create mode 100644 test/tsan/Linux/double_race.cc create mode 100644 test/tsan/Linux/pie_no_aslr.cc create mode 100644 test/tsan/atomic_hle.cc create mode 100644 test/tsan/custom_mutex.h create mode 100644 test/tsan/custom_mutex0.cc create mode 100644 test/tsan/custom_mutex1.cc create mode 100644 test/tsan/custom_mutex2.cc create mode 100644 test/tsan/custom_mutex3.cc create mode 100644 test/tsan/custom_mutex4.cc create mode 100644 test/tsan/custom_mutex5.cc create mode 100644 test/tsan/java_find.cc create mode 100644 test/tsan/signal_pause.cc create mode 100644 test/tsan/strerror_r.cc create mode 100644 test/ubsan/TestCases/Misc/Linux/print_stack_trace.cc create mode 100644 test/ubsan/TestCases/Misc/bool.m create mode 100644 test/ubsan/TestCases/Misc/builtins.cpp create mode 100644 test/ubsan/TestCases/Misc/nullability.c create mode 100644 test/ubsan/TestCases/Pointer/index-overflow.cpp create mode 100644 test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp create mode 100644 test/ubsan/TestCases/TypeCheck/Linux/PR33221.cpp copy test/{asan/TestCases => ubsan/TestCases/TypeCheck}/Linux/lit.local.cfg (100%) create mode 100644 test/ubsan/TestCases/TypeCheck/PR33221.cpp create mode 100644 test/ubsan_minimal/CMakeLists.txt create mode 100644 test/ubsan_minimal/TestCases/recover-dedup-limit.cpp create mode 100644 test/ubsan_minimal/TestCases/recover-dedup.cpp create mode 100644 test/ubsan_minimal/TestCases/test-darwin-interface.c create mode 100644 test/ubsan_minimal/TestCases/uadd-overflow.cpp create mode 100644 test/ubsan_minimal/lit.common.cfg create mode 100644 test/ubsan_minimal/lit.site.cfg.in create mode 100644 test/xray/TestCases/Linux/always-never-instrument.cc create mode 100644 test/xray/TestCases/Linux/arg1-arg0-logging.cc create mode 100644 test/xray/TestCases/Linux/arg1-logging-implicit-this.cc create mode 100644 test/xray/TestCases/Linux/coverage-sample.cc create mode 100644 test/xray/TestCases/Linux/custom-event-handler-alignment.cc create mode 100644 test/xray/TestCases/Linux/custom-event-logging.cc create mode 100644 test/xray/TestCases/Linux/fdr-mode.cc create mode 100644 test/xray/TestCases/Linux/fdr-single-thread.cc create mode 100644 test/xray/TestCases/Linux/fdr-thread-order.cc create mode 100644 test/xray/TestCases/Linux/func-id-utils.cc create mode 100644 test/xray/TestCases/Linux/quiet-start.cc create mode 100644 unittests/lit_unittest_cfg_utils.py