From: Mike Aizatsky Date: Fri, 1 Apr 2016 18:38:58 +0000 (+0000) Subject: [libfuzzer] adding license headers to cpp files X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f13cbee12e971869904103022f83e3e1f36da0a8;p=platform%2Fupstream%2Fllvm.git [libfuzzer] adding license headers to cpp files Differential Revision: http://reviews.llvm.org/D18705 llvm-svn: 265174 --- diff --git a/llvm/lib/Fuzzer/test/BufferOverflowOnInput.cpp b/llvm/lib/Fuzzer/test/BufferOverflowOnInput.cpp index 9bebd84..b9d1405 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 #include diff --git a/llvm/lib/Fuzzer/test/CallerCalleeTest.cpp b/llvm/lib/Fuzzer/test/CallerCalleeTest.cpp index 150b2fc0..3ec025d 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 diff --git a/llvm/lib/Fuzzer/test/CounterTest.cpp b/llvm/lib/Fuzzer/test/CounterTest.cpp index b61f419..4917934 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 diff --git a/llvm/lib/Fuzzer/test/CustomMutatorTest.cpp b/llvm/lib/Fuzzer/test/CustomMutatorTest.cpp index ef4851e..0e76eaf 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 #include diff --git a/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp b/llvm/lib/Fuzzer/test/FourIndependentBranchesTest.cpp index 6007dd4..62b3be7 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 #include diff --git a/llvm/lib/Fuzzer/test/FullCoverageSetTest.cpp b/llvm/lib/Fuzzer/test/FullCoverageSetTest.cpp index a868084a..415e0b4 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 #include diff --git a/llvm/lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp b/llvm/lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp index a8b5a14..11be180 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 06ab510..7b49f2f 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 diff --git a/llvm/lib/Fuzzer/test/InitializeTest.cpp b/llvm/lib/Fuzzer/test/InitializeTest.cpp index 1462747..d40ff2f 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 #include diff --git a/llvm/lib/Fuzzer/test/LeakTest.cpp b/llvm/lib/Fuzzer/test/LeakTest.cpp index 7d153e4..69ff10b 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 #include diff --git a/llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp b/llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp index 3aa56c4..4f31b3e 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 #include diff --git a/llvm/lib/Fuzzer/test/MemcmpTest.cpp b/llvm/lib/Fuzzer/test/MemcmpTest.cpp index c72f2c2..fdbf946 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 #include diff --git a/llvm/lib/Fuzzer/test/NthRunCrashTest.cpp b/llvm/lib/Fuzzer/test/NthRunCrashTest.cpp index 03d03d0..b43e69e 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 #include diff --git a/llvm/lib/Fuzzer/test/NullDerefTest.cpp b/llvm/lib/Fuzzer/test/NullDerefTest.cpp index 200c56c..3f03d24 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 #include diff --git a/llvm/lib/Fuzzer/test/RepeatedMemcmp.cpp b/llvm/lib/Fuzzer/test/RepeatedMemcmp.cpp index cb5e130..a327bbe 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 #include diff --git a/llvm/lib/Fuzzer/test/SimpleCmpTest.cpp b/llvm/lib/Fuzzer/test/SimpleCmpTest.cpp index 8568c737..54dc016 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 #include diff --git a/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp b/llvm/lib/Fuzzer/test/SimpleDictionaryTest.cpp index b9cb2f0..cd7292b 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 f9432ef..d30c98b 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 5bab3fa..00599de 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 04225a8..e53ea16 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 #include diff --git a/llvm/lib/Fuzzer/test/SpamyTest.cpp b/llvm/lib/Fuzzer/test/SpamyTest.cpp index 63776d6..d294d4d 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 #include diff --git a/llvm/lib/Fuzzer/test/StrcmpTest.cpp b/llvm/lib/Fuzzer/test/StrcmpTest.cpp index 835819a..5a13299 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 #include diff --git a/llvm/lib/Fuzzer/test/StrncmpTest.cpp b/llvm/lib/Fuzzer/test/StrncmpTest.cpp index 55344d7..8575c26 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 #include diff --git a/llvm/lib/Fuzzer/test/SwitchTest.cpp b/llvm/lib/Fuzzer/test/SwitchTest.cpp index 5de7fff..3dc051f 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 #include diff --git a/llvm/lib/Fuzzer/test/ThreadedTest.cpp b/llvm/lib/Fuzzer/test/ThreadedTest.cpp index 7aa114a..09137a9 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 #include diff --git a/llvm/lib/Fuzzer/test/TimeoutTest.cpp b/llvm/lib/Fuzzer/test/TimeoutTest.cpp index 71790de..f810701 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 #include diff --git a/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp b/llvm/lib/Fuzzer/test/UninstrumentedTest.cpp index c173019..ffe952c 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 #include