diff options
27 files changed, 81 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/test/BufferOverflowOnInput.cpp b/llvm/lib/Fuzzer/test/BufferOverflowOnInput.cpp index 9bebd84a56f..b9d14052aee 100644 --- a/llvm/lib/Fuzzer/test/BufferOverflowOnInput.cpp +++ b/llvm/lib/Fuzzer/test/BufferOverflowOnInput.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <assert.h> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/CallerCalleeTest.cpp b/llvm/lib/Fuzzer/test/CallerCalleeTest.cpp index 150b2fc0405..3ec025d0230 100644 --- a/llvm/lib/Fuzzer/test/CallerCalleeTest.cpp +++ b/llvm/lib/Fuzzer/test/CallerCalleeTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. // Try to find the target using the indirect caller-callee pairs. #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/CounterTest.cpp b/llvm/lib/Fuzzer/test/CounterTest.cpp index b61f419c499..4917934c62e 100644 --- a/llvm/lib/Fuzzer/test/CounterTest.cpp +++ b/llvm/lib/Fuzzer/test/CounterTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Test for a fuzzer: must find the case where a particular basic block is // executed many times. #include <iostream> diff --git a/llvm/lib/Fuzzer/test/CustomMutatorTest.cpp b/llvm/lib/Fuzzer/test/CustomMutatorTest.cpp index ef4851e1bf6..0e76eaf8ebd 100644 --- a/llvm/lib/Fuzzer/test/CustomMutatorTest.cpp +++ b/llvm/lib/Fuzzer/test/CustomMutatorTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a cutom mutator. #include <assert.h> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp b/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp index 6007dd4a027..62b3be76e3a 100644 --- a/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp +++ b/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the string "FUZZ". #include <cstdint> #include <cstdlib> diff --git a/llvm/lib/Fuzzer/test/FullCoverageSetTest.cpp b/llvm/lib/Fuzzer/test/FullCoverageSetTest.cpp index a868084a0ce..415e0b4760c 100644 --- a/llvm/lib/Fuzzer/test/FullCoverageSetTest.cpp +++ b/llvm/lib/Fuzzer/test/FullCoverageSetTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the string "FUZZER". #include <cstdint> #include <cstdlib> diff --git a/llvm/lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp b/llvm/lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp index a8b5a149cff..11be18096bc 100644 --- a/llvm/lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp +++ b/llvm/lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + #include "FuzzerFnAdapter.h" #include "gtest/gtest-spi.h" #include "gtest/gtest.h" diff --git a/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp b/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp index 06ab510983e..7b49f2f08e4 100644 --- a/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp +++ b/llvm/lib/Fuzzer/test/FuzzerUnittest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + #include "FuzzerInternal.h" #include "gtest/gtest.h" #include <set> diff --git a/llvm/lib/Fuzzer/test/InitializeTest.cpp b/llvm/lib/Fuzzer/test/InitializeTest.cpp index 14627479708..d40ff2f7936 100644 --- a/llvm/lib/Fuzzer/test/InitializeTest.cpp +++ b/llvm/lib/Fuzzer/test/InitializeTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Make sure LLVMFuzzerInitialize is called. #include <assert.h> #include <stddef.h> diff --git a/llvm/lib/Fuzzer/test/LeakTest.cpp b/llvm/lib/Fuzzer/test/LeakTest.cpp index 7d153e45691..69ff10b2223 100644 --- a/llvm/lib/Fuzzer/test/LeakTest.cpp +++ b/llvm/lib/Fuzzer/test/LeakTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Test with a leak. #include <cstdint> #include <cstddef> diff --git a/llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp b/llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp index 3aa56c4ef65..4f31b3e52c1 100644 --- a/llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp +++ b/llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Test with a leak. #include <cstdint> #include <cstddef> diff --git a/llvm/lib/Fuzzer/test/MemcmpTest.cpp b/llvm/lib/Fuzzer/test/MemcmpTest.cpp index c72f2c2cb51..fdbf94683f7 100644 --- a/llvm/lib/Fuzzer/test/MemcmpTest.cpp +++ b/llvm/lib/Fuzzer/test/MemcmpTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstring> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/NthRunCrashTest.cpp b/llvm/lib/Fuzzer/test/NthRunCrashTest.cpp index 03d03d00db6..b43e69e51b2 100644 --- a/llvm/lib/Fuzzer/test/NthRunCrashTest.cpp +++ b/llvm/lib/Fuzzer/test/NthRunCrashTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Crash on the N-th execution. #include <cstdint> #include <cstddef> diff --git a/llvm/lib/Fuzzer/test/NullDerefTest.cpp b/llvm/lib/Fuzzer/test/NullDerefTest.cpp index 200c56ccbbc..3f03d249819 100644 --- a/llvm/lib/Fuzzer/test/NullDerefTest.cpp +++ b/llvm/lib/Fuzzer/test/NullDerefTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <cstdint> #include <cstdlib> diff --git a/llvm/lib/Fuzzer/test/RepeatedMemcmp.cpp b/llvm/lib/Fuzzer/test/RepeatedMemcmp.cpp index cb5e130003b..a327bbee781 100644 --- a/llvm/lib/Fuzzer/test/RepeatedMemcmp.cpp +++ b/llvm/lib/Fuzzer/test/RepeatedMemcmp.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + #include <cstring> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/SimpleCmpTest.cpp b/llvm/lib/Fuzzer/test/SimpleCmpTest.cpp index 8568c737efb..54dc016ce84 100644 --- a/llvm/lib/Fuzzer/test/SimpleCmpTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleCmpTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find several narrow ranges. #include <cstdint> #include <cstdlib> diff --git a/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp b/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp index b9cb2f0270a..cd7292bd006 100644 --- a/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. // The fuzzer must find a string based on dictionary words: // "Elvis" diff --git a/llvm/lib/Fuzzer/test/SimpleFnAdapterTest.cpp b/llvm/lib/Fuzzer/test/SimpleFnAdapterTest.cpp index f9432efea3a..d30c98b250e 100644 --- a/llvm/lib/Fuzzer/test/SimpleFnAdapterTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleFnAdapterTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer Fn adapter. The fuzzer has to find two non-empty // vectors with the same content. diff --git a/llvm/lib/Fuzzer/test/SimpleHashTest.cpp b/llvm/lib/Fuzzer/test/SimpleHashTest.cpp index 5bab3fa7f64..00599de78eb 100644 --- a/llvm/lib/Fuzzer/test/SimpleHashTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleHashTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // 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. // A fuzzer with cmp traces is expected to defeat this check. diff --git a/llvm/lib/Fuzzer/test/SimpleTest.cpp b/llvm/lib/Fuzzer/test/SimpleTest.cpp index 04225a889f5..e53ea160ed8 100644 --- a/llvm/lib/Fuzzer/test/SimpleTest.cpp +++ b/llvm/lib/Fuzzer/test/SimpleTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <assert.h> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/SpamyTest.cpp b/llvm/lib/Fuzzer/test/SpamyTest.cpp index 63776d6dfb9..d294d4dc53e 100644 --- a/llvm/lib/Fuzzer/test/SpamyTest.cpp +++ b/llvm/lib/Fuzzer/test/SpamyTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // The test spams to stderr and stdout. #include <assert.h> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/StrcmpTest.cpp b/llvm/lib/Fuzzer/test/StrcmpTest.cpp index 835819ae2f4..5a132990461 100644 --- a/llvm/lib/Fuzzer/test/StrcmpTest.cpp +++ b/llvm/lib/Fuzzer/test/StrcmpTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Break through a series of strcmp. #include <cstring> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/StrncmpTest.cpp b/llvm/lib/Fuzzer/test/StrncmpTest.cpp index 55344d75e0b..8575c2682f1 100644 --- a/llvm/lib/Fuzzer/test/StrncmpTest.cpp +++ b/llvm/lib/Fuzzer/test/StrncmpTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find a particular string. #include <cstring> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/SwitchTest.cpp b/llvm/lib/Fuzzer/test/SwitchTest.cpp index 5de7fff7452..3dc051ff7b5 100644 --- a/llvm/lib/Fuzzer/test/SwitchTest.cpp +++ b/llvm/lib/Fuzzer/test/SwitchTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the interesting switch value. #include <cstdint> #include <cstdlib> diff --git a/llvm/lib/Fuzzer/test/ThreadedTest.cpp b/llvm/lib/Fuzzer/test/ThreadedTest.cpp index 7aa114a41f3..09137a9a70c 100644 --- a/llvm/lib/Fuzzer/test/ThreadedTest.cpp +++ b/llvm/lib/Fuzzer/test/ThreadedTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Threaded test for a fuzzer. The fuzzer should not crash. #include <assert.h> #include <cstdint> diff --git a/llvm/lib/Fuzzer/test/TimeoutTest.cpp b/llvm/lib/Fuzzer/test/TimeoutTest.cpp index 71790ded95a..f8107012c84 100644 --- a/llvm/lib/Fuzzer/test/TimeoutTest.cpp +++ b/llvm/lib/Fuzzer/test/TimeoutTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // Simple test for a fuzzer. The fuzzer must find the string "Hi!". #include <cstdint> #include <cstdlib> diff --git a/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp b/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp index c1730198d83..ffe952c749d 100644 --- a/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp +++ b/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp @@ -1,3 +1,6 @@ +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. + // This test should not be instrumented. #include <cstdint> #include <cstddef> |