diff options
Diffstat (limited to 'clang/tools/clang-fuzzer')
23 files changed, 69 insertions, 92 deletions
diff --git a/clang/tools/clang-fuzzer/ClangFuzzer.cpp b/clang/tools/clang-fuzzer/ClangFuzzer.cpp index f169f58a39b..3a14f4949c2 100644 --- a/clang/tools/clang-fuzzer/ClangFuzzer.cpp +++ b/clang/tools/clang-fuzzer/ClangFuzzer.cpp @@ -1,9 +1,8 @@ //===-- ClangFuzzer.cpp - Fuzz Clang --------------------------------------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/Dockerfile b/clang/tools/clang-fuzzer/Dockerfile index 9f6336c4798..a0c361dd96e 100644 --- a/clang/tools/clang-fuzzer/Dockerfile +++ b/clang/tools/clang-fuzzer/Dockerfile @@ -1,9 +1,8 @@ #===- llvm/tools/clang/tools/clang-fuzzer ---------------------------------===// # -# The LLVM Compiler Infrastructure -# -# 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 # #===----------------------------------------------------------------------===// # Produces an image that builds clang-proto-fuzzer diff --git a/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp b/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp index 382c161307b..78fd801438a 100644 --- a/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp +++ b/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp @@ -1,9 +1,8 @@ //===-- DummyClangFuzzer.cpp - Entry point to sanity check fuzzers --------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/ExampleClangLLVMProtoFuzzer.cpp b/clang/tools/clang-fuzzer/ExampleClangLLVMProtoFuzzer.cpp index 347ba1c320d..2401299be1e 100644 --- a/clang/tools/clang-fuzzer/ExampleClangLLVMProtoFuzzer.cpp +++ b/clang/tools/clang-fuzzer/ExampleClangLLVMProtoFuzzer.cpp @@ -1,9 +1,8 @@ //===-- ExampleClangLLVMProtoFuzzer.cpp - Fuzz Clang ----------------------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/ExampleClangLoopProtoFuzzer.cpp b/clang/tools/clang-fuzzer/ExampleClangLoopProtoFuzzer.cpp index 3640be13faf..a9a03f1f46e 100644 --- a/clang/tools/clang-fuzzer/ExampleClangLoopProtoFuzzer.cpp +++ b/clang/tools/clang-fuzzer/ExampleClangLoopProtoFuzzer.cpp @@ -1,9 +1,8 @@ //===-- ExampleClangLoopProtoFuzzer.cpp - Fuzz Clang ----------------------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp b/clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp index 159ded3ca18..651f5c99a88 100644 --- a/clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp +++ b/clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp @@ -1,9 +1,8 @@ //===-- ExampleClangProtoFuzzer.cpp - Fuzz Clang --------------------------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/cxx_loop_proto.proto b/clang/tools/clang-fuzzer/cxx_loop_proto.proto index 760904b579a..360042d382c 100644 --- a/clang/tools/clang-fuzzer/cxx_loop_proto.proto +++ b/clang/tools/clang-fuzzer/cxx_loop_proto.proto @@ -1,9 +1,8 @@ //===-- cxx_loop_proto.proto - Protobuf description of C++ with for loops -===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/cxx_proto.proto b/clang/tools/clang-fuzzer/cxx_proto.proto index 499101fc0fb..eaf69d18443 100644 --- a/clang/tools/clang-fuzzer/cxx_proto.proto +++ b/clang/tools/clang-fuzzer/cxx_proto.proto @@ -1,9 +1,8 @@ //===-- cxx_proto.proto - Protobuf description of C++ ---------------------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.cpp b/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.cpp index 75bf22803bc..20cf98896e2 100644 --- a/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.cpp +++ b/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.cpp @@ -1,9 +1,8 @@ //===-- fuzzer_initialize.cpp - Fuzz Clang --------------------------------===// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// /// diff --git a/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.h b/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.h index 83a5cf9dc57..9f32d6396bf 100644 --- a/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.h +++ b/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.h @@ -1,9 +1,8 @@ //==-- fuzzer_initialize.h - Fuzz Clang ------------------------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp b/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp index 4985fedbe11..bc172f23733 100644 --- a/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp +++ b/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp @@ -1,9 +1,8 @@ //==-- handle_cxx.cpp - Helper function for Clang fuzzers ------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h b/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h index e76311ff39c..8359bea9691 100644 --- a/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h +++ b/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h @@ -1,9 +1,8 @@ //==-- handle_cxx.h - Helper function for Clang fuzzers --------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp b/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp index 86df06ab8b4..d0d35d51e80 100644 --- a/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp +++ b/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp @@ -1,9 +1,8 @@ //==-- handle_llvm.cpp - Helper function for Clang fuzzers -----------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.h b/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.h index 1149c29cef3..36e1a5f1aa1 100644 --- a/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.h +++ b/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.h @@ -1,9 +1,8 @@ //==-- handle_llvm.h - Helper function for Clang fuzzers -------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/handle-llvm/input_arrays.h b/clang/tools/clang-fuzzer/handle-llvm/input_arrays.h index b60e3e1b2e7..4b03d01babc 100644 --- a/clang/tools/clang-fuzzer/handle-llvm/input_arrays.h +++ b/clang/tools/clang-fuzzer/handle-llvm/input_arrays.h @@ -1,9 +1,8 @@ //==-- input_arrays.h - Helper function for LLVM fuzzer inputs -------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp b/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp index 698e0fed8ba..114f5fc40ed 100644 --- a/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp +++ b/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp @@ -1,9 +1,8 @@ //==-- loop_proto_to_cxx.cpp - Protobuf-C++ conversion ---------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx_main.cpp b/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx_main.cpp index a4b8e58c127..15f0ace9a10 100644 --- a/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx_main.cpp +++ b/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx_main.cpp @@ -1,9 +1,8 @@ //==-- loop_proto_to_cxx_main.cpp - Driver for protobuf-C++ conversion -----==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.cpp b/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.cpp index 4a86515f559..029b42ae0ef 100644 --- a/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.cpp +++ b/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.cpp @@ -1,9 +1,8 @@ //==-- proto_to_cxx.cpp - Protobuf-C++ conversion --------------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.h b/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.h index 8d2e2e6f008..204f66de064 100644 --- a/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.h +++ b/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.h @@ -1,9 +1,8 @@ //==-- proto_to_cxx.h - Protobuf-C++ conversion ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx_main.cpp b/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx_main.cpp index 73ef14b7558..67ff01a31d2 100644 --- a/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx_main.cpp +++ b/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx_main.cpp @@ -1,9 +1,8 @@ //==-- proto_to_cxx_main.cpp - Driver for protobuf-C++ conversion ----------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp b/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp index ffbb1c9f0d1..409570c3f0f 100644 --- a/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp +++ b/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp @@ -1,10 +1,9 @@ //==-- loop_proto_to_llvm.cpp - Protobuf-C++ conversion //---------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.h b/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.h index 51660fcb710..173b937e527 100644 --- a/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.h +++ b/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.h @@ -1,9 +1,8 @@ //==-- loop_proto_to_llvm.h - Protobuf-C++ conversion ----------------------------==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // diff --git a/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm_main.cpp b/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm_main.cpp index 17ca15ec27f..e8b19158f73 100644 --- a/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm_main.cpp +++ b/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm_main.cpp @@ -1,9 +1,8 @@ //==-- loop_proto_to_llvm_main.cpp - Driver for protobuf-LLVM conversion----==// // -// The LLVM Compiler Infrastructure -// -// 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 // //===----------------------------------------------------------------------===// // |