summaryrefslogtreecommitdiff
path: root/fuzzing
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@endlessos.org>2022-05-18 09:44:39 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2022-05-18 09:49:26 +0100
commite66277943d0e54edb2ab1029d0bb325e444de9e9 (patch)
tree41930f6ebf2c02539b45c7ce9c206a5c27a8da63 /fuzzing
parentd2f1e55a57a1b5cb0e63a149586ea88ea196fb5e (diff)
fuzzing: Add copyright/licensing headers to fuzzing files
The files have only been touched by a subset of three people: pdknsk, Philip Withnall, and Marc-André Lureau. Their copyrights are assigned to pdknsk, Endless OS Foundation and Red Hat. The default license for GLib at the time of writing these files was (and still is) LGPL-2.1-or-later. `driver.c` came from LLVM and is under a different license: https://github.com/llvm/llvm-project/blob/main/compiler-rt/lib/fuzzer/standalone/StandaloneFuzzTargetMain.c. That doesn’t affect the license of GLib overall, since it’s only used for testing during development. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1415
Diffstat (limited to 'fuzzing')
-rw-r--r--fuzzing/driver.c9
-rw-r--r--fuzzing/fuzz.h19
-rw-r--r--fuzzing/fuzz_bookmark.c19
-rw-r--r--fuzzing/fuzz_canonicalize_filename.c19
-rw-r--r--fuzzing/fuzz_date_parse.c19
-rw-r--r--fuzzing/fuzz_date_time_new_from_iso8601.c19
-rw-r--r--fuzzing/fuzz_dbus_message.c19
-rw-r--r--fuzzing/fuzz_inet_address_mask_new_from_string.c19
-rw-r--r--fuzzing/fuzz_inet_address_new_from_string.c19
-rw-r--r--fuzzing/fuzz_inet_socket_address_new_from_string.c19
-rw-r--r--fuzzing/fuzz_key.c20
-rw-r--r--fuzzing/fuzz_network_address_parse.c19
-rw-r--r--fuzzing/fuzz_network_address_parse_uri.c19
-rw-r--r--fuzzing/fuzz_paths.c19
-rw-r--r--fuzzing/fuzz_resolver.c19
-rw-r--r--fuzzing/fuzz_uri_escape.c20
-rw-r--r--fuzzing/fuzz_uri_parse.c19
-rw-r--r--fuzzing/fuzz_uri_parse_params.c20
-rw-r--r--fuzzing/fuzz_variant_binary.c19
-rw-r--r--fuzzing/fuzz_variant_text.c19
-rw-r--r--fuzzing/meson.build18
21 files changed, 391 insertions, 0 deletions
diff --git a/fuzzing/driver.c b/fuzzing/driver.c
index 296ce5710..d89500741 100644
--- a/fuzzing/driver.c
+++ b/fuzzing/driver.c
@@ -1,3 +1,12 @@
+/*
+ * Copyright 2018 LLVM contributors
+ *
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+ *
+ * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+ * See https://llvm.org/LICENSE.txt for license information.
+ */
+
/* Simpler gnu89 version of StandaloneFuzzTargetMain.c from LLVM */
#include <assert.h>
diff --git a/fuzzing/fuzz.h b/fuzzing/fuzz.h
index 5f999be0e..47da501dd 100644
--- a/fuzzing/fuzz.h
+++ b/fuzzing/fuzz.h
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2018 pdknsk
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "gio/gio.h"
#include "glib/glib.h"
diff --git a/fuzzing/fuzz_bookmark.c b/fuzzing/fuzz_bookmark.c
index 4f257fd0c..8caccb408 100644
--- a/fuzzing/fuzz_bookmark.c
+++ b/fuzzing/fuzz_bookmark.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2018 pdknsk
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_canonicalize_filename.c b/fuzzing/fuzz_canonicalize_filename.c
index 86b323ef9..97ea6467f 100644
--- a/fuzzing/fuzz_canonicalize_filename.c
+++ b/fuzzing/fuzz_canonicalize_filename.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2021 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_date_parse.c b/fuzzing/fuzz_date_parse.c
index 0a7b62eec..cd7043d50 100644
--- a/fuzzing/fuzz_date_parse.c
+++ b/fuzzing/fuzz_date_parse.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_date_time_new_from_iso8601.c b/fuzzing/fuzz_date_time_new_from_iso8601.c
index be53a1319..a7706de04 100644
--- a/fuzzing/fuzz_date_time_new_from_iso8601.c
+++ b/fuzzing/fuzz_date_time_new_from_iso8601.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_dbus_message.c b/fuzzing/fuzz_dbus_message.c
index 1030d8df0..3f8535d74 100644
--- a/fuzzing/fuzz_dbus_message.c
+++ b/fuzzing/fuzz_dbus_message.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2018 pdknsk
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
static const GDBusCapabilityFlags flags = G_DBUS_CAPABILITY_FLAGS_UNIX_FD_PASSING;
diff --git a/fuzzing/fuzz_inet_address_mask_new_from_string.c b/fuzzing/fuzz_inet_address_mask_new_from_string.c
index 9ac62eda4..dcaece448 100644
--- a/fuzzing/fuzz_inet_address_mask_new_from_string.c
+++ b/fuzzing/fuzz_inet_address_mask_new_from_string.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_inet_address_new_from_string.c b/fuzzing/fuzz_inet_address_new_from_string.c
index af24592ac..cd1d08ab2 100644
--- a/fuzzing/fuzz_inet_address_new_from_string.c
+++ b/fuzzing/fuzz_inet_address_new_from_string.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_inet_socket_address_new_from_string.c b/fuzzing/fuzz_inet_socket_address_new_from_string.c
index 11dd16508..033c8b115 100644
--- a/fuzzing/fuzz_inet_socket_address_new_from_string.c
+++ b/fuzzing/fuzz_inet_socket_address_new_from_string.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_key.c b/fuzzing/fuzz_key.c
index 9f1f9187e..77cb684ae 100644
--- a/fuzzing/fuzz_key.c
+++ b/fuzzing/fuzz_key.c
@@ -1,3 +1,23 @@
+/*
+ * Copyright 2018 pdknsk
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
static void
diff --git a/fuzzing/fuzz_network_address_parse.c b/fuzzing/fuzz_network_address_parse.c
index bda05c2f6..8458efcf3 100644
--- a/fuzzing/fuzz_network_address_parse.c
+++ b/fuzzing/fuzz_network_address_parse.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_network_address_parse_uri.c b/fuzzing/fuzz_network_address_parse_uri.c
index ea5113363..3eb558976 100644
--- a/fuzzing/fuzz_network_address_parse_uri.c
+++ b/fuzzing/fuzz_network_address_parse_uri.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_paths.c b/fuzzing/fuzz_paths.c
index 948159430..8b1b2af4a 100644
--- a/fuzzing/fuzz_paths.c
+++ b/fuzzing/fuzz_paths.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2021 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_resolver.c b/fuzzing/fuzz_resolver.c
index d4ba4b8ba..90119a5ca 100644
--- a/fuzzing/fuzz_resolver.c
+++ b/fuzzing/fuzz_resolver.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2021 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
#include "gio/gnetworking.h"
diff --git a/fuzzing/fuzz_uri_escape.c b/fuzzing/fuzz_uri_escape.c
index 6a3d19750..f2a021b62 100644
--- a/fuzzing/fuzz_uri_escape.c
+++ b/fuzzing/fuzz_uri_escape.c
@@ -1,3 +1,23 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ * Copyright 2020 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
static void
diff --git a/fuzzing/fuzz_uri_parse.c b/fuzzing/fuzz_uri_parse.c
index 03c581ecb..ab31de0ba 100644
--- a/fuzzing/fuzz_uri_parse.c
+++ b/fuzzing/fuzz_uri_parse.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
static void
diff --git a/fuzzing/fuzz_uri_parse_params.c b/fuzzing/fuzz_uri_parse_params.c
index ddae5708a..cee31da75 100644
--- a/fuzzing/fuzz_uri_parse_params.c
+++ b/fuzzing/fuzz_uri_parse_params.c
@@ -1,3 +1,23 @@
+/*
+ * Copyright 2020 Endless OS Foundation, LLC
+ * Copyright 2020 Red Hat, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_variant_binary.c b/fuzzing/fuzz_variant_binary.c
index 995718c23..9abd4e9a7 100644
--- a/fuzzing/fuzz_variant_binary.c
+++ b/fuzzing/fuzz_variant_binary.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2018 pdknsk
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/fuzz_variant_text.c b/fuzzing/fuzz_variant_text.c
index a79790949..2f13f462b 100644
--- a/fuzzing/fuzz_variant_text.c
+++ b/fuzzing/fuzz_variant_text.c
@@ -1,3 +1,22 @@
+/*
+ * Copyright 2018 pdknsk
+ *
+ * SPDX-License-Identifier: LGPL-2.1-or-later
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
+ */
+
#include "fuzz.h"
int
diff --git a/fuzzing/meson.build b/fuzzing/meson.build
index d69381c63..36f0feb42 100644
--- a/fuzzing/meson.build
+++ b/fuzzing/meson.build
@@ -1,3 +1,21 @@
+# Copyright 2018 pdknsk
+# Copyright 2020, 2021, 2022 Endless OS Foundation, LLC
+#
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, see <http://www.gnu.org/licenses/>.
+
fuzz_targets = [
'fuzz_bookmark',
'fuzz_canonicalize_filename',