mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
[libfuzzer] adding license headers to cpp files
Differential Revision: http://reviews.llvm.org/D18705 llvm-svn: 265174
This commit is contained in:
parent
0de2300660
commit
347b1d5964
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user