This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch google/stable in repository compiler-rt.
from dc0cb758f Updating branches/google/stable to r310337 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. new 9fe132dca Updating branches/google/stable to r312634
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: CMakeLists.txt | 8 +- cmake/Modules/AddCompilerRT.cmake | 100 ++- cmake/Modules/CompilerRTCompile.cmake | 25 +- cmake/Modules/CompilerRTDarwinUtils.cmake | 50 +- cmake/Modules/CompilerRTUtils.cmake | 32 +- cmake/base-config-ix.cmake | 7 +- cmake/builtin-config-ix.cmake | 2 +- cmake/config-ix.cmake | 36 +- include/sanitizer/asan_interface.h | 4 + lib/BlocksRuntime/Block.h | 2 +- lib/BlocksRuntime/Block_private.h | 2 +- lib/CMakeLists.txt | 4 + lib/asan/CMakeLists.txt | 16 +- lib/asan/asan_fake_stack.cc | 4 +- lib/asan/asan_fuchsia.cc | 218 ++++++ lib/asan/asan_interceptors.cc | 5 + lib/asan/asan_internal.h | 3 + lib/asan/asan_linux.cc | 17 +- lib/asan/asan_malloc_linux.cc | 6 +- lib/asan/asan_mapping.h | 15 +- lib/asan/asan_poisoning.h | 7 +- lib/asan/asan_rtl.cc | 8 +- lib/asan/asan_shadow_setup.cc | 7 + lib/asan/asan_stack.h | 5 +- lib/asan/asan_thread.cc | 33 +- lib/asan/asan_thread.h | 13 +- lib/asan/scripts/asan_device_setup | 28 +- lib/asan/scripts/asan_symbolize.py | 4 +- lib/asan/tests/CMakeLists.txt | 214 +++--- lib/asan/tests/asan_interface_test.cc | 8 + lib/asan/tests/asan_test_utils.h | 2 +- lib/builtins/CMakeLists.txt | 24 +- lib/builtins/arm/aeabi_cdcmp.S | 4 +- lib/builtins/arm/aeabi_cfcmp.S | 4 +- lib/builtins/arm/aeabi_dcmp.S | 9 + lib/builtins/arm/aeabi_fcmp.S | 9 + lib/builtins/arm/aeabi_idivmod.S | 8 +- 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/modsi3.S | 8 +- lib/builtins/arm/udivmodsi4.S | 13 +- lib/builtins/arm/udivsi3.S | 32 +- lib/builtins/arm/umodsi3.S | 12 +- lib/builtins/assembly.h | 51 +- lib/esan/esan_sideline_linux.cpp | 2 +- lib/fuzzer/CMakeLists.txt | 77 ++ lib/fuzzer/FuzzerClangCounters.cpp | 49 ++ lib/fuzzer/FuzzerCorpus.h | 275 ++++++++ lib/fuzzer/FuzzerCrossOver.cpp | 52 ++ lib/fuzzer/FuzzerDefs.h | 157 +++++ lib/fuzzer/FuzzerDictionary.h | 127 ++++ lib/fuzzer/FuzzerDriver.cpp | 751 ++++++++++++++++++++ lib/fuzzer/FuzzerExtFunctions.def | 46 ++ 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 | 142 ++++ lib/fuzzer/FuzzerIO.cpp | 120 ++++ lib/fuzzer/FuzzerIO.h | 77 ++ lib/fuzzer/FuzzerIOPosix.cpp | 130 ++++ lib/fuzzer/FuzzerIOWindows.cpp | 323 +++++++++ lib/fuzzer/FuzzerInterface.h | 67 ++ lib/fuzzer/FuzzerInternal.h | 149 ++++ lib/fuzzer/FuzzerLoop.cpp | 759 ++++++++++++++++++++ lib/fuzzer/FuzzerMain.cpp | 21 + lib/fuzzer/FuzzerMerge.cpp | 338 +++++++++ lib/fuzzer/FuzzerMerge.h | 80 +++ lib/fuzzer/FuzzerMutate.cpp | 533 ++++++++++++++ lib/fuzzer/FuzzerMutate.h | 150 ++++ lib/fuzzer/FuzzerOptions.h | 69 ++ 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 | 600 ++++++++++++++++ lib/fuzzer/FuzzerTracePC.h | 264 +++++++ lib/fuzzer/FuzzerUtil.cpp | 215 ++++++ lib/fuzzer/FuzzerUtil.h | 84 +++ lib/fuzzer/FuzzerUtilDarwin.cpp | 161 +++++ lib/fuzzer/FuzzerUtilLinux.cpp | 24 + lib/fuzzer/FuzzerUtilPosix.cpp | 144 ++++ lib/fuzzer/FuzzerUtilWindows.cpp | 193 ++++++ lib/fuzzer/FuzzerValueBitMap.h | 73 ++ lib/fuzzer/README.txt | 1 + lib/fuzzer/afl/afl_driver.cpp | 341 +++++++++ lib/fuzzer/build.sh | 11 + lib/fuzzer/standalone/StandaloneFuzzTargetMain.c | 41 ++ lib/fuzzer/tests/CMakeLists.txt | 46 ++ lib/fuzzer/tests/FuzzerUnittest.cpp | 772 +++++++++++++++++++++ lib/interception/interception_linux.cc | 13 +- lib/interception/interception_linux.h | 4 +- lib/interception/interception_win.cc | 9 +- lib/interception/tests/CMakeLists.txt | 37 +- lib/lsan/lsan_interceptors.cc | 50 +- lib/msan/msan_interceptors.cc | 18 +- lib/profile/InstrProfilingFile.c | 6 +- lib/profile/InstrProfilingNameVar.c | 16 +- lib/safestack/safestack.cc | 2 + lib/sanitizer_common/CMakeLists.txt | 2 + .../sanitizer_allocator_local_cache.h | 96 +-- .../sanitizer_allocator_primary32.h | 15 +- .../sanitizer_allocator_size_class_map.h | 30 +- lib/sanitizer_common/sanitizer_common.h | 4 +- .../sanitizer_common_interceptors.inc | 10 +- lib/sanitizer_common/sanitizer_coverage_fuchsia.cc | 15 +- .../sanitizer_coverage_interface.inc | 4 + .../sanitizer_coverage_libcdep_new.cc | 9 + lib/sanitizer_common/sanitizer_flag_parser.h | 2 +- lib/sanitizer_common/sanitizer_fuchsia.cc | 11 + .../sanitizer_interface_internal.h | 8 + lib/sanitizer_common/sanitizer_internal_defs.h | 16 +- lib/sanitizer_common/sanitizer_linux.cc | 145 +++- lib/sanitizer_common/sanitizer_linux.h | 7 +- lib/sanitizer_common/sanitizer_mac.cc | 2 +- .../sanitizer_platform_interceptors.h | 1 + .../sanitizer_platform_limits_netbsd.cc | 359 ++++++++++ .../sanitizer_platform_limits_netbsd.h | 568 +++++++++++++++ .../sanitizer_platform_limits_posix.h | 4 + lib/sanitizer_common/sanitizer_posix.h | 1 + lib/sanitizer_common/sanitizer_posix_libcdep.cc | 2 + .../sanitizer_symbolizer_fuchsia.cc | 4 +- lib/sanitizer_common/sanitizer_thread_registry.cc | 29 +- lib/sanitizer_common/sanitizer_win.cc | 2 +- lib/sanitizer_common/tests/CMakeLists.txt | 48 +- .../tests/sanitizer_allocator_test.cc | 17 + .../tests/sanitizer_common_test.cc | 20 +- lib/scudo/scudo_allocator.cpp | 20 +- lib/scudo/scudo_allocator.h | 29 +- lib/scudo/scudo_new_delete.cpp | 2 +- lib/scudo/scudo_utils.h | 13 +- lib/tsan/check_analyze.sh | 10 +- lib/tsan/rtl/tsan_interceptors.cc | 47 +- lib/tsan/rtl/tsan_rtl.h | 4 +- lib/tsan/rtl/tsan_rtl_report.cc | 26 +- lib/tsan/rtl/tsan_trace.h | 2 + lib/tsan/tests/CMakeLists.txt | 59 +- lib/ubsan/CMakeLists.txt | 2 +- lib/ubsan/ubsan_platform.h | 7 +- lib/ubsan_minimal/CMakeLists.txt | 50 ++ lib/{ubsan => ubsan_minimal}/ubsan.syms.extra | 0 lib/ubsan_minimal/ubsan_minimal_handlers.cc | 91 +++ lib/xray/tests/CMakeLists.txt | 34 +- lib/xray/tests/unit/buffer_queue_test.cc | 4 +- lib/xray/tests/unit/fdr_logging_test.cc | 2 - lib/xray/xray_buffer_queue.h | 15 +- lib/xray/xray_fdr_logging.cc | 11 +- lib/xray/xray_fdr_logging_impl.h | 230 +++--- lib/xray/xray_interface.cc | 2 +- lib/xray/xray_interface_internal.h | 6 +- lib/xray/xray_trampoline_x86_64.S | 21 +- lib/xray/xray_x86_64.cc | 36 +- test/CMakeLists.txt | 4 + test/asan/CMakeLists.txt | 2 +- .../Darwin/dyld_insert_libraries_reexec.cc | 16 +- .../Darwin/dyld_insert_libraries_remove.cc | 20 +- .../TestCases/Darwin/interface_symbols_darwin.c | 1 + .../Darwin/unset-insert-libraries-on-exec.cc | 6 +- test/asan/TestCases/Linux/allocator_oom_test.cc | 3 +- .../asan/TestCases/Linux/interface_symbols_linux.c | 1 + .../TestCases/Windows/interface_symbols_windows.c | 1 + test/asan/TestCases/alloca_constant_size.cc | 2 +- test/asan/TestCases/atexit_stats.cc | 2 +- test/asan/TestCases/non-executable-pc.cpp | 4 +- test/asan/TestCases/use-after-scope-conversion.cc | 50 ++ test/asan/TestCases/verbose-log-path_test.cc | 2 +- test/asan/lit.cfg | 7 +- test/cfi/CMakeLists.txt | 12 +- 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 | 64 ++ 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/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/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/fuzzer-customcrossover.test | 15 + 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/hi.txt | 1 + test/fuzzer/inline-8bit-counters.test | 4 + test/fuzzer/lit.cfg | 80 +++ test/fuzzer/lit.site.cfg.in | 17 + 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.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 | 2 +- test/lsan/TestCases/Linux/use_tls_dynamic.cc | 2 +- test/msan/Linux/poll.cc | 42 ++ test/msan/sigaction.cc | 47 ++ test/msan/sigwait.cc | 7 +- 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-comdat.test | 2 +- test/safestack/lit.cfg | 3 +- test/sanitizer_common/CMakeLists.txt | 2 +- .../sanitizer_coverage_inline8bit_counter.cc | 17 +- .../TestCases/sanitizer_coverage_stack_depth.cc | 32 + test/sanitizer_common/lit.common.cfg | 2 +- test/scudo/mismatch.cpp | 23 +- test/scudo/options.cpp | 2 +- test/scudo/random_shuffle.cpp | 2 +- test/scudo/realloc.cpp | 102 +-- test/tsan/Linux/double_race.cc | 52 ++ test/tsan/thread_name.cc | 8 +- test/tsan/thread_name2.cc | 10 +- test/ubsan/TestCases/Float/cast-overflow.cpp | 14 +- test/ubsan/lit.common.cfg | 2 +- test/ubsan_minimal/CMakeLists.txt | 23 + .../TestCases/recover-dedup-limit.cpp | 41 ++ test/ubsan_minimal/TestCases/recover-dedup.cpp | 25 + test/ubsan_minimal/TestCases/uadd-overflow.cpp | 10 + test/ubsan_minimal/lit.common.cfg | 36 + test/ubsan_minimal/lit.site.cfg.in | 11 + test/xray/TestCases/Linux/argv0-log-file-name.cc | 2 + test/xray/TestCases/Linux/coverage-sample.cc | 2 + .../Linux/custom-event-handler-alignment.cc | 42 ++ test/xray/TestCases/Linux/custom-event-logging.cc | 2 + test/xray/TestCases/Linux/fixedsize-logging.cc | 2 + test/xray/TestCases/Linux/func-id-utils.cc | 2 + 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/Unit/lit.site.cfg.in | 2 +- test/xray/lit.site.cfg.in | 2 +- 367 files changed, 14308 insertions(+), 977 deletions(-) create mode 100644 lib/asan/asan_fuchsia.cc 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 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/sanitizer_common/sanitizer_platform_limits_netbsd.cc create mode 100644 lib/sanitizer_common/sanitizer_platform_limits_netbsd.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 test/asan/TestCases/use-after-scope-conversion.cc 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/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/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/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/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/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.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/msan/Linux/poll.cc create mode 100644 test/msan/sigaction.cc create mode 100644 test/sanitizer_common/TestCases/sanitizer_coverage_stack_depth.cc create mode 100644 test/tsan/Linux/double_race.cc 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/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/custom-event-handler-alignment.cc