summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/fuzzer')
-rw-r--r--compiler-rt/test/fuzzer/AFLDriverTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp5
-rw-r--r--compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/BadStrcmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/BogusInitializeTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CallerCalleeTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CleanseTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CounterTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CustomCrossOverTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CustomMutatorTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/CxxStringEqTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/DSO1.cpp5
-rw-r--r--compiler-rt/test/fuzzer/DSO2.cpp5
-rw-r--r--compiler-rt/test/fuzzer/DSOTestExtra.cpp5
-rw-r--r--compiler-rt/test/fuzzer/DSOTestMain.cpp5
-rw-r--r--compiler-rt/test/fuzzer/DeepRecursionTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/DivTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/EmptyTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/EquivalenceATest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/EquivalenceBTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/FlagsTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/FullCoverageSetTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/GcSectionsTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/InitializeTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/LargeTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/LeakTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/LeakTimeoutTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/LoadTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/MemcmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/NotinstrumentedTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/NthRunCrashTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/NullDerefTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/OneHugeAllocTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/OutOfMemoryTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/OverwriteInputTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/PrintFuncTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ReadBinaryTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/RepeatedBytesTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/RepeatedMemcmp.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SimpleCmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SimpleHashTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SimpleTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SimpleTestStdio.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SimpleThreadedTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SingleByteInputTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SingleMemcmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SingleStrcmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SingleStrncmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SleepOneSecondTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SpamyTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/StrcmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/StrncmpOOBTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/StrncmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/StrstrTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SwapCmpTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/Switch2Test.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SwitchTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp5
-rw-r--r--compiler-rt/test/fuzzer/TableLookupTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ThreadedLeakTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ThreadedTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ThreeBytes.cpp5
-rw-r--r--compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/TimeoutTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/TraceMallocTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp5
-rw-r--r--compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp5
89 files changed, 267 insertions, 178 deletions
diff --git a/compiler-rt/test/fuzzer/AFLDriverTest.cpp b/compiler-rt/test/fuzzer/AFLDriverTest.cpp
index b949adc7de1..d2937d004d1 100644
--- a/compiler-rt/test/fuzzer/AFLDriverTest.cpp
+++ b/compiler-rt/test/fuzzer/AFLDriverTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Contains dummy functions used to avoid dependency on AFL.
#include <stdint.h>
diff --git a/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp b/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp
index 0ba80b61d03..c079b207034 100644
--- a/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp
+++ b/compiler-rt/test/fuzzer/AbsNegAndConstant64Test.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// abs(x) < 0 and y == Const puzzle, 64-bit variant.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp b/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp
index a3f53498001..a0eedc19ca4 100644
--- a/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp
+++ b/compiler-rt/test/fuzzer/AbsNegAndConstantTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// abs(x) < 0 and y == Const puzzle.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp b/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp
index e9acd7ccbd3..91886fa1672 100644
--- a/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp
+++ b/compiler-rt/test/fuzzer/AccumulateAllocationsTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test with a more mallocs than frees, but no leak.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp b/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp
index 0fe71fd46bf..3035021ba04 100644
--- a/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp
+++ b/compiler-rt/test/fuzzer/AcquireCrashStateTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Ensures that error reports are suppressed after
// __sanitizer_acquire_crash_state() has been called the first time.
diff --git a/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp b/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp
index be51d37e8fe..58209f0beae 100644
--- a/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp
+++ b/compiler-rt/test/fuzzer/AlignmentAssumptionTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for alignment assumption failure.
diff --git a/compiler-rt/test/fuzzer/BadStrcmpTest.cpp b/compiler-rt/test/fuzzer/BadStrcmpTest.cpp
index ba2b068f741..4ab2b7094fc 100644
--- a/compiler-rt/test/fuzzer/BadStrcmpTest.cpp
+++ b/compiler-rt/test/fuzzer/BadStrcmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test that we don't creash in case of bad strcmp params.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/BogusInitializeTest.cpp b/compiler-rt/test/fuzzer/BogusInitializeTest.cpp
index c7e81a5478b..9252521688d 100644
--- a/compiler-rt/test/fuzzer/BogusInitializeTest.cpp
+++ b/compiler-rt/test/fuzzer/BogusInitializeTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Make sure LLVMFuzzerInitialize does not change argv[0].
#include <stddef.h>
diff --git a/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp b/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp
index 159da92d4e9..6e53cd98fa3 100644
--- a/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp
+++ b/compiler-rt/test/fuzzer/BufferOverflowOnInput.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "Hi!".
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/CallerCalleeTest.cpp b/compiler-rt/test/fuzzer/CallerCalleeTest.cpp
index ed9f37cc152..4b38983f753 100644
--- a/compiler-rt/test/fuzzer/CallerCalleeTest.cpp
+++ b/compiler-rt/test/fuzzer/CallerCalleeTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer.
// Try to find the target using the indirect caller-callee pairs.
diff --git a/compiler-rt/test/fuzzer/CleanseTest.cpp b/compiler-rt/test/fuzzer/CleanseTest.cpp
index d4efa12bb20..2ff5ebfb32c 100644
--- a/compiler-rt/test/fuzzer/CleanseTest.cpp
+++ b/compiler-rt/test/fuzzer/CleanseTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test the fuzzer is able to 'cleanse' the reproducer
// by replacing all irrelevant bytes with garbage.
diff --git a/compiler-rt/test/fuzzer/CounterTest.cpp b/compiler-rt/test/fuzzer/CounterTest.cpp
index 4917934c62e..84112f9e85b 100644
--- a/compiler-rt/test/fuzzer/CounterTest.cpp
+++ b/compiler-rt/test/fuzzer/CounterTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for a fuzzer: must find the case where a particular basic block is
// executed many times.
diff --git a/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp b/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp
index 74fc939534c..37f073b1075 100644
--- a/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp
+++ b/compiler-rt/test/fuzzer/CustomCrossOverAndMutateTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test that libFuzzer does not crash when LLVMFuzzerMutate called from
// LLVMFuzzerCustomCrossOver.
diff --git a/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp b/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp
index bd9afe774d3..36062edd4db 100644
--- a/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp
+++ b/compiler-rt/test/fuzzer/CustomCrossOverTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a cutom crossover.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/CustomMutatorTest.cpp b/compiler-rt/test/fuzzer/CustomMutatorTest.cpp
index b2adb94082d..51b6169eb8d 100644
--- a/compiler-rt/test/fuzzer/CustomMutatorTest.cpp
+++ b/compiler-rt/test/fuzzer/CustomMutatorTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a cutom mutator.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/CxxStringEqTest.cpp b/compiler-rt/test/fuzzer/CxxStringEqTest.cpp
index 924851c5ad5..b33f474f020 100644
--- a/compiler-rt/test/fuzzer/CxxStringEqTest.cpp
+++ b/compiler-rt/test/fuzzer/CxxStringEqTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. Must find a specific string
// used in std::string operator ==.
diff --git a/compiler-rt/test/fuzzer/DSO1.cpp b/compiler-rt/test/fuzzer/DSO1.cpp
index 72a5ec4a0cd..c164bf6292e 100644
--- a/compiler-rt/test/fuzzer/DSO1.cpp
+++ b/compiler-rt/test/fuzzer/DSO1.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Source code for a simple DSO.
#ifdef _WIN32
diff --git a/compiler-rt/test/fuzzer/DSO2.cpp b/compiler-rt/test/fuzzer/DSO2.cpp
index 2967055dc22..ed0ee43867e 100644
--- a/compiler-rt/test/fuzzer/DSO2.cpp
+++ b/compiler-rt/test/fuzzer/DSO2.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Source code for a simple DSO.
#ifdef _WIN32
diff --git a/compiler-rt/test/fuzzer/DSOTestExtra.cpp b/compiler-rt/test/fuzzer/DSOTestExtra.cpp
index a2274d070eb..a0d156d7917 100644
--- a/compiler-rt/test/fuzzer/DSOTestExtra.cpp
+++ b/compiler-rt/test/fuzzer/DSOTestExtra.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Source code for a simple DSO.
diff --git a/compiler-rt/test/fuzzer/DSOTestMain.cpp b/compiler-rt/test/fuzzer/DSOTestMain.cpp
index e0c857d4fde..b2a85a770d1 100644
--- a/compiler-rt/test/fuzzer/DSOTestMain.cpp
+++ b/compiler-rt/test/fuzzer/DSOTestMain.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Source code for a simple DSO.
diff --git a/compiler-rt/test/fuzzer/DeepRecursionTest.cpp b/compiler-rt/test/fuzzer/DeepRecursionTest.cpp
index bf4621d0492..aaef38960fa 100644
--- a/compiler-rt/test/fuzzer/DeepRecursionTest.cpp
+++ b/compiler-rt/test/fuzzer/DeepRecursionTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the deep recursion.
// To generate a crashy input:
diff --git a/compiler-rt/test/fuzzer/DivTest.cpp b/compiler-rt/test/fuzzer/DivTest.cpp
index bce13feb790..5a6ae7622a1 100644
--- a/compiler-rt/test/fuzzer/DivTest.cpp
+++ b/compiler-rt/test/fuzzer/DivTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer: find the interesting argument for div.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/EmptyTest.cpp b/compiler-rt/test/fuzzer/EmptyTest.cpp
index 5e843308fa5..4d690e83b48 100644
--- a/compiler-rt/test/fuzzer/EmptyTest.cpp
+++ b/compiler-rt/test/fuzzer/EmptyTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// A fuzzer with empty target function.
diff --git a/compiler-rt/test/fuzzer/EquivalenceATest.cpp b/compiler-rt/test/fuzzer/EquivalenceATest.cpp
index 7d1ebb0f6a4..32aa4a8122b 100644
--- a/compiler-rt/test/fuzzer/EquivalenceATest.cpp
+++ b/compiler-rt/test/fuzzer/EquivalenceATest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
diff --git a/compiler-rt/test/fuzzer/EquivalenceBTest.cpp b/compiler-rt/test/fuzzer/EquivalenceBTest.cpp
index b1de208b57f..a4da7731668 100644
--- a/compiler-rt/test/fuzzer/EquivalenceBTest.cpp
+++ b/compiler-rt/test/fuzzer/EquivalenceBTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
diff --git a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp
index 0decff8ff08..4c1a57914c9 100644
--- a/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp
+++ b/compiler-rt/test/fuzzer/ExplodeDFSanLabelsTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// When tracing data flow, explode the number of DFSan labels.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/FlagsTest.cpp b/compiler-rt/test/fuzzer/FlagsTest.cpp
index 6eeac177bd9..8acd2f99b35 100644
--- a/compiler-rt/test/fuzzer/FlagsTest.cpp
+++ b/compiler-rt/test/fuzzer/FlagsTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Parse some flags
#include <string>
diff --git a/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp b/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp
index bbf5ea235c7..712f942447a 100644
--- a/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp
+++ b/compiler-rt/test/fuzzer/FourIndependentBranchesTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "FUZZ".
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp b/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp
index 6d7e48fe51f..7409022fa5f 100644
--- a/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp
+++ b/compiler-rt/test/fuzzer/FullCoverageSetTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "FUZZER".
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/GcSectionsTest.cpp b/compiler-rt/test/fuzzer/GcSectionsTest.cpp
index fd9da7735cd..730167c4516 100644
--- a/compiler-rt/test/fuzzer/GcSectionsTest.cpp
+++ b/compiler-rt/test/fuzzer/GcSectionsTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer.
// The unused function should not be present in the binary.
diff --git a/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp b/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp
index 0fd7df0e2d2..f925afd4da6 100644
--- a/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp
+++ b/compiler-rt/test/fuzzer/ImplicitIntegerSignChangeTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for implicit-integer-sign-change.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp
index 6e65f5442dc..e365d599c93 100644
--- a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp
+++ b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationOrSignChangeTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for implicit-signed-integer-truncation-or-sign-change.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp
index 9a17802e2a5..3e175a1de01 100644
--- a/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp
+++ b/compiler-rt/test/fuzzer/ImplicitSignedIntegerTruncationTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for signed-integer-overflow.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp b/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp
index c0bf40ab08f..5c22a0a3a19 100644
--- a/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp
+++ b/compiler-rt/test/fuzzer/ImplicitUnsignedIntegerTruncationTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for unsigned-integer-overflow.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/InitializeTest.cpp b/compiler-rt/test/fuzzer/InitializeTest.cpp
index 5022c9efa64..f0299e1f61e 100644
--- a/compiler-rt/test/fuzzer/InitializeTest.cpp
+++ b/compiler-rt/test/fuzzer/InitializeTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Make sure LLVMFuzzerInitialize is called.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/LargeTest.cpp b/compiler-rt/test/fuzzer/LargeTest.cpp
index 83ed6197180..59a1619c078 100644
--- a/compiler-rt/test/fuzzer/LargeTest.cpp
+++ b/compiler-rt/test/fuzzer/LargeTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// A fuzz target with lots of edges.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/LeakTest.cpp b/compiler-rt/test/fuzzer/LeakTest.cpp
index f259e9d359f..b4f7e5dfc46 100644
--- a/compiler-rt/test/fuzzer/LeakTest.cpp
+++ b/compiler-rt/test/fuzzer/LeakTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test with a leak.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp b/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp
index 92526194a50..a4c89ce7d1c 100644
--- a/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp
+++ b/compiler-rt/test/fuzzer/LeakTimeoutTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test with a leak.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/LoadTest.cpp b/compiler-rt/test/fuzzer/LoadTest.cpp
index 67a28c7cb22..9cf101542cb 100644
--- a/compiler-rt/test/fuzzer/LoadTest.cpp
+++ b/compiler-rt/test/fuzzer/LoadTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer: find interesting value of array index.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp b/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp
index 5b6cb707173..e2c0db22b82 100644
--- a/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp
+++ b/compiler-rt/test/fuzzer/Memcmp64BytesTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find a particular string.
#include <cassert>
diff --git a/compiler-rt/test/fuzzer/MemcmpTest.cpp b/compiler-rt/test/fuzzer/MemcmpTest.cpp
index 8dbb7d84fbb..060c5b9b11f 100644
--- a/compiler-rt/test/fuzzer/MemcmpTest.cpp
+++ b/compiler-rt/test/fuzzer/MemcmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find a particular string.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp b/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp
index 8e24acbcf2d..ddc0a931cdf 100644
--- a/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp
+++ b/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// echo -en 'Im_so_cute&pretty_:)' > crash
//
diff --git a/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp b/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp
index 91418990b19..3d01247366e 100644
--- a/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp
+++ b/compiler-rt/test/fuzzer/NotinstrumentedTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// This test should not be instrumented.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/NthRunCrashTest.cpp b/compiler-rt/test/fuzzer/NthRunCrashTest.cpp
index 26cdc8f17ad..869b723399f 100644
--- a/compiler-rt/test/fuzzer/NthRunCrashTest.cpp
+++ b/compiler-rt/test/fuzzer/NthRunCrashTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Crash on the N-th execution.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp b/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp
index 459db51f8a3..d9c85348cb4 100644
--- a/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp
+++ b/compiler-rt/test/fuzzer/NullDerefOnEmptyTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the empty string.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/NullDerefTest.cpp b/compiler-rt/test/fuzzer/NullDerefTest.cpp
index 48df0f54cfe..32a36614172 100644
--- a/compiler-rt/test/fuzzer/NullDerefTest.cpp
+++ b/compiler-rt/test/fuzzer/NullDerefTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "Hi!".
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp b/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp
index 32a55787100..34c51f522d5 100644
--- a/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp
+++ b/compiler-rt/test/fuzzer/OneHugeAllocTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Tests OOM handling when there is a single large allocation.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp b/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp
index 076cda06345..60de710e829 100644
--- a/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp
+++ b/compiler-rt/test/fuzzer/OnlySomeBytesTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Find ABCxxFxUxZxxx... (2048+ bytes, 'x' is any byte)
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp b/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp
index a07795a08df..5a6b49ff159 100644
--- a/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp
+++ b/compiler-rt/test/fuzzer/OutOfMemorySingleLargeMallocTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Tests OOM handling.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp b/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp
index 5e59bde0985..ae8e6ee3b8a 100644
--- a/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp
+++ b/compiler-rt/test/fuzzer/OutOfMemoryTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Tests OOM handling.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/OverwriteInputTest.cpp b/compiler-rt/test/fuzzer/OverwriteInputTest.cpp
index e688682346a..b5f40a7e84f 100644
--- a/compiler-rt/test/fuzzer/OverwriteInputTest.cpp
+++ b/compiler-rt/test/fuzzer/OverwriteInputTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. Make sure we abort if Data is overwritten.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/PrintFuncTest.cpp b/compiler-rt/test/fuzzer/PrintFuncTest.cpp
index d41b4623924..1520e82b936 100644
--- a/compiler-rt/test/fuzzer/PrintFuncTest.cpp
+++ b/compiler-rt/test/fuzzer/PrintFuncTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "Hi!".
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/ReadBinaryTest.cpp b/compiler-rt/test/fuzzer/ReadBinaryTest.cpp
index de7a4003698..b4c2a4b8a40 100644
--- a/compiler-rt/test/fuzzer/ReadBinaryTest.cpp
+++ b/compiler-rt/test/fuzzer/ReadBinaryTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. Tests that fuzzer can read a file containing
// carriage returns.
diff --git a/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp b/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp
index 31868cf8c54..1ed822a3de5 100644
--- a/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp
+++ b/compiler-rt/test/fuzzer/RepeatedBytesTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find repeated bytes.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp b/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp
index 18369deac3b..0363adf39ef 100644
--- a/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp
+++ b/compiler-rt/test/fuzzer/RepeatedMemcmp.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include <cstdint>
#include <cstdio>
diff --git a/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp b/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp
index 0afd26df23a..d63905ae9b1 100644
--- a/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp
+++ b/compiler-rt/test/fuzzer/ShrinkControlFlowSimpleTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test that we can find the minimal item in the corpus (3 bytes: "FUZ").
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp b/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp
index 1957c1f90fc..886bc066b92 100644
--- a/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp
+++ b/compiler-rt/test/fuzzer/ShrinkControlFlowTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test that we can find the minimal item in the corpus (3 bytes: "FUZ").
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp b/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp
index dddf493da69..4d4c0b59960 100644
--- a/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp
+++ b/compiler-rt/test/fuzzer/ShrinkValueProfileTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test that we can find the minimal item in the corpus (4 bytes: "FUZZ").
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp b/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp
index d80060207de..5283304ea68 100644
--- a/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp
+++ b/compiler-rt/test/fuzzer/SignedIntOverflowTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test for signed-integer-overflow.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/SimpleCmpTest.cpp b/compiler-rt/test/fuzzer/SimpleCmpTest.cpp
index 3bb28c17318..5768493d8ef 100644
--- a/compiler-rt/test/fuzzer/SimpleCmpTest.cpp
+++ b/compiler-rt/test/fuzzer/SimpleCmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find several narrow ranges.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp b/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp
index ffa2e4137bd..72b2440d421 100644
--- a/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp
+++ b/compiler-rt/test/fuzzer/SimpleDictionaryTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer.
// The fuzzer must find a string based on dictionary words:
diff --git a/compiler-rt/test/fuzzer/SimpleHashTest.cpp b/compiler-rt/test/fuzzer/SimpleHashTest.cpp
index 99e96cb25dc..6ca8ac6998a 100644
--- a/compiler-rt/test/fuzzer/SimpleHashTest.cpp
+++ b/compiler-rt/test/fuzzer/SimpleHashTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// This test computes a checksum of the data (all but the last 4 bytes),
// and then compares the last 4 bytes with the computed value.
diff --git a/compiler-rt/test/fuzzer/SimpleTest.cpp b/compiler-rt/test/fuzzer/SimpleTest.cpp
index 3882a842b88..c51227ba2a4 100644
--- a/compiler-rt/test/fuzzer/SimpleTest.cpp
+++ b/compiler-rt/test/fuzzer/SimpleTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "Hi!".
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/SimpleTestStdio.cpp b/compiler-rt/test/fuzzer/SimpleTestStdio.cpp
index ed7fe1cb3f6..36387b362f1 100644
--- a/compiler-rt/test/fuzzer/SimpleTestStdio.cpp
+++ b/compiler-rt/test/fuzzer/SimpleTestStdio.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "Hi!".
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp b/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp
index deeae756a82..8f4cf6a9a14 100644
--- a/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp
+++ b/compiler-rt/test/fuzzer/SimpleThreadedTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Threaded test for a fuzzer. The fuzzer should find "H"
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/SingleByteInputTest.cpp b/compiler-rt/test/fuzzer/SingleByteInputTest.cpp
index 72b58ba912e..5244653fcac 100644
--- a/compiler-rt/test/fuzzer/SingleByteInputTest.cpp
+++ b/compiler-rt/test/fuzzer/SingleByteInputTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer, need just one byte to crash.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp b/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp
index 19781ba4cd7..ef0a89b806d 100644
--- a/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp
+++ b/compiler-rt/test/fuzzer/SingleMemcmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find a particular string.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp b/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp
index 149073444c9..46521ab97d0 100644
--- a/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp
+++ b/compiler-rt/test/fuzzer/SingleStrcmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find a particular string.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp b/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp
index 47298763f28..46f1f3e0d99 100644
--- a/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp
+++ b/compiler-rt/test/fuzzer/SingleStrncmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find a particular string.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp b/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp
index 27de2f4f700..b91c4b755e2 100644
--- a/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp
+++ b/compiler-rt/test/fuzzer/SleepOneSecondTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer: it simply sleeps for 1 second.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/SpamyTest.cpp b/compiler-rt/test/fuzzer/SpamyTest.cpp
index 721134e1841..f0f0d4c74bc 100644
--- a/compiler-rt/test/fuzzer/SpamyTest.cpp
+++ b/compiler-rt/test/fuzzer/SpamyTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// The test spams to stderr and stdout.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/StrcmpTest.cpp b/compiler-rt/test/fuzzer/StrcmpTest.cpp
index 81f041d913e..12cafae6635 100644
--- a/compiler-rt/test/fuzzer/StrcmpTest.cpp
+++ b/compiler-rt/test/fuzzer/StrcmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Break through a series of strcmp.
#include <cassert>
diff --git a/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp b/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp
index 4ed71d9d021..92b4868ce0a 100644
--- a/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp
+++ b/compiler-rt/test/fuzzer/StrncmpOOBTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test that libFuzzer itself does not read out of bounds.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/StrncmpTest.cpp b/compiler-rt/test/fuzzer/StrncmpTest.cpp
index a40e05690a0..6f2f46ddab0 100644
--- a/compiler-rt/test/fuzzer/StrncmpTest.cpp
+++ b/compiler-rt/test/fuzzer/StrncmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find a particular string.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/StrstrTest.cpp b/compiler-rt/test/fuzzer/StrstrTest.cpp
index a3ea4e03b3d..29d20275896 100644
--- a/compiler-rt/test/fuzzer/StrstrTest.cpp
+++ b/compiler-rt/test/fuzzer/StrstrTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Test strstr and strcasestr hooks.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/SwapCmpTest.cpp b/compiler-rt/test/fuzzer/SwapCmpTest.cpp
index 5aa47beb22b..d4c2cd23927 100644
--- a/compiler-rt/test/fuzzer/SwapCmpTest.cpp
+++ b/compiler-rt/test/fuzzer/SwapCmpTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// The fuzzer must find several constants with swapped bytes.
#include <cstdint>
diff --git a/compiler-rt/test/fuzzer/Switch2Test.cpp b/compiler-rt/test/fuzzer/Switch2Test.cpp
index 5f66ac8b499..5d85bd47051 100644
--- a/compiler-rt/test/fuzzer/Switch2Test.cpp
+++ b/compiler-rt/test/fuzzer/Switch2Test.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the interesting switch value.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/SwitchTest.cpp b/compiler-rt/test/fuzzer/SwitchTest.cpp
index 86944cad21c..15b70ed906c 100644
--- a/compiler-rt/test/fuzzer/SwitchTest.cpp
+++ b/compiler-rt/test/fuzzer/SwitchTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the interesting switch value.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp b/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp
index b9ece38b230..a6e3f188107 100644
--- a/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp
+++ b/compiler-rt/test/fuzzer/SymbolizeDeadlock.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Tests that deadlocks do not occur when an OOM occurs during symbolization.
diff --git a/compiler-rt/test/fuzzer/TableLookupTest.cpp b/compiler-rt/test/fuzzer/TableLookupTest.cpp
index 4d8ab0611cd..2b405230332 100644
--- a/compiler-rt/test/fuzzer/TableLookupTest.cpp
+++ b/compiler-rt/test/fuzzer/TableLookupTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Make sure the fuzzer eventually finds all possible values of a variable
// within a range.
diff --git a/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp b/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp
index 59f3671fe9d..cbc9ad53d10 100644
--- a/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp
+++ b/compiler-rt/test/fuzzer/ThreadedLeakTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// The fuzzer should find a leak in a non-main thread.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/ThreadedTest.cpp b/compiler-rt/test/fuzzer/ThreadedTest.cpp
index bb51ba764eb..716eace4bc9 100644
--- a/compiler-rt/test/fuzzer/ThreadedTest.cpp
+++ b/compiler-rt/test/fuzzer/ThreadedTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Threaded test for a fuzzer. The fuzzer should not crash.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/ThreeBytes.cpp b/compiler-rt/test/fuzzer/ThreeBytes.cpp
index 754a5b0b56a..cdedd9c1803 100644
--- a/compiler-rt/test/fuzzer/ThreeBytes.cpp
+++ b/compiler-rt/test/fuzzer/ThreeBytes.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Find FUZ
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp b/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp
index 1278cb05633..64583e95a84 100644
--- a/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp
+++ b/compiler-rt/test/fuzzer/ThreeFunctionsTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Find "FUZZME", the target has 3 different functions.
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp b/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp
index 1ddf1fa3458..f82cfda4a9f 100644
--- a/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp
+++ b/compiler-rt/test/fuzzer/TimeoutEmptyTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the empty string.
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/TimeoutTest.cpp b/compiler-rt/test/fuzzer/TimeoutTest.cpp
index e3cdba3eec3..e4526c0920f 100644
--- a/compiler-rt/test/fuzzer/TimeoutTest.cpp
+++ b/compiler-rt/test/fuzzer/TimeoutTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. The fuzzer must find the string "Hi!".
#include <cstddef>
diff --git a/compiler-rt/test/fuzzer/TraceMallocTest.cpp b/compiler-rt/test/fuzzer/TraceMallocTest.cpp
index af9975603aa..5a7dfe9d38d 100644
--- a/compiler-rt/test/fuzzer/TraceMallocTest.cpp
+++ b/compiler-rt/test/fuzzer/TraceMallocTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Tests -trace_malloc
#include <assert.h>
diff --git a/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp b/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
index 0183d939af5..6b8bb7c2efc 100644
--- a/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
+++ b/compiler-rt/test/fuzzer/TraceMallocThreadedTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Check that allocation tracing from different threads does not cause
// interleaving of stack traces.
diff --git a/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp b/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp
index 77d2cb1a25f..18649b72e14 100644
--- a/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp
+++ b/compiler-rt/test/fuzzer/TwoDifferentBugsTest.cpp
@@ -1,5 +1,6 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// Simple test for a fuzzer. This test may trigger two different bugs.
#include <cstddef>
OpenPOWER on IntegriCloud