diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000000..c3f98d5f87 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,198 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Rizin +Upstream-Contact: RizinOrg +Source: https://github.com/rizinorg/rizin + +Files: test/db/** +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: **/*.sdb.txt +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: .github/** +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: .appveyor.yml +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: .builds/* +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: .clang-format +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: .gitattributes +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: .gitignore +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: .pylintrc +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: *.yml +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: *.md +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: **/meson.build +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: meson.build +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: meson_options.txt +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: doc/fortunes* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: doc/hud +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: doc/img/rizin.svg +Copyright: 2021 RizinOrg +License: LGPL-3.0-only OR CC-BY-SA-4.0 + +Files: test/notworking_db/* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: test/Makefile +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: test/.gitignore +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: test/fuzz/** +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: test/scripts/** +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: test/unit/legacy_unit/**/* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: shlr/rizin-shell-parser/* +Copyright: 2020 ret2libc +License: LGPL-3.0-only + +Files: CODEOWNERS +Copyright: 2020 RizinOrg +License: LGPL-3.0-only + +Files: Dockerfile* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: Doxyfile +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: dist/** +Copyright: 2020 RizinOrg +License: LGPL-3.0-only + +Files: binrz/rizin/* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: man/* +Copyright: 2020 RizinOrg +License: LGPL-3.0-only + +Files: librz/bin/d/* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: librz/flag/d/* +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: librz/magic/d/default/* +Copyright: 1986, 1987, 1989, 1990, 1991, 1992, 1994, 1995 Ian F. Darwin +License: BSD-2-Clause + +Files: pkgcfg/*.pc.acr +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: pkgcfg/librz.pc.in +Copyright: 2009 RadareOrg +License: LGPL-3.0-only + +Files: subprojects/*.wrap +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: test/unit/.gitignore +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: test/unit/rz_test_cmd_test +Copyright: 2021 RizinOrg +License: LGPL-3.0-only + +Files: binrz/preload/trap-* +Copyright: 2021 RadareOrg +License: LGPL-3.0-only + +Files: librz/asm/arch/avr/README +Copyright: RadareOrg +License: LGPL-3.0-only + +Files: librz/asm/arch/ppc/README +Copyright: RadareOrg +License: LGPL-3.0-only + +Files: librz/bp/README +Copyright: RadareOrg +License: LGPL-3.0-only + +Files: librz/egg/README +Copyright: pancake +License: LGPL-3.0-only + +Files: librz/io/README +Copyright: pancake +License: LGPL-3.0-only + +Files: librz/magic/README +Copyright: pancake +License: LGPL-3.0-only + +Files: librz/magic/* +Copyright: 1986-1995 Ian F. Darwin +Copyright: 1995-present Christos Zoulas and others +License: BSD-2-Clause + +Files: librz/util/regex/* +Copyright: 1992, 1993, 1994 Henry Spencer +Copyright: 1992, 1993, 1994 The Regents of the University of California +License: BSD-3-Clause + +Files: shlr/tcc/* +Copyright: 2001-2004 Fabrice Bellard +License: LGPL-2.0-or-later diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 6c9a3d03be..7657691b7d 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -284,3 +284,21 @@ It will produce the following output: ```json {"id":6,"name":"bla"} ``` + +## Licenses + +Rizin is trying to comply with the Software Package Data Exchange® (SPDX®), +an open standard to communicate in a clear way licenses and copyrights, among +other things, of a software. All files in the repository should either have +an header specifying the copyright and the license that apply or an entry in +.reuse/dep5 file. All pieces of code copied from other projects should have +a license/copyright entry as well. + +In particular, the SPDX header may look like: +```C +// SPDX-FileCopyrightText: 2021 RizinOrg +// SPDX-License-Identifier: LPGL-3.0-only +``` + +You can use the [REUSE Software](https://reuse.software/) to check the +compliance of the project and get the licenses/copyright of each file. \ No newline at end of file diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt new file mode 100644 index 0000000000..137069b823 --- /dev/null +++ b/LICENSES/Apache-2.0.txt @@ -0,0 +1,73 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/LICENSES/BSD-2-Clause.txt b/LICENSES/BSD-2-Clause.txt new file mode 100644 index 0000000000..b0e20f5382 --- /dev/null +++ b/LICENSES/BSD-2-Clause.txt @@ -0,0 +1,9 @@ +Copyright (c) All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/BSD-3-Clause.txt b/LICENSES/BSD-3-Clause.txt new file mode 100644 index 0000000000..6c9eef8d8c --- /dev/null +++ b/LICENSES/BSD-3-Clause.txt @@ -0,0 +1,11 @@ +Copyright (c) . All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 0000000000..0e259d42c9 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/LICENSES/GPL-1.0-or-later.txt b/LICENSES/GPL-1.0-or-later.txt new file mode 100644 index 0000000000..b3a222308b --- /dev/null +++ b/LICENSES/GPL-1.0-or-later.txt @@ -0,0 +1,100 @@ +GNU GENERAL PUBLIC LICENSE +Version 1, February 1989 + +Copyright (C) 1989 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The license agreements of most software companies try to keep users at the mercy of those companies. By contrast, our General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. The General Public License applies to the Free Software Foundation's software and to any other program whose authors commit to using it. You can use it for your programs, too. + +When we speak of free software, we are referring to freedom, not price. Specifically, the General Public License is designed to make sure that you have the freedom to give away or sell copies of free software, that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of a such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must tell them their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. + +The precise terms and conditions for copying, distribution and modification follow. + +GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any work containing the Program or a portion of it, either verbatim or with modifications. Each licensee is addressed as "you". + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this General Public License and to the absence of any warranty; and give any other recipients of the Program a copy of this General Public License along with the Program. You may charge a fee for the physical act of transferring a copy. + +2. You may modify your copy or copies of the Program or any portion of it, and copy and distribute such modifications under the terms of Paragraph 1 above, provided that you also do the following: + + a) cause the modified files to carry prominent notices stating that you changed the files and the date of any change; and + + b) cause the whole of any work that you distribute or publish, that in whole or in part contains the Program or any part thereof, either with or without modifications, to be licensed at no charge to all third parties under the terms of this General Public License (except that you may choose to grant warranty protection to some or all third parties, at your option). + + c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the simplest and most usual way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this General Public License. + + d) You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +Mere aggregation of another independent work with the Program (or its derivative) on a volume of a storage or distribution medium does not bring the other work under the scope of these terms. + +3. You may copy and distribute the Program (or a portion or derivative of it, under Paragraph 2) in object code or executable form under the terms of Paragraphs 1 and 2 above provided that you also do one of the following: + + a) accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Paragraphs 1 and 2 above; or, + + b) accompany it with a written offer, valid for at least three years, to give any third party free (except for a nominal charge for the cost of distribution) a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Paragraphs 1 and 2 above; or, + + c) accompany it with the information you received as to where the corresponding source code may be obtained. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form alone.) + +Source code for a work means the preferred form of the work for making modifications to it. For an executable file, complete source code means all the source code for all modules it contains; but, as a special exception, it need not include source code for modules which are standard libraries that accompany the operating system on which the executable file runs, or for standard header files or definitions files that accompany that operating system. + +4. You may not copy, modify, sublicense, distribute or transfer the Program except as expressly provided under this General Public License. Any attempt otherwise to copy, modify, sublicense, distribute or transfer the Program is void, and will automatically terminate your rights to use the Program under this License. However, parties who have received copies, or rights to use copies, from you under this General Public License will not have their licenses terminated so long as such parties remain in full compliance. + +5. By copying, distributing or modifying the Program (or any work based on the Program) you indicate your acceptance of this license to do so, and all its terms and conditions. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. + +7. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of the license which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the license, you may choose any version ever published by the Free Software Foundation. + +8. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +Appendix: How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to humanity, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19xx name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (a program to direct compilers to make passes at assemblers) written by James Hacker. + + , 1 April 1989 Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/GPL-2.0-only.txt b/LICENSES/GPL-2.0-only.txt new file mode 100644 index 0000000000..17cb286430 --- /dev/null +++ b/LICENSES/GPL-2.0-only.txt @@ -0,0 +1,117 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. + + c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + one line to give the program's name and an idea of what it does. Copyright (C) yyyy name of author + + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. + +signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice diff --git a/LICENSES/GPL-2.0-or-later.txt b/LICENSES/GPL-2.0-or-later.txt new file mode 100644 index 0000000000..17cb286430 --- /dev/null +++ b/LICENSES/GPL-2.0-or-later.txt @@ -0,0 +1,117 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. + + c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + one line to give the program's name and an idea of what it does. Copyright (C) yyyy name of author + + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. + +signature of Ty Coon, 1 April 1989 Ty Coon, President of Vice diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt new file mode 100644 index 0000000000..d41c0bd98f --- /dev/null +++ b/LICENSES/GPL-3.0-or-later.txt @@ -0,0 +1,232 @@ +GNU GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and other kinds of works. + +The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. + +To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS + +0. Definitions. + +“This License” refers to version 3 of the GNU General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the Program. + +To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. + +To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. + +The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”. + + c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: + + a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. + + d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. + +7. Additional Terms. +“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or authors of the material; or + + e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. + +8. Termination. +You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. +You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. +Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. + +An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. + +11. Patents. +A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. + +A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. + +12. No Surrender of Others' Freedom. +If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. + +13. Use with the GNU Affero General Public License. +Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. + +14. Revised Versions of this License. +The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. + +Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. +If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”. + +You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . diff --git a/LICENSES/LGPL-2.0-or-later.txt b/LICENSES/LGPL-2.0-or-later.txt new file mode 100644 index 0000000000..eb3a4cd1db --- /dev/null +++ b/LICENSES/LGPL-2.0-or-later.txt @@ -0,0 +1,174 @@ +GNU LIBRARY GENERAL PUBLIC LICENSE + +Version 2, June 1991 + +Copyright (C) 1991 Free Software Foundation, Inc. +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is numbered 2 because it goes with version 2 of the ordinary GPL.] + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. + +This license, the Library General Public License, applies to some specially designated Free Software Foundation software, and to any other libraries whose authors decide to use it. You can use it for your libraries, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library, or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link a program with the library, you must provide complete object files to the recipients so that they can relink them with the library, after making changes to the library and recompiling it. And you must show them these terms so they know their rights. + +Our method of protecting your rights has two steps: (1) copyright the library, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the library. + +Also, for each distributor's protection, we want to make certain that everyone understands that there is no warranty for this free library. If the library is modified by someone else and passed on, we want its recipients to know that what they have is not the original version, so that any problems introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that companies distributing free software will individually obtain patent licenses, thus in effect transforming the program into proprietary software. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. + +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License, which was designed for utility programs. This license, the GNU Library General Public License, applies to certain designated libraries. This license is quite different from the ordinary one; be sure to read it in full, and don't assume that anything in it is the same as in the ordinary license. + +The reason we have a separate public license for some libraries is that they blur the distinction we usually make between modifying or adding to a program and simply using it. Linking a program with a library, without changing the library, is in some sense simply using the library, and is analogous to running a utility program or application program. However, in a textual and legal sense, the linked executable is a combined work, a derivative of the original library, and the ordinary General Public License treats it as such. + +Because of this blurred distinction, using the ordinary General Public License for libraries did not effectively promote software sharing, because most developers did not use the libraries. We concluded that weaker conditions might promote sharing better. + +However, unrestricted linking of non-free programs would deprive the users of those programs of all benefit from the free status of the libraries themselves. This Library General Public License is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them. (We have not seen how to achieve this as regards changes in header files, but we have achieved it as regards changes in the actual functions of the Library.) The hope is that this will lead to faster development of free libraries. + +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, while the latter only works together with the library. + +Note that it is possible for a library to be covered by the ordinary General Public License rather than by this special one. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Library General Public License (also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. + +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. + +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. + +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. + +6. As an exception to the Sections above, you may also compile or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: + + a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. + + d) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. + + b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of the Library General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). + +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + one line to give the library's name and an idea of what it does. + Copyright (C) year name of author + + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 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 Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in +the library `Frob' (a library for tweaking knobs) written +by James Random Hacker. + +signature of Ty Coon, 1 April 1990 +Ty Coon, President of Vice + +That's all there is to it! diff --git a/LICENSES/LGPL-2.1-only.txt b/LICENSES/LGPL-2.1-only.txt new file mode 100644 index 0000000000..c9aa53018e --- /dev/null +++ b/LICENSES/LGPL-2.1-only.txt @@ -0,0 +1,175 @@ +GNU LESSER GENERAL PUBLIC LICENSE + +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. + +This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. + +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. + +We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. + +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. + +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. + +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. + +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. + +6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: + + a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. + + e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. + + b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). + +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + one line to give the library's name and an idea of what it does. + Copyright (C) year name of author + + 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in +the library `Frob' (a library for tweaking knobs) written +by James Random Hacker. + +signature of Ty Coon, 1 April 1990 +Ty Coon, President of Vice +That's all there is to it! diff --git a/LICENSES/LGPL-2.1-or-later.txt b/LICENSES/LGPL-2.1-or-later.txt new file mode 100644 index 0000000000..c9aa53018e --- /dev/null +++ b/LICENSES/LGPL-2.1-or-later.txt @@ -0,0 +1,175 @@ +GNU LESSER GENERAL PUBLIC LICENSE + +Version 2.1, February 1999 + +Copyright (C) 1991, 1999 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] + +Preamble + +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. + +This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. + +When we speak of free software, we are referring to freedom of use, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish); that you receive source code or can get it if you want it; that you can change the software and use pieces of it in new free programs; and that you are informed that you can do these things. + +To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. + +For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. + +We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. + +To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. + +Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. + +Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. + +When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. + +We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. + +For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. + +In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. + +Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. + +The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". + +A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. + +The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) + +"Source code" for a work means the preferred form of the work for making modifications to it. For a library, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the library. + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. + +1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and distribute a copy of this License along with the Library. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Library or any portion of it, thus forming a work based on the Library, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. + +(For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. + +Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. + +This option is useful when you wish to copy part of the code of the Library into a program that is not a library. + +4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange. + +If distribution of object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. + +5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. + +However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. + +When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. + +If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) + +Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. + +6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. + +You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: + + a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. + + e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. + +For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. + +It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. + +7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. + + b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +9. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. + +10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties with this License. + +11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply, and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. + +14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Libraries + +If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). + +To apply these terms, attach the following notices to the library. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. + + one line to give the library's name and an idea of what it does. + Copyright (C) year name of author + + 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in +the library `Frob' (a library for tweaking knobs) written +by James Random Hacker. + +signature of Ty Coon, 1 April 1990 +Ty Coon, President of Vice +That's all there is to it! diff --git a/LICENSES/LGPL-3.0-only.txt b/LICENSES/LGPL-3.0-only.txt new file mode 100644 index 0000000000..c9287dd363 --- /dev/null +++ b/LICENSES/LGPL-3.0-only.txt @@ -0,0 +1,71 @@ +GNU LESSER GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. + +This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. + +0. Additional Definitions. + +As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. + +"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. + +An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. + +A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". + +The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. + +The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. + +1. Exception to Section 3 of the GNU GPL. +You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. + +2. Conveying Modified Versions. +If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: + + a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. + +3. Object Code Incorporating Material from Library Header Files. +The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license document. + +4. Combined Works. +You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: + + a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license document. + + c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. + + e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) + +5. Combined Libraries. +You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. + +6. Revised Versions of the GNU Lesser General Public License. +The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. + +If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000000..2071b23b0e --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/LICENSES/MPL-1.1.txt b/LICENSES/MPL-1.1.txt new file mode 100644 index 0000000000..e1c842828c --- /dev/null +++ b/LICENSES/MPL-1.1.txt @@ -0,0 +1,143 @@ +Mozilla Public License Version 1.1 + +1. Definitions. + + 1.0.1. "Commercial Use" means distribution or otherwise making the Covered Code available to a third party. + + 1.1. "Contributor" means each entity that creates or contributes to the creation of Modifications. + + 1.2. "Contributor Version" means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. + + 1.3. "Covered Code" means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. + + 1.4. "Electronic Distribution Mechanism" means a mechanism generally accepted in the software development community for the electronic transfer of data. + + 1.5. "Executable" means Covered Code in any form other than Source Code. + + 1.6. "Initial Developer" means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. + + 1.7. "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. + + 1.8. "License" means this document. + + 1.8.1. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. + + 1.9. "Modifications" means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: +Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. +Any new file that contains any part of the Original Code or previous Modifications. + + 1.10. "Original Code" means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. + + 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. + + 1.11. "Source Code" means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. + + 1.12. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. + +2. Source Code License. + + 2.1. The Initial Developer Grant. The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: + + a. under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and + b. under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof). + c. the licenses granted in this Section 2.1 (a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License. + d. Notwithstanding Section 2.1 (b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices. + + 2.2. Contributor Grant. Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license + + a. under intellectual property rights (other than patent or trademark) Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger Work; and + b. under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor (or portions thereof); and 2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). + c. the licenses granted in Sections 2.2 (a) and 2.2 (b) are effective on the date Contributor first makes Commercial Use of the Covered Code. + d. Notwithstanding Section 2.2 (b) above, no patent license is granted: 1) for any code that Contributor has deleted from the Contributor Version; 2) separate from the Contributor Version; 3) for infringements caused by: i) third party modifications of Contributor Version or ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code in the absence of Modifications made by that Contributor. + +3. Distribution Obligations. + + 3.1. Application of License. The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. + + 3.2. Availability of Source Code. Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. + + 3.3. Description of Modifications. You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. + + 3.4. Intellectual Property Matters + + (a) Third Party Claims + If Contributor has knowledge that a license under a third party's intellectual property rights is required to exercise the rights granted by such Contributor under Sections 2.1 or 2.2, Contributor must include a text file with the Source Code distribution titled "LEGAL" which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If Contributor obtains such knowledge after the Modification is made available as described in Section 3.2, Contributor shall promptly modify the LEGAL file in all copies Contributor makes available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. + + (b) Contributor APIs + If Contributor's Modifications include an application programming interface and Contributor has knowledge of patent licenses which are reasonably necessary to implement that API, Contributor must also include this information in the LEGAL file. + + (c) Representations. + Contributor represents that, except as disclosed pursuant to Section 3.4 (a) above, Contributor believes that Contributor's Modifications are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the rights conveyed by this License. + + 3.5. Required Notices. You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. + + 3.6. Distribution of Executable Versions. You may distribute Covered Code in Executable form only if the requirements of Sections 3.1, 3.2, 3.3, 3.4 and 3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. + + 3.7. Larger Works. You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. + +4. Inability to Comply Due to Statute or Regulation. + +If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. + +5. Application of this License. +This License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Covered Code. + +6. Versions of the License. + + 6.1. New Versions + Netscape Communications Corporation ("Netscape") may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. + + 6.2. Effect of New Versions + Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. + + 6.3. Derivative Works + If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) + +7. DISCLAIMER OF WARRANTY +COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. + +8. Termination + + 8.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. + + 8.2. If You initiate litigation by asserting a patent infringement claim (excluding declatory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You file such action is referred to as "Participant") alleging that: + + a. such Participant's Contributor Version directly or indirectly infringes any patent, then any and all rights granted by such Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively, unless if within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Contributor Version against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of the 60 day notice period specified above. + b. any software, hardware, or device, other than such Participant's Contributor Version, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant. + + 8.3. If You assert a patent infringement claim against Participant alleging that such Participant's Contributor Version directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license. + + 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination. + +9. LIMITATION OF LIABILITY +UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. + +10. U.S. government end users +The Covered Code is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. + +11. Miscellaneous +This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in the United States of America, any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. + +12. Responsibility for claims +As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. + +13. Multiple-licensed code +Initial Developer may designate portions of the Covered Code as "Multiple-Licensed". "Multiple-Licensed" means that the Initial Developer permits you to utilize portions of the Covered Code under Your choice of the MPL or the alternative licenses, if any, specified by the Initial Developer in the file described in Exhibit A. + +Exhibit A - Mozilla Public License. + +"The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ + +Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. + +The Original Code is ______________________________________. + +The Initial Developer of the Original Code is ________________________. +Portions created by ______________________ are Copyright (C) ______ +_______________________. All Rights Reserved. + +Contributor(s): ______________________________________. + +Alternatively, the contents of this file may be used under the terms of the _____ license (the "[___] License"), in which case the provisions of [______] License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the [____] License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the [___] License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the [___] License." + +NOTE: The text of this Exhibit A may differ slightly from the text of the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications. diff --git a/LICENSES/NCSA.txt b/LICENSES/NCSA.txt new file mode 100644 index 0000000000..cf5413effa --- /dev/null +++ b/LICENSES/NCSA.txt @@ -0,0 +1,15 @@ +University of Illinois/NCSA Open Source License + +Copyright (c) . All rights reserved. + +Developed by: + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. + + * Neither the names of , nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. diff --git a/LICENSES/RSA-MD.txt b/LICENSES/RSA-MD.txt new file mode 100644 index 0000000000..a8be92883f --- /dev/null +++ b/LICENSES/RSA-MD.txt @@ -0,0 +1,9 @@ +Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. + +License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. + +License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. + +RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. + +These notices must be retained in any copies of any part of this documentation and/or software. diff --git a/binrz/blob/main.c b/binrz/blob/main.c index a03116e3cd..9068b63969 100644 --- a/binrz/blob/main.c +++ b/binrz/blob/main.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/blob/meson_install_links.sh b/binrz/blob/meson_install_links.sh index 724fe23e01..3a7ed1b69a 100644 --- a/binrz/blob/meson_install_links.sh +++ b/binrz/blob/meson_install_links.sh @@ -1,4 +1,7 @@ #!/bin/sh +# +# SPDX-FileCopyrightText: 2020 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only set -e mkdir -p "${DESTDIR}/${MESON_INSTALL_PREFIX}/bin" diff --git a/binrz/preload/alloc.c b/binrz/preload/alloc.c index e83f30dd29..24148188f2 100644 --- a/binrz/preload/alloc.c +++ b/binrz/preload/alloc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2011 pancake +// SPDX-License-Identifier: LGPL-3.0-only #define RZ_API #define RZ_ALLOC_USE_MMAP 1 #define USE_MALLOC 0 diff --git a/binrz/preload/demo.c b/binrz/preload/demo.c index 72a3b2fc78..4d3fb516b5 100644 --- a/binrz/preload/demo.c +++ b/binrz/preload/demo.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/binrz/preload/librz2.c b/binrz/preload/librz2.c index b40e73d1e8..ce07f8f07b 100644 --- a/binrz/preload/librz2.c +++ b/binrz/preload/librz2.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rizin/macos_sign.sh b/binrz/rizin/macos_sign.sh index 526be89574..6b7543e647 100755 --- a/binrz/rizin/macos_sign.sh +++ b/binrz/rizin/macos_sign.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# SPDX-FileCopyrightText: 2020 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only +# # Helper script for the build process to apply entitlements IS_INSTALL="$1" diff --git a/binrz/rizin/rizin.c b/binrz/rizin/rizin.c index a1e2ef8cdc..6c449db6ba 100644 --- a/binrz/rizin/rizin.c +++ b/binrz/rizin/rizin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-agent/rz-agent.c b/binrz/rz-agent/rz-agent.c index e7abac471f..7ecc7c9cf5 100644 --- a/binrz/rz-agent/rz-agent.c +++ b/binrz/rz-agent/rz-agent.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake */ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-asm/rz-asm.c b/binrz/rz-asm/rz-asm.c index 0f200c1b1c..3debb49e52 100644 --- a/binrz/rz-asm/rz-asm.c +++ b/binrz/rz-asm/rz-asm.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-ax/rz-ax.c b/binrz/rz-ax/rz-ax.c index daa50c9f2c..38080996ed 100644 --- a/binrz/rz-ax/rz-ax.c +++ b/binrz/rz-ax/rz-ax.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-bb/rz-bb.c b/binrz/rz-bb/rz-bb.c index be94e2b360..1f85b6e31f 100644 --- a/binrz/rz-bb/rz-bb.c +++ b/binrz/rz-bb/rz-bb.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017 - pancake */ +// SPDX-FileCopyrightText: 2017 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-bin/rz-bin.c b/binrz/rz-bin/rz-bin.c index c4d75b14c4..74cd486369 100644 --- a/binrz/rz-bin/rz-bin.c +++ b/binrz/rz-bin/rz-bin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-diff/rz-diff.c b/binrz/rz-diff/rz-diff.c index 97102412a5..10f8a2a2cb 100644 --- a/binrz/rz-diff/rz-diff.c +++ b/binrz/rz-diff/rz-diff.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-find/rz-find.c b/binrz/rz-find/rz-find.c index bf2db2306a..678e1bad50 100644 --- a/binrz/rz-find/rz-find.c +++ b/binrz/rz-find/rz-find.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-gg/rz-gg.c b/binrz/rz-gg/rz-gg.c index eb0e1d8939..100309ec11 100644 --- a/binrz/rz-gg/rz-gg.c +++ b/binrz/rz-gg/rz-gg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-gg/shellcodes.c.src b/binrz/rz-gg/shellcodes.c.src index e90a00dbc2..e847303775 100644 --- a/binrz/rz-gg/shellcodes.c.src +++ b/binrz/rz-gg/shellcodes.c.src @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007-2011 pancake +// SPDX-License-Identifier: GPL-2.0-or-later + /* * Copyright (C) 2007-2011 * pancake diff --git a/binrz/rz-gg/syscall.r b/binrz/rz-gg/syscall.r index 7386629843..9a37d98a39 100644 --- a/binrz/rz-gg/syscall.r +++ b/binrz/rz-gg/syscall.r @@ -1,5 +1,8 @@ # sys.r # +# SPDX-FileCopyrightText: 2011 pancake +# SPDX-License-Identifier: LGPL-3.0-only +# # This file describes syscall accessing rules for syscalls on Linux # diff --git a/binrz/rz-gg/xorencoder.asm b/binrz/rz-gg/xorencoder.asm index 877045e5e5..89225406fc 100755 --- a/binrz/rz-gg/xorencoder.asm +++ b/binrz/rz-gg/xorencoder.asm @@ -1,4 +1,6 @@ #!/usr/bin/rz_asm -a x86 -b 64 -f +# SPDX-FileCopyrightText: 2011 pancake +# SPDX-License-Identifier: LGPL-3.0-only # - pancake xor encoder egg engine # # rz_asm -a x86.nasm -f xorencoder.asm diff --git a/binrz/rz-hash/rz-hash.c b/binrz/rz-hash/rz-hash.c index 90d1b5cebc..6256b4f3ba 100644 --- a/binrz/rz-hash/rz-hash.c +++ b/binrz/rz-hash/rz-hash.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-pm/rz-pm b/binrz/rz-pm/rz-pm index 778d71e165..71e5067814 100755 --- a/binrz/rz-pm/rz-pm +++ b/binrz/rz-pm/rz-pm @@ -1,4 +1,8 @@ #!/bin/sh +# +# SPDX-FileCopyrightText: 2015-2020 pancake +# SPDX-License-Identifier: LGPL-3.0-only +# # rz-pm # Honor user environment diff --git a/binrz/rz-run/rz-run.c b/binrz/rz-run/rz-run.c index e4f7d91872..31d65a51d6 100644 --- a/binrz/rz-run/rz-run.c +++ b/binrz/rz-run/rz-run.c @@ -1,4 +1,5 @@ -/* rizin - Copyleft 2011-2019 - pancake */ +// SPDX-FileCopyrightText: 2011-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-sign/rz-sign.c b/binrz/rz-sign/rz-sign.c index 7708573367..23eb0fe295 100644 --- a/binrz/rz-sign/rz-sign.c +++ b/binrz/rz-sign/rz-sign.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/binrz/rz-test/load.c b/binrz/rz-test/load.c index fa4ac6eacc..152e6a863c 100644 --- a/binrz/rz-test/load.c +++ b/binrz/rz-test/load.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_test.h" diff --git a/binrz/rz-test/run.c b/binrz/rz-test/run.c index cfd3fca6e8..feca5f12d2 100644 --- a/binrz/rz-test/run.c +++ b/binrz/rz-test/run.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_test.h" diff --git a/binrz/rz-test/rz-test.c b/binrz/rz-test/rz-test.c index 9e94b0a7e3..e34eb6660e 100644 --- a/binrz/rz-test/rz-test.c +++ b/binrz/rz-test/rz-test.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020-2021 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_test.h" diff --git a/binrz/rz-test/rz_test.h b/binrz/rz-test/rz_test.h index fdf0e09987..6d087b3f83 100644 --- a/binrz/rz-test/rz_test.h +++ b/binrz/rz-test/rz_test.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #ifndef RIZIN_RZTEST_H diff --git a/doc/PACKAGERS.md b/doc/PACKAGERS.md index d39376b12e..cce42613f2 100644 --- a/doc/PACKAGERS.md +++ b/doc/PACKAGERS.md @@ -119,6 +119,13 @@ Will create a directory `${destdir}/usr/share/doc/rizin`, set the attributes to https://wiki.archlinux.org/index.php/File_permissions_and_attributes for more information about attributes and permissions. +Licenses +-------- + +As Rizin is trying to use SPDX, if your packace needs license/copyright +information, you can use the [REUSE Software](https://reuse.software/) to +extract the license/copyright of all files in the repository. + Examples -------- diff --git a/librz/analysis/analysis.c b/librz/analysis/analysis.c index 31677b33de..70645f11e7 100644 --- a/librz/analysis/analysis.c +++ b/librz/analysis/analysis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/arch/gb/gb.h b/librz/analysis/arch/gb/gb.h index f7539d88ab..4e6509867f 100644 --- a/librz/analysis/arch/gb/gb.h +++ b/librz/analysis/arch/gb/gb.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 condret +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef GB_H #define GB_H #include diff --git a/librz/analysis/arch/gb/gb_makros.h b/librz/analysis/arch/gb/gb_makros.h index 67efc54878..d526f1f973 100644 --- a/librz/analysis/arch/gb/gb_makros.h +++ b/librz/analysis/arch/gb/gb_makros.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2013 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #define GB_IS_VIRTUAL(x) (x / 0x10000) diff --git a/librz/analysis/arch/gb/meta_gb_cmt.c b/librz/analysis/arch/gb/meta_gb_cmt.c index aca986121f..71c1f7f00d 100644 --- a/librz/analysis/arch/gb/meta_gb_cmt.c +++ b/librz/analysis/arch/gb/meta_gb_cmt.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/arch/hexagon/hexagon_analysis.c b/librz/analysis/arch/hexagon/hexagon_analysis.c index 80758c4e7f..cf2754059c 100644 --- a/librz/analysis/arch/hexagon/hexagon_analysis.c +++ b/librz/analysis/arch/hexagon/hexagon_analysis.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/analysis/base_types.h b/librz/analysis/base_types.h index b6e6e50678..269d041f6c 100644 --- a/librz/analysis/base_types.h +++ b/librz/analysis/base_types.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef RZ_BASE_TYPES_H #define RZ_BASE_TYPES_H diff --git a/librz/analysis/block.c b/librz/analysis/block.c index a3735daadd..6c20a8350b 100644 --- a/librz/analysis/block.c +++ b/librz/analysis/block.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019-2020 pancake +// SPDX-FileCopyrightText: 2019-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/cc.c b/librz/analysis/cc.c index 2421eb6c07..f303f81e03 100644 --- a/librz/analysis/cc.c +++ b/librz/analysis/cc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2011-2021 pancake +// SPDX-FileCopyrightText: 2011-2021 Oddcoder // SPDX-License-Identifier: LGPL-3.0-only /* Universal calling convention implementation based on sdb */ diff --git a/librz/analysis/class.c b/librz/analysis/class.c index abeb7bff48..1916d50765 100644 --- a/librz/analysis/class.c +++ b/librz/analysis/class.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/cond.c b/librz/analysis/cond.c index 3379144c5c..6a6d93f7b9 100644 --- a/librz/analysis/cond.c +++ b/librz/analysis/cond.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/cycles.c b/librz/analysis/cycles.c index d30026a967..96b62c93e0 100644 --- a/librz/analysis/cycles.c +++ b/librz/analysis/cycles.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/data.c b/librz/analysis/data.c index 74d60080ec..85274ef510 100644 --- a/librz/analysis/data.c +++ b/librz/analysis/data.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/diff.c b/librz/analysis/diff.c index c2a735b44c..dc2f8985d8 100644 --- a/librz/analysis/diff.c +++ b/librz/analysis/diff.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2020 nibble +// SPDX-FileCopyrightText: 2010-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/dwarf_process.c b/librz/analysis/dwarf_process.c index cea66df1a1..19beabe976 100644 --- a/librz/analysis/dwarf_process.c +++ b/librz/analysis/dwarf_process.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2020 houndthe // SPDX-License-Identifier: LGPL-3.0-only #include "base_types.h" diff --git a/librz/analysis/esil.c b/librz/analysis/esil.c index 01de9d8ecb..32ff408aa0 100644 --- a/librz/analysis/esil.c +++ b/librz/analysis/esil.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2021 pancake +// SPDX-FileCopyrightText: 2014-2021 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/esil_cfg.c b/librz/analysis/esil_cfg.c index 8ff623a7bb..d50c0099d8 100644 --- a/librz/analysis/esil_cfg.c +++ b/librz/analysis/esil_cfg.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/analysis/esil_dfg.c b/librz/analysis/esil_dfg.c index 011cdba16a..ec99b7d326 100644 --- a/librz/analysis/esil_dfg.c +++ b/librz/analysis/esil_dfg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 condret // SPDX-License-Identifier: LGPL-3.0-only //#include diff --git a/librz/analysis/esil_interrupt.c b/librz/analysis/esil_interrupt.c index 295cac4967..bfeec3d07f 100644 --- a/librz/analysis/esil_interrupt.c +++ b/librz/analysis/esil_interrupt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/analysis/esil_sources.c b/librz/analysis/esil_sources.c index 95153dbfb0..18766f783b 100644 --- a/librz/analysis/esil_sources.c +++ b/librz/analysis/esil_sources.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/librz/analysis/esil_stats.c b/librz/analysis/esil_stats.c index 5587fc03b5..7f86474b47 100644 --- a/librz/analysis/esil_stats.c +++ b/librz/analysis/esil_stats.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/esil_trace.c b/librz/analysis/esil_trace.c index 26d2fe5d9f..56bef95ba2 100644 --- a/librz/analysis/esil_trace.c +++ b/librz/analysis/esil_trace.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2020 pancake +// SPDX-FileCopyrightText: 2015-2020 rkx1209 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/fcn.c b/librz/analysis/fcn.c index f59000e589..b664d36812 100644 --- a/librz/analysis/fcn.c +++ b/librz/analysis/fcn.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2010-2021 nibble +// SPDX-FileCopyrightText: 2010-2021 alvaro +// SPDX-FileCopyrightText: 2010-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/flirt.c b/librz/analysis/flirt.c index cb3a5bd7ca..b5e20de502 100644 --- a/librz/analysis/flirt.c +++ b/librz/analysis/flirt.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2016 jfrankowski // SPDX-License-Identifier: LGPL-3.0-only /* credits to IDA for the flirt tech */ /* original cpp code from Rheax */ diff --git a/librz/analysis/function.c b/librz/analysis/function.c index 6e64299e0a..e4cdbcfac2 100644 --- a/librz/analysis/function.c +++ b/librz/analysis/function.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-FileCopyrightText: 2019 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/hint.c b/librz/analysis/hint.c index a371f61b7e..be7c80af60 100644 --- a/librz/analysis/hint.c +++ b/librz/analysis/hint.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/jmptbl.c b/librz/analysis/jmptbl.c index a1f33c9f21..b1b0f49152 100644 --- a/librz/analysis/jmptbl.c +++ b/librz/analysis/jmptbl.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2010-2019 nibble +// SPDX-FileCopyrightText: 2010-2019 alvaro +// SPDX-FileCopyrightText: 2010-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/labels.c b/librz/analysis/labels.c index 924031e8de..5a322eb311 100644 --- a/librz/analysis/labels.c +++ b/librz/analysis/labels.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2020 pancake +// SPDX-FileCopyrightText: 2014-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/meta.c b/librz/analysis/meta.c index e20260b1d2..e1d5e05c9b 100644 --- a/librz/analysis/meta.c +++ b/librz/analysis/meta.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2008-2020 nibble +// SPDX-FileCopyrightText: 2008-2020 pancake +// SPDX-FileCopyrightText: 2008-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/op.c b/librz/analysis/op.c index a3986f15f2..40602bb28c 100644 --- a/librz/analysis/op.c +++ b/librz/analysis/op.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2020 pancake +// SPDX-FileCopyrightText: 2010-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_6502.c b/librz/analysis/p/analysis_6502.c index 2caa1494fc..a7f2cbffa8 100644 --- a/librz/analysis/p/analysis_6502.c +++ b/librz/analysis/p/analysis_6502.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019-2020 condret +// SPDX-FileCopyrightText: 2019-2020 riq // SPDX-License-Identifier: LGPL-3.0-only /* 6502 info taken from http://unusedino.de/ec64/technical/aay/c64/bchrt651.htm diff --git a/librz/analysis/p/analysis_6502_cs.c b/librz/analysis/p/analysis_6502_cs.c index cdb156eed9..ad2c4724a0 100644 --- a/librz/analysis/p/analysis_6502_cs.c +++ b/librz/analysis/p/analysis_6502_cs.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_8051.c b/librz/analysis/p/analysis_8051.c index 1fcb2bddf5..4a8752c8ef 100644 --- a/librz/analysis/p/analysis_8051.c +++ b/librz/analysis/p/analysis_8051.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-FileCopyrightText: 2013-2019 dkreuter +// SPDX-FileCopyrightText: 2013-2019 astuder // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_amd29k.c b/librz/analysis/p/analysis_amd29k.c index ed9056f339..e0816177c5 100644 --- a/librz/analysis/p/analysis_amd29k.c +++ b/librz/analysis/p/analysis_amd29k.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2020 - pancake */ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_arc.c b/librz/analysis/p/analysis_arc.c index d2674b9ab8..74bc77bdc9 100644 --- a/librz/analysis/p/analysis_arc.c +++ b/librz/analysis/p/analysis_arc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_arm_cs.c b/librz/analysis/p/analysis_arm_cs.c index f54c7d5409..7ce0dbdf72 100644 --- a/librz/analysis/p/analysis_arm_cs.c +++ b/librz/analysis/p/analysis_arm_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2020 - pancake */ +// SPDX-FileCopyrightText: 2013-2021 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_arm_gnu.c b/librz/analysis/p/analysis_arm_gnu.c index 4a813d365e..343875c32e 100644 --- a/librz/analysis/p/analysis_arm_gnu.c +++ b/librz/analysis/p/analysis_arm_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2013 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_arm_hacks.inc b/librz/analysis/p/analysis_arm_hacks.inc index 884373da3a..db098a5495 100644 --- a/librz/analysis/p/analysis_arm_hacks.inc +++ b/librz/analysis/p/analysis_arm_hacks.inc @@ -1,4 +1,8 @@ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include "rz_analysis.h" + static int hack_handle_dp_reg(ut32 insn, RzAnalysisOp *op) { const bool op0 = (insn >> 30) & 0x1; const bool op1 = (insn >> 28) & 0x1; diff --git a/librz/analysis/p/analysis_avr.c b/librz/analysis/p/analysis_avr.c index fd9fa12c87..2d3b58aac4 100644 --- a/librz/analysis/p/analysis_avr.c +++ b/librz/analysis/p/analysis_avr.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake +// SPDX-FileCopyrightText: 2011-2019 Roc Valles +// SPDX-FileCopyrightText: 2011-2019 condret +// SPDX-FileCopyrightText: 2011-2019 killabyte // SPDX-License-Identifier: LGPL-3.0-only #if 0 diff --git a/librz/analysis/p/analysis_bf.c b/librz/analysis/p/analysis_bf.c index 89977619ed..1738222bc8 100644 --- a/librz/analysis/p/analysis_bf.c +++ b/librz/analysis/p/analysis_bf.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2011-2016 - pancake */ +// SPDX-FileCopyrightText: 2011-2016 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_chip8.c b/librz/analysis/p/analysis_chip8.c index 97d1f482f3..4e992d01de 100644 --- a/librz/analysis/p/analysis_chip8.c +++ b/librz/analysis/p/analysis_chip8.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 maijin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_cr16.c b/librz/analysis/p/analysis_cr16.c index c1548ed72d..599c58e3b2 100644 --- a/librz/analysis/p/analysis_cr16.c +++ b/librz/analysis/p/analysis_cr16.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2013 pancake +// SPDX-FileCopyrightText: 2014 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_cris.c b/librz/analysis/p/analysis_cris.c index e15d11acf5..5ef396e0f5 100644 --- a/librz/analysis/p/analysis_cris.c +++ b/librz/analysis/p/analysis_cris.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2015 - pancake */ +// SPDX-FileCopyrightText: 2014-2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_dalvik.c b/librz/analysis/p/analysis_dalvik.c index 536fd20b33..a8b12f8c3e 100644 --- a/librz/analysis/p/analysis_dalvik.c +++ b/librz/analysis/p/analysis_dalvik.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_ebc.c b/librz/analysis/p/analysis_ebc.c index b9c99c764d..e0fa33498c 100644 --- a/librz/analysis/p/analysis_ebc.c +++ b/librz/analysis/p/analysis_ebc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2013 pancake +// SPDX-FileCopyrightText: 2012-2013 fedor.sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_gb.c b/librz/analysis/p/analysis_gb.c index c7ac1412b5..a4f75824a4 100644 --- a/librz/analysis/p/analysis_gb.c +++ b/librz/analysis/p/analysis_gb.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012 pancake +// SPDX-FileCopyrightText: 2019 condret // SPDX-License-Identifier: LGPL-3.0-only // this file was based on analysis_i8080.c diff --git a/librz/analysis/p/analysis_h8300.c b/librz/analysis/p/analysis_h8300.c index 959a36a5b3..a5adc1ac9c 100644 --- a/librz/analysis/p/analysis_h8300.c +++ b/librz/analysis/p/analysis_h8300.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012-2015 pancake +// SPDX-FileCopyrightText: 2012-2015 Fedor Sakharov +// SPDX-FileCopyrightText: 2012-2015 Bhootravi // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_hexagon.c b/librz/analysis/p/analysis_hexagon.c index acfb4bb653..eb52fd03f7 100644 --- a/librz/analysis/p/analysis_hexagon.c +++ b/librz/analysis/p/analysis_hexagon.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 xvilka // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_i4004.c b/librz/analysis/p/analysis_i4004.c index 51c5da637b..0c993ac24c 100644 --- a/librz/analysis/p/analysis_i4004.c +++ b/librz/analysis/p/analysis_i4004.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_i8080.c b/librz/analysis/p/analysis_i8080.c index b618287fb6..175e4e1cb7 100644 --- a/librz/analysis/p/analysis_i8080.c +++ b/librz/analysis/p/analysis_i8080.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012 pancake // SPDX-License-Identifier: LGPL-3.0-only // This file is based on the Z80 analyser and modified for diff --git a/librz/analysis/p/analysis_java.c b/librz/analysis/p/analysis_java.c index 8e9f6260a4..5aa5986cae 100644 --- a/librz/analysis/p/analysis_java.c +++ b/librz/analysis/p/analysis_java.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2019 pancake +// SPDX-FileCopyrightText: 2010-2019 Adam Pridgen // SPDX-License-Identifier: Apache-2.0 #include diff --git a/librz/analysis/p/analysis_m680x_cs.c b/librz/analysis/p/analysis_m680x_cs.c index 098e548fe6..f6f68dc89d 100644 --- a/librz/analysis/p/analysis_m680x_cs.c +++ b/librz/analysis/p/analysis_m680x_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2015-2019 - pancake */ +// SPDX-FileCopyrightText: 2015-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_m68k_cs.c b/librz/analysis/p/analysis_m68k_cs.c index f60a671c76..c304f56ce8 100644 --- a/librz/analysis/p/analysis_m68k_cs.c +++ b/librz/analysis/p/analysis_m68k_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2015-2018 - pancake */ +// SPDX-FileCopyrightText: 2015-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_malbolge.c b/librz/analysis/p/analysis_malbolge.c index 74efaeb6bf..849444d1ea 100644 --- a/librz/analysis/p/analysis_malbolge.c +++ b/librz/analysis/p/analysis_malbolge.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_mcore.c b/librz/analysis/p/analysis_mcore.c index 31af1f2638..fb3516778b 100644 --- a/librz/analysis/p/analysis_mcore.c +++ b/librz/analysis/p/analysis_mcore.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 deroad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_mips_cs.c b/librz/analysis/p/analysis_mips_cs.c index 54dcc33a15..6ab0d05e61 100644 --- a/librz/analysis/p/analysis_mips_cs.c +++ b/librz/analysis/p/analysis_mips_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake */ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_mips_gnu.c b/librz/analysis/p/analysis_mips_gnu.c index d3b0d58648..c9c6333d72 100644 --- a/librz/analysis/p/analysis_mips_gnu.c +++ b/librz/analysis/p/analysis_mips_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_msp430.c b/librz/analysis/p/analysis_msp430.c index 6582a05b91..661f970d73 100644 --- a/librz/analysis/p/analysis_msp430.c +++ b/librz/analysis/p/analysis_msp430.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/analysis/p/analysis_nios2.c b/librz/analysis/p/analysis_nios2.c index 90ea06afcb..d213112672 100644 --- a/librz/analysis/p/analysis_nios2.c +++ b/librz/analysis/p/analysis_nios2.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014 - pancake */ +// SPDX-FileCopyrightText: 2014 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_null.c b/librz/analysis/p/analysis_null.c index ba83a32329..a69d3ac1f3 100644 --- a/librz/analysis/p/analysis_null.c +++ b/librz/analysis/p/analysis_null.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014 jn +// SPDX-FileCopyrightText: 2014 maijin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_or1k.c b/librz/analysis/p/analysis_or1k.c index dc636aacae..2523b67fb2 100644 --- a/librz/analysis/p/analysis_or1k.c +++ b/librz/analysis/p/analysis_or1k.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - v3l0c1r4pt0r */ +// SPDX-FileCopyrightText: 2019 v3l0c1r4pt0r +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_pic.c b/librz/analysis/p/analysis_pic.c index a66ae91244..abd3d4d7f5 100644 --- a/librz/analysis/p/analysis_pic.c +++ b/librz/analysis/p/analysis_pic.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2015-2018 - oddcoder, thestr4ng3r, courk */ +// SPDX-FileCopyrightText: 2015-2018 oddcoder +// SPDX-FileCopyrightText: 2015-2018 thestr4ng3r +// SPDX-FileCopyrightText: 2015-2018 courk +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_ppc_cs.c b/librz/analysis/p/analysis_ppc_cs.c index 76cd9ff550..595282e0a6 100644 --- a/librz/analysis/p/analysis_ppc_cs.c +++ b/librz/analysis/p/analysis_ppc_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake */ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_ppc_gnu.c b/librz/analysis/p/analysis_ppc_gnu.c index bf8923268f..bb1c733082 100644 --- a/librz/analysis/p/analysis_ppc_gnu.c +++ b/librz/analysis/p/analysis_ppc_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2014 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_propeller.c b/librz/analysis/p/analysis_propeller.c index 480eef457e..a02710190c 100644 --- a/librz/analysis/p/analysis_propeller.c +++ b/librz/analysis/p/analysis_propeller.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2013 pancake +// SPDX-FileCopyrightText: 2014 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_pyc.c b/librz/analysis/p/analysis_pyc.c index 7d7c1558fd..e2165b9c78 100644 --- a/librz/analysis/p/analysis_pyc.c +++ b/librz/analysis/p/analysis_pyc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2020 FXTi // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_riscv.c b/librz/analysis/p/analysis_riscv.c index 4e9b75ee9d..c98b954704 100644 --- a/librz/analysis/p/analysis_riscv.c +++ b/librz/analysis/p/analysis_riscv.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 qnix // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_riscv_cs.c b/librz/analysis/p/analysis_riscv_cs.c index 31b4182d45..e4c46fb283 100644 --- a/librz/analysis/p/analysis_riscv_cs.c +++ b/librz/analysis/p/analysis_riscv_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake */ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_rsp.c b/librz/analysis/p/analysis_rsp.c index 36e3841789..1cbb879587 100644 --- a/librz/analysis/p/analysis_rsp.c +++ b/librz/analysis/p/analysis_rsp.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2017 bobby.smiles32 // SPDX-License-Identifier: LGPL-3.0-only /* * TODO: finish esil support of the non vector instructions diff --git a/librz/analysis/p/analysis_sh.c b/librz/analysis/p/analysis_sh.c index 627ffbfffe..73c369cf20 100644 --- a/librz/analysis/p/analysis_sh.c +++ b/librz/analysis/p/analysis_sh.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2013 eloi // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_snes.c b/librz/analysis/p/analysis_snes.c index a451e74cb7..fe19aedd68 100644 --- a/librz/analysis/p/analysis_snes.c +++ b/librz/analysis/p/analysis_snes.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_sparc_cs.c b/librz/analysis/p/analysis_sparc_cs.c index 31aa49f2fa..1c6af42ca0 100644 --- a/librz/analysis/p/analysis_sparc_cs.c +++ b/librz/analysis/p/analysis_sparc_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2017 - pancake */ +// SPDX-FileCopyrightText: 2014-2017 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_sparc_gnu.c b/librz/analysis/p/analysis_sparc_gnu.c index b99b4ab0c5..2b9055ee85 100644 --- a/librz/analysis/p/analysis_sparc_gnu.c +++ b/librz/analysis/p/analysis_sparc_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_sysz.c b/librz/analysis/p/analysis_sysz.c index a68fffa2c0..763761c02f 100644 --- a/librz/analysis/p/analysis_sysz.c +++ b/librz/analysis/p/analysis_sysz.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2019 - pancake */ +// SPDX-FileCopyrightText: 2014-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_tms320.c b/librz/analysis/p/analysis_tms320.c index 622f4e8fbc..952cc65997 100644 --- a/librz/analysis/p/analysis_tms320.c +++ b/librz/analysis/p/analysis_tms320.c @@ -1,10 +1,5 @@ -/* - * TMS320 disassembly analyzer - * - * Written by Ilya V. Matveychikov - * - * Distributed under LGPL - */ +// SPDX-FileCopyrightText: 2014 Ilya V. Matveychikov +// SPDX-License-Identifier: LGPL-3.0-only #include #include "analysis_tms320c64x.c" diff --git a/librz/analysis/p/analysis_tms320_c55x_plus.c b/librz/analysis/p/analysis_tms320_c55x_plus.c index 89c13e5964..7926a7c470 100644 --- a/librz/analysis/p/analysis_tms320_c55x_plus.c +++ b/librz/analysis/p/analysis_tms320_c55x_plus.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 montekki // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_tms320c64x.c b/librz/analysis/p/analysis_tms320c64x.c index bfba0a175f..241740c710 100644 --- a/librz/analysis/p/analysis_tms320c64x.c +++ b/librz/analysis/p/analysis_tms320c64x.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017 - pancake */ +// SPDX-FileCopyrightText: 2017 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_tricore.c b/librz/analysis/p/analysis_tricore.c index b349e6abb6..19ddb8d7c4 100644 --- a/librz/analysis/p/analysis_tricore.c +++ b/librz/analysis/p/analysis_tricore.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 curly // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_v810.c b/librz/analysis/p/analysis_v810.c index 572b8aebab..fb87109018 100644 --- a/librz/analysis/p/analysis_v810.c +++ b/librz/analysis/p/analysis_v810.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 danielps // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_v850.c b/librz/analysis/p/analysis_v850.c index 35b0655160..bfb6d99d85 100644 --- a/librz/analysis/p/analysis_v850.c +++ b/librz/analysis/p/analysis_v850.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2020 pancake +// SPDX-FileCopyrightText: 2014 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_vax.c b/librz/analysis/p/analysis_vax.c index 371e927c08..dc02888012 100644 --- a/librz/analysis/p/analysis_vax.c +++ b/librz/analysis/p/analysis_vax.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_wasm.c b/librz/analysis/p/analysis_wasm.c index 71d53a7ace..904ac0bcdb 100644 --- a/librz/analysis/p/analysis_wasm.c +++ b/librz/analysis/p/analysis_wasm.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2017-2020 - xvilka, deroad */ +// SPDX-FileCopyrightText: 2017-2021 xvilka +// SPDX-FileCopyrightText: 2017-2021 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_ws.c b/librz/analysis/p/analysis_ws.c index c2d17ab2ab..a00aaaf81d 100644 --- a/librz/analysis/p/analysis_ws.c +++ b/librz/analysis/p/analysis_ws.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2018 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_x86_cs.c b/librz/analysis/p/analysis_x86_cs.c index faee6ee7ba..9be3eb1331 100644 --- a/librz/analysis/p/analysis_x86_cs.c +++ b/librz/analysis/p/analysis_x86_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake */ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_xap.c b/librz/analysis/p/analysis_xap.c index 6df7b391f5..e8be7c7005 100644 --- a/librz/analysis/p/analysis_xap.c +++ b/librz/analysis/p/analysis_xap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/p/analysis_xcore_cs.c b/librz/analysis/p/analysis_xcore_cs.c index 14843de663..fb2dbb4018 100644 --- a/librz/analysis/p/analysis_xcore_cs.c +++ b/librz/analysis/p/analysis_xcore_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2017 - pancake */ +// SPDX-FileCopyrightText: 2014-2017 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_xtensa.c b/librz/analysis/p/analysis_xtensa.c index f5f6d38c4d..bef5ff056c 100644 --- a/librz/analysis/p/analysis_xtensa.c +++ b/librz/analysis/p/analysis_xtensa.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2016-2018 - pancake */ +// SPDX-FileCopyrightText: 2016-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/analysis/p/analysis_z80.c b/librz/analysis/p/analysis_z80.c index 133f92bcfa..e3355b695c 100644 --- a/librz/analysis/p/analysis_z80.c +++ b/librz/analysis/p/analysis_z80.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012 pancake +// SPDX-FileCopyrightText: 2013 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/pin.c b/librz/analysis/pin.c index 1d0f7e0d6b..14b83761b8 100644 --- a/librz/analysis/pin.c +++ b/librz/analysis/pin.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-FileCopyrightText: 2015 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/reflines.c b/librz/analysis/reflines.c index 0bf1f1442e..48c4520da6 100644 --- a/librz/analysis/reflines.c +++ b/librz/analysis/reflines.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/rtti.c b/librz/analysis/rtti.c index 5d6d322602..af48301e22 100644 --- a/librz/analysis/rtti.c +++ b/librz/analysis/rtti.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake +// SPDX-FileCopyrightText: 2009-2018 maijin +// SPDX-FileCopyrightText: 2009-2018 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_analysis.h" diff --git a/librz/analysis/rtti_itanium.c b/librz/analysis/rtti_itanium.c index a12b92836c..531d0b64b6 100644 --- a/librz/analysis/rtti_itanium.c +++ b/librz/analysis/rtti_itanium.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-FileCopyrightText: 2018 r00tus3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/rtti_msvc.c b/librz/analysis/rtti_msvc.c index f1e558425a..329dbbf4c1 100644 --- a/librz/analysis/rtti_msvc.c +++ b/librz/analysis/rtti_msvc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake +// SPDX-FileCopyrightText: 2009-2018 maijin +// SPDX-FileCopyrightText: 2009-2018 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_analysis.h" diff --git a/librz/analysis/sign.c b/librz/analysis/sign.c index 59982e8b7e..30c2479888 100644 --- a/librz/analysis/sign.c +++ b/librz/analysis/sign.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/switch.c b/librz/analysis/switch.c index 5b9ec80553..629f22b6ce 100644 --- a/librz/analysis/switch.c +++ b/librz/analysis/switch.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2019 pancake +// SPDX-FileCopyrightText: 2014-2019 dso // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/type.c b/librz/analysis/type.c index c8b0aacea9..4d0d70809b 100644 --- a/librz/analysis/type.c +++ b/librz/analysis/type.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-FileCopyrightText: 2019 oddcoder +// SPDX-FileCopyrightText: 2019 Anton Kochkov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/type_pdb.c b/librz/analysis/type_pdb.c index f829c8b9e2..b2de5469db 100644 --- a/librz/analysis/type_pdb.c +++ b/librz/analysis/type_pdb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/analysis/value.c b/librz/analysis/value.c index d9761fcc53..d6859a20ca 100644 --- a/librz/analysis/value.c +++ b/librz/analysis/value.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/var.c b/librz/analysis/var.c index 714ac9ffa2..dd61f5511d 100644 --- a/librz/analysis/var.c +++ b/librz/analysis/var.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2020 pancake +// SPDX-FileCopyrightText: 2010-2020 oddcoder // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/analysis/vtable.c b/librz/analysis/vtable.c index c845bd3320..c1675b91e9 100644 --- a/librz/analysis/vtable.c +++ b/librz/analysis/vtable.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 maijin +// SPDX-FileCopyrightText: 2009-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_util.h" diff --git a/librz/analysis/xrefs.c b/librz/analysis/xrefs.c index 1f6b6fdd0a..6192e337ab 100644 --- a/librz/analysis/xrefs.c +++ b/librz/analysis/xrefs.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 defragger +// SPDX-FileCopyrightText: 2009-2019 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/acode.c b/librz/asm/acode.c index 0a11e2bce0..83538d9371 100644 --- a/librz/asm/acode.c +++ b/librz/asm/acode.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/aop.c b/librz/asm/aop.c index 1dde7942f4..3ccd5352e4 100644 --- a/librz/asm/aop.c +++ b/librz/asm/aop.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/6502/6502dis.c b/librz/asm/arch/6502/6502dis.c index 1455124f18..d71f89d4b1 100644 --- a/librz/asm/arch/6502/6502dis.c +++ b/librz/asm/arch/6502/6502dis.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2015-2016 pancake +// SPDX-FileCopyrightText: 2015-2016 condret +// SPDX-FileCopyrightText: 2015-2016 riq +// SPDX-FileCopyrightText: 2015-2016 qnix // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/8051/8051_ass.c b/librz/asm/arch/8051/8051_ass.c index d5ab1def4b..320b8da0df 100644 --- a/librz/asm/arch/8051/8051_ass.c +++ b/librz/asm/arch/8051/8051_ass.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 hmht // SPDX-License-Identifier: LGPL-3.0-only #include "8051_ass.h" diff --git a/librz/asm/arch/8051/8051_disas.c b/librz/asm/arch/8051/8051_disas.c index d39de1ccaf..5d840640e5 100644 --- a/librz/asm/arch/8051/8051_disas.c +++ b/librz/asm/arch/8051/8051_disas.c @@ -1,3 +1,8 @@ +// SPDX-FileCopyrightText: 2015-2019 pancake +// SPDX-FileCopyrightText: 2015-2019 condret +// SPDX-FileCopyrightText: 2015-2019 riq +// SPDX-FileCopyrightText: 2015-2019 qnix +// SPDX-FileCopyrightText: 2015-2019 astuder // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/8051/8051_ops.h b/librz/asm/arch/8051/8051_ops.h index 8cd4a5719f..f6d2522783 100644 --- a/librz/asm/arch/8051/8051_ops.h +++ b/librz/asm/arch/8051/8051_ops.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2015-2016 pancake +// SPDX-FileCopyrightText: 2015-2016 condret +// SPDX-FileCopyrightText: 2015-2016 riq +// SPDX-FileCopyrightText: 2015-2016 qnix // SPDX-License-Identifier: LGPL-3.0-only #ifndef _8051_OPS_H diff --git a/librz/asm/arch/amd29k/amd29k.c b/librz/asm/arch/amd29k/amd29k.c index 81ab9cb7a3..ca7497a80e 100644 --- a/librz/asm/arch/amd29k/amd29k.c +++ b/librz/asm/arch/amd29k/amd29k.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "amd29k.h" #include "amd29k_internal.h" #include diff --git a/librz/asm/arch/arm/aarch64/aarch64-dis-2.c b/librz/asm/arch/arm/aarch64/aarch64-dis-2.c index e290330063..560832f10e 100644 --- a/librz/asm/arch/arm/aarch64/aarch64-dis-2.c +++ b/librz/asm/arch/arm/aarch64/aarch64-dis-2.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012-2018 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* This file is automatically generated by aarch64-gen. Do not edit! */ /* Copyright (C) 2012-2018 Free Software Foundation, Inc. Contributed by ARM Ltd. diff --git a/librz/asm/arch/arm/aarch64/aarch64-dis.c b/librz/asm/arch/arm/aarch64/aarch64-dis.c index df4567c070..e8a3b0ff8e 100644 --- a/librz/asm/arch/arm/aarch64/aarch64-dis.c +++ b/librz/asm/arch/arm/aarch64/aarch64-dis.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2018 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* aarch64-dis.c -- AArch64 disassembler. Copyright (C) 2009-2018 Free Software Foundation, Inc. Contributed by ARM Ltd. diff --git a/librz/asm/arch/arm/aarch64/aarch64-opc-2.c b/librz/asm/arch/arm/aarch64/aarch64-opc-2.c index 8985841c9c..089b039c51 100644 --- a/librz/asm/arch/arm/aarch64/aarch64-opc-2.c +++ b/librz/asm/arch/arm/aarch64/aarch64-opc-2.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012-2018 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* This file is automatically generated by aarch64-gen. Do not edit! */ /* Copyright (C) 2012-2018 Free Software Foundation, Inc. Contributed by ARM Ltd. diff --git a/librz/asm/arch/arm/aarch64/aarch64-opc.c b/librz/asm/arch/arm/aarch64/aarch64-opc.c index 817ce1172b..cfa925e40e 100644 --- a/librz/asm/arch/arm/aarch64/aarch64-opc.c +++ b/librz/asm/arch/arm/aarch64/aarch64-opc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2018 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* aarch64-opc.c -- AArch64 opcode support. Copyright (C) 2009-2018 Free Software Foundation, Inc. Contributed by ARM Ltd. diff --git a/librz/asm/arch/arm/armass.c b/librz/asm/arch/arm/armass.c index 7f92877913..89572c9ac8 100644 --- a/librz/asm/arch/arm/armass.c +++ b/librz/asm/arch/arm/armass.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/arm/armass64.c b/librz/asm/arch/arm/armass64.c index f2d8a6c600..6deb40a146 100644 --- a/librz/asm/arch/arm/armass64.c +++ b/librz/asm/arch/arm/armass64.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/arm/winedbg/be_arm.c b/librz/asm/arch/arm/winedbg/be_arm.c index fe6b064907..9b114f6971 100644 --- a/librz/asm/arch/arm/winedbg/be_arm.c +++ b/librz/asm/arch/arm/winedbg/be_arm.c @@ -1,3 +1,7 @@ + +// SPDX-FileCopyrightText: 2010-2013 André Hentschel +// SPDX-License-Identifier: LGPL-2.1-or-later + /* * Debugger ARM specific functions * diff --git a/librz/asm/arch/avr/avr_disasm.c b/librz/asm/arch/avr/avr_disasm.c index 987f14b26b..be89e396a8 100644 --- a/librz/asm/arch/avr/avr_disasm.c +++ b/librz/asm/arch/avr/avr_disasm.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Vanya A. Sergeev +// SPDX-License-Identifier: GPL-2.0-or-later + /* * vAVRdisasm - AVR program disassembler. * Version 1.4 - June 2009. diff --git a/librz/asm/arch/avr/avr_disasm.h b/librz/asm/arch/avr/avr_disasm.h index 67141c7504..2f88410483 100644 --- a/librz/asm/arch/avr/avr_disasm.h +++ b/librz/asm/arch/avr/avr_disasm.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Vanya A. Sergeev +// SPDX-License-Identifier: GPL-2.0-or-later + /* * vAVRdisasm - AVR program disassembler. * Version 1.4 - June 2009. diff --git a/librz/asm/arch/avr/avr_instructionset.c b/librz/asm/arch/avr/avr_instructionset.c index 29b4f1bc3e..e98b53bcc7 100644 --- a/librz/asm/arch/avr/avr_instructionset.c +++ b/librz/asm/arch/avr/avr_instructionset.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Vanya A. Sergeev +// SPDX-License-Identifier: GPL-2.0-or-later + /* * vAVRdisasm - AVR program disassembler. * Version 1.6 - February 2010. diff --git a/librz/asm/arch/avr/disasm.c b/librz/asm/arch/avr/disasm.c index cc5789f6d8..87d1b7b147 100644 --- a/librz/asm/arch/avr/disasm.c +++ b/librz/asm/arch/avr/disasm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "avr_disasm.h" #include "format.h" #include diff --git a/librz/asm/arch/avr/errorcodes.h b/librz/asm/arch/avr/errorcodes.h index f82900bd7e..3407d45186 100644 --- a/librz/asm/arch/avr/errorcodes.h +++ b/librz/asm/arch/avr/errorcodes.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Vanya A. Sergeev +// SPDX-License-Identifier: GPL-2.0-or-later + /* * vAVRdisasm - AVR program disassembler. * Version 1.4 - June 2009. diff --git a/librz/asm/arch/avr/format.c b/librz/asm/arch/avr/format.c index 44ce7cc8b8..284e3ebc1f 100644 --- a/librz/asm/arch/avr/format.c +++ b/librz/asm/arch/avr/format.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Vanya A. Sergeev +// SPDX-License-Identifier: GPL-2.0-or-later + /* * vAVRdisasm - AVR program disassembler. * Version 1.6 - February 2010. diff --git a/librz/asm/arch/avr/format.h b/librz/asm/arch/avr/format.h index 635638137f..0f7adb053c 100644 --- a/librz/asm/arch/avr/format.h +++ b/librz/asm/arch/avr/format.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Vanya A. Sergeev +// SPDX-License-Identifier: GPL-2.0-or-later + /* * vAVRdisasm - AVR program disassembler. * Version 1.4 - June 2009. diff --git a/librz/asm/arch/cr16/cr16_disas.c b/librz/asm/arch/cr16/cr16_disas.c index 6db88b7819..6d6e631c37 100644 --- a/librz/asm/arch/cr16/cr16_disas.c +++ b/librz/asm/arch/cr16/cr16_disas.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/dalvik/opcode.h b/librz/asm/arch/dalvik/opcode.h index aaeb17cfa7..15d4de44fb 100644 --- a/librz/asm/arch/dalvik/opcode.h +++ b/librz/asm/arch/dalvik/opcode.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2012 earada // SPDX-License-Identifier: LGPL-3.0-only #ifndef DALVIK_OPCODE_H diff --git a/librz/asm/arch/dcpu16/asm.c b/librz/asm/arch/dcpu16/asm.c index d08a58a568..b4b259966c 100644 --- a/librz/asm/arch/dcpu16/asm.c +++ b/librz/asm/arch/dcpu16/asm.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2012 Karl Hobley +// SPDX-FileCopyrightText: 2012 pancake +// SPDX-License-Identifier: MIT + /* this code has been modified to be integrated into r2 */ /* pancake // nopcode.org */ diff --git a/librz/asm/arch/dcpu16/dis.c b/librz/asm/arch/dcpu16/dis.c index 94d5c9a40c..a6fe3c19a1 100644 --- a/librz/asm/arch/dcpu16/dis.c +++ b/librz/asm/arch/dcpu16/dis.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* copypasted from http://pastie.org/3732465 */ /* adapted by pancake // public license */ /* known bugs: some (%s, NULL) happen */ diff --git a/librz/asm/arch/ebc/ebc_disas.c b/librz/asm/arch/ebc/ebc_disas.c index 89d097fd3d..2302d3d31c 100644 --- a/librz/asm/arch/ebc/ebc_disas.c +++ b/librz/asm/arch/ebc/ebc_disas.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2015 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #include "ebc_disas.h" diff --git a/librz/asm/arch/gb/gb_op_table.h b/librz/asm/arch/gb/gb_op_table.h index fc76b38214..c336021f36 100644 --- a/librz/asm/arch/gb/gb_op_table.h +++ b/librz/asm/arch/gb/gb_op_table.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2014 condret // SPDX-License-Identifier: LGPL-3.0-only #define GB_8BIT 1 diff --git a/librz/asm/arch/gb/gbasm.c b/librz/asm/arch/gb/gbasm.c index eaa981a9dc..c8622a46bb 100644 --- a/librz/asm/arch/gb/gbasm.c +++ b/librz/asm/arch/gb/gbasm.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2020 condret +// SPDX-FileCopyrightText: 2012-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/gb/gbdis.c b/librz/asm/arch/gb/gbdis.c index ab6d5e980e..082dda8eef 100644 --- a/librz/asm/arch/gb/gbdis.c +++ b/librz/asm/arch/gb/gbdis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2013-2018 condret +// SPDX-FileCopyrightText: 2013-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/h8300/h8300_disas.c b/librz/asm/arch/h8300/h8300_disas.c index 18cb3638ec..cd550976a5 100644 --- a/librz/asm/arch/h8300/h8300_disas.c +++ b/librz/asm/arch/h8300/h8300_disas.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "h8300_disas.h" diff --git a/librz/asm/arch/hexagon/hexagon.c b/librz/asm/arch/hexagon/hexagon.c index 1752d417ea..cffcc3d411 100644 --- a/librz/asm/arch/hexagon/hexagon.c +++ b/librz/asm/arch/hexagon/hexagon.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/asm/arch/hexagon/hexagon_disas.c b/librz/asm/arch/hexagon/hexagon_disas.c index 2e94c1fbc6..6bfe6ec4d7 100644 --- a/librz/asm/arch/hexagon/hexagon_disas.c +++ b/librz/asm/arch/hexagon/hexagon_disas.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/asm/arch/i4004/i4004dis.c b/librz/asm/arch/i4004/i4004dis.c index 6042e14bc2..f853f68e4b 100644 --- a/librz/asm/arch/i4004/i4004dis.c +++ b/librz/asm/arch/i4004/i4004dis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2018 condret +// SPDX-FileCopyrightText: 2014-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/i8080/i8080dis.c b/librz/asm/arch/i8080/i8080dis.c index 490e7937f2..5e2c0d8858 100644 --- a/librz/asm/arch/i8080/i8080dis.c +++ b/librz/asm/arch/i8080/i8080dis.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012 Alexander Demin +// SPDX-License-Identifier: MIT + // This file is part of Radio-86RK Tools project. // // Intel 8080 disassembler. diff --git a/librz/asm/arch/i8080/i8080dis.h b/librz/asm/arch/i8080/i8080dis.h index 57ee97cc55..906ce73e24 100644 --- a/librz/asm/arch/i8080/i8080dis.h +++ b/librz/asm/arch/i8080/i8080dis.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012 Alexander Demin +// SPDX-License-Identifier: MIT + // This file is part of Radio-86RK Tools project. // // Intel 8080 disassembler. diff --git a/librz/asm/arch/include/ansidecl.h b/librz/asm/arch/include/ansidecl.h index c2e5ef9f01..3b94a14152 100644 --- a/librz/asm/arch/include/ansidecl.h +++ b/librz/asm/arch/include/ansidecl.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* ANSI and traditional C compatibility macros Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/bfdlink.h b/librz/asm/arch/include/bfdlink.h index 53d9b98358..ee5ea97afb 100644 --- a/librz/asm/arch/include/bfdlink.h +++ b/librz/asm/arch/include/bfdlink.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* bfdlink.h -- header file for BFD link routines Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/disas-asm.h b/librz/asm/arch/include/disas-asm.h index 526ef05235..f13a5bdbd0 100644 --- a/librz/asm/arch/include/disas-asm.h +++ b/librz/asm/arch/include/disas-asm.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1999-2017 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Interface between the opcode library and its callers. Copyright (C) 1999-2017 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/elf-bfd.h b/librz/asm/arch/include/elf-bfd.h index b8f0d8964b..b198f9adbc 100644 --- a/librz/asm/arch/include/elf-bfd.h +++ b/librz/asm/arch/include/elf-bfd.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* BFD back-end data structures for ELF files. Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/elf/common.h b/librz/asm/arch/include/elf/common.h index 231f87a861..826174f86f 100644 --- a/librz/asm/arch/include/elf/common.h +++ b/librz/asm/arch/include/elf/common.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* ELF support for BFD. Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 diff --git a/librz/asm/arch/include/elf/external.h b/librz/asm/arch/include/elf/external.h index 95141de110..7c9529e4e8 100644 --- a/librz/asm/arch/include/elf/external.h +++ b/librz/asm/arch/include/elf/external.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1991, 1992, 1993, 1995, 1997, 1998, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* ELF support for BFD. Copyright 1991, 1992, 1993, 1995, 1997, 1998, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/elf/internal.h b/librz/asm/arch/include/elf/internal.h index 72f8416fb1..dd789ac1a5 100644 --- a/librz/asm/arch/include/elf/internal.h +++ b/librz/asm/arch/include/elf/internal.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* ELF support for BFD. Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/elf/mips.h b/librz/asm/arch/include/elf/mips.h index b6a7b87351..e672982148 100644 --- a/librz/asm/arch/include/elf/mips.h +++ b/librz/asm/arch/include/elf/mips.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* MIPS ELF support for BFD. Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 diff --git a/librz/asm/arch/include/elf/reloc-macros.h b/librz/asm/arch/include/elf/reloc-macros.h index ed57a9bd6b..4730133a4c 100644 --- a/librz/asm/arch/include/elf/reloc-macros.h +++ b/librz/asm/arch/include/elf/reloc-macros.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1998, 1999, 2000, 2003 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* Generic relocation support for BFD. Copyright 1998, 1999, 2000, 2003 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/elf/xtensa.h b/librz/asm/arch/include/elf/xtensa.h index bec9fd5dc1..3403a59148 100644 --- a/librz/asm/arch/include/elf/xtensa.h +++ b/librz/asm/arch/include/elf/xtensa.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003-2015 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Xtensa ELF support for BFD. Copyright (C) 2003-2015 Free Software Foundation, Inc. Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica. diff --git a/librz/asm/arch/include/libhppa.h b/librz/asm/arch/include/libhppa.h index df22552d3f..82da072bd5 100644 --- a/librz/asm/arch/include/libhppa.h +++ b/librz/asm/arch/include/libhppa.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1990-2014 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* HP PA-RISC SOM object file format: definitions internal to BFD. Copyright (C) 1990-2014 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/libiberty.h b/librz/asm/arch/include/libiberty.h index d29c113ed8..c2c847d21d 100644 --- a/librz/asm/arch/include/libiberty.h +++ b/librz/asm/arch/include/libiberty.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001, 2002, 2005 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* Function declarations for libiberty. Copyright 2001, 2002, 2005 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/mybfd.h b/librz/asm/arch/include/mybfd.h index 87f7828d2a..aa52e61be0 100644 --- a/librz/asm/arch/include/mybfd.h +++ b/librz/asm/arch/include/mybfd.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c", "bfdio.c", "bfdwin.c", "section.c", "archures.c", "reloc.c", diff --git a/librz/asm/arch/include/opcode/cris.h b/librz/asm/arch/include/opcode/cris.h index fcb9c7bd43..dfdcf70978 100644 --- a/librz/asm/arch/include/opcode/cris.h +++ b/librz/asm/arch/include/opcode/cris.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2000, 2001, 2004 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* cris.h -- Header file for CRIS opcode and register tables. Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. Contributed by Axis Communications AB, Lund, Sweden. diff --git a/librz/asm/arch/include/opcode/hexagon.h b/librz/asm/arch/include/opcode/hexagon.h index 40ce93bdb7..58a1db8ec0 100644 --- a/librz/asm/arch/include/opcode/hexagon.h +++ b/librz/asm/arch/include/opcode/hexagon.h @@ -1,4 +1,5 @@ - +// SPDX-FileCopyrightText: 2004 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later /* Opcode table for the Hexagon. Copyright 2004 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/opcode/hppa.h b/librz/asm/arch/include/opcode/hppa.h index b90a91f959..eba8b2623b 100644 --- a/librz/asm/arch/include/opcode/hppa.h +++ b/librz/asm/arch/include/opcode/hppa.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1990-2014 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Table of opcodes for the PA-RISC. Copyright (C) 1990-2014 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/opcode/lanai.h b/librz/asm/arch/include/opcode/lanai.h index 2b04060b6f..be2eefbf89 100644 --- a/librz/asm/arch/include/opcode/lanai.h +++ b/librz/asm/arch/include/opcode/lanai.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1994, 1995 Myricom, Inc. +// SPDX-License-Identifier: GPL-2.0-only + /************************************************************************* * * * Definitions for opcode table for the Lanai. * diff --git a/librz/asm/arch/include/opcode/mips.h b/librz/asm/arch/include/opcode/mips.h index 79b31556d1..79cc04865c 100644 --- a/librz/asm/arch/include/opcode/mips.h +++ b/librz/asm/arch/include/opcode/mips.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-1.0-or-later + /* mips.h. Mips opcode list for GDB, the GNU debugger. Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 diff --git a/librz/asm/arch/include/opcode/nios2.h b/librz/asm/arch/include/opcode/nios2.h index 3cef589597..32a29bfeeb 100644 --- a/librz/asm/arch/include/opcode/nios2.h +++ b/librz/asm/arch/include/opcode/nios2.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012, 2013 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Nios II opcode list for GAS, the GNU assembler. Copyright (C) 2012, 2013 Free Software Foundation, Inc. Contributed by Nigel Gray (ngray@altera.com). diff --git a/librz/asm/arch/include/opcode/ppc.h b/librz/asm/arch/include/opcode/ppc.h index 71edb77ffe..0d0424e580 100644 --- a/librz/asm/arch/include/opcode/ppc.h +++ b/librz/asm/arch/include/opcode/ppc.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-1.0-or-later + /* ppc.h -- Header file for PowerPC opcode table Copyright 1994, 1995, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/opcode/sparc.h b/librz/asm/arch/include/opcode/sparc.h index 391bef1df3..fe519b4693 100644 --- a/librz/asm/arch/include/opcode/sparc.h +++ b/librz/asm/arch/include/opcode/sparc.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2002, 2003, 2005, 2010 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Definitions for opcode table for the sparc. Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000, 2002, 2003, 2005, 2010 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/opcode/tricore.h b/librz/asm/arch/include/opcode/tricore.h index bf15e8116c..8add9165f0 100644 --- a/librz/asm/arch/include/opcode/tricore.h +++ b/librz/asm/arch/include/opcode/tricore.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1998-2003 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-1.0-or-later + /* Definitions dealing with TriCore/PCP opcodes and core registers. Copyright (C) 1998-2003 Free Software Foundation, Inc. Contributed by Michael Schumacher (mike@hightec-rt.com). diff --git a/librz/asm/arch/include/opintl.h b/librz/asm/arch/include/opintl.h index bf9065f8ed..4634a77615 100644 --- a/librz/asm/arch/include/opintl.h +++ b/librz/asm/arch/include/opintl.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1998, 1999, 2000, 2007 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* opintl.h - opcodes specific header for gettext code. Copyright 1998, 1999, 2000, 2007 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/safe-ctype.h b/librz/asm/arch/include/safe-ctype.h index cf3f5f7f43..d26a605c47 100644 --- a/librz/asm/arch/include/safe-ctype.h +++ b/librz/asm/arch/include/safe-ctype.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2000, 2001 Free Software Foundation, Inc. +// SPDX-License-Identifier: LGPL-2.0-or-later + /* replacement macros. Copyright (C) 2000, 2001 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/symcat.h b/librz/asm/arch/include/symcat.h index dbb07764cc..12214c3728 100644 --- a/librz/asm/arch/include/symcat.h +++ b/librz/asm/arch/include/symcat.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1998, 2000 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* Symbol concatenation utilities. Copyright (C) 1998, 2000 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/sysdep.h b/librz/asm/arch/include/sysdep.h index dba9ab4021..37fb1a3f20 100644 --- a/librz/asm/arch/include/sysdep.h +++ b/librz/asm/arch/include/sysdep.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1995, 1997, 2000, 2007 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Random host-dependent support code. Copyright 1995, 1997, 2000, 2007 Free Software Foundation, Inc. Written by Ken Raeburn. diff --git a/librz/asm/arch/include/wine-arm.h b/librz/asm/arch/include/wine-arm.h index c1c8870886..b73f6e35ff 100644 --- a/librz/asm/arch/include/wine-arm.h +++ b/librz/asm/arch/include/wine-arm.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 esteve +// SPDX-License-Identifier: LGPL-3.0-only + // author: esteve #ifndef ARM_H #define ARM_H diff --git a/librz/asm/arch/include/xtensa-isa-internal.h b/librz/asm/arch/include/xtensa-isa-internal.h index 6ef6883612..5557784571 100644 --- a/librz/asm/arch/include/xtensa-isa-internal.h +++ b/librz/asm/arch/include/xtensa-isa-internal.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003-2015 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Internal definitions for configurable Xtensa ISA support. Copyright (C) 2003-2015 Free Software Foundation, Inc. diff --git a/librz/asm/arch/include/xtensa-isa.h b/librz/asm/arch/include/xtensa-isa.h index 49dbd52c83..b57d440c00 100644 --- a/librz/asm/arch/include/xtensa-isa.h +++ b/librz/asm/arch/include/xtensa-isa.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003-2015 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Interface definition for configurable Xtensa ISA support. Copyright (C) 2003-2015 Free Software Foundation, Inc. diff --git a/librz/asm/arch/java/code.c b/librz/asm/arch/java/code.c index b0d76ff987..ae732ae8f2 100644 --- a/librz/asm/arch/java/code.c +++ b/librz/asm/arch/java/code.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/java/code.h b/librz/asm/arch/java/code.h index 959398b60e..3974958372 100644 --- a/librz/asm/arch/java/code.h +++ b/librz/asm/arch/java/code.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef _INCLUDE_R_JAVA_H_ #define _INCLUDE_R_JAVA_H_ diff --git a/librz/asm/arch/java/ops.c b/librz/asm/arch/java/ops.c index eecdc05d58..85a81ec9d0 100644 --- a/librz/asm/arch/java/ops.c +++ b/librz/asm/arch/java/ops.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/java/ops.h b/librz/asm/arch/java/ops.h index b7cc2d77a7..26cbf96948 100644 --- a/librz/asm/arch/java/ops.h +++ b/librz/asm/arch/java/ops.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013 Adam Pridgen // SPDX-License-Identifier: Apache-2.0 #include diff --git a/librz/asm/arch/lh5801/lh5801.c b/librz/asm/arch/lh5801/lh5801.c index 215cb2f6b3..1b6b74fa40 100644 --- a/librz/asm/arch/lh5801/lh5801.c +++ b/librz/asm/arch/lh5801/lh5801.c @@ -1,7 +1,5 @@ -/* SHARP LH 5801 disassembler -- instruction decoder, - * Copyright (C) 2014 jn, - * Released under the terms and conditions of the GNU LGPL. - */ +// SPDX-FileCopyrightText: 2014 jn +// SPDX-License-Identifier: LGPL-3.0-only /* * This disassembler is based on the "SHARP PC-1500/A Systemhandbuch" diff --git a/librz/asm/arch/lh5801/lh5801.h b/librz/asm/arch/lh5801/lh5801.h index 03f215ebe1..f514dca7c2 100644 --- a/librz/asm/arch/lh5801/lh5801.h +++ b/librz/asm/arch/lh5801/lh5801.h @@ -1,7 +1,5 @@ -/* SHARP LH 5801 disassembler -- instruction decoder, - * Copyright (C) 2014 Jonathan Neuschäfer, - * Released under the terms and conditions of the GNU LGPL. - */ +// SPDX-FileCopyrightText: 2014 Jonathan Neuschäfer +// SPDX-License-Identifier: LGPL-3.0-only /* * This disassembler is based on the "SHARP PC-1500/A Systemhandbuch" diff --git a/librz/asm/arch/lm32/lm32_isa.h b/librz/asm/arch/lm32/lm32_isa.h index 5daf0c6520..f80f78cc5c 100644 --- a/librz/asm/arch/lm32/lm32_isa.h +++ b/librz/asm/arch/lm32/lm32_isa.h @@ -1,6 +1,7 @@ -/* lm32 support for rizin - * 2-clause BSD - * Copyright 2015 Felix Held */ +// SPDX-FileCopyrightText: 2015 Felix Held +// SPDX-License-Identifier: BSD-2-Clause + +/* lm32 support for rizin */ #ifndef INCLUDE_LM32_ISA_H #define INCLUDE_LM32_ISA_H diff --git a/librz/asm/arch/mcore/mcore.c b/librz/asm/arch/mcore/mcore.c index 03b862903c..4293cfe952 100644 --- a/librz/asm/arch/mcore/mcore.c +++ b/librz/asm/arch/mcore/mcore.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "mcore.h" #include diff --git a/librz/asm/arch/mips/mipsasm.c b/librz/asm/arch/mips/mipsasm.c index 2e3c6bc7ae..eacc3b2882 100644 --- a/librz/asm/arch/mips/mipsasm.c +++ b/librz/asm/arch/mips/mipsasm.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/msp430/msp430_disas.c b/librz/asm/arch/msp430/msp430_disas.c index 1da97bde7a..50bf10f88d 100644 --- a/librz/asm/arch/msp430/msp430_disas.c +++ b/librz/asm/arch/msp430/msp430_disas.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/or1k/or1k_disas.c b/librz/asm/arch/or1k/or1k_disas.c index b26cd4aebc..da09d9e009 100644 --- a/librz/asm/arch/or1k/or1k_disas.c +++ b/librz/asm/arch/or1k/or1k_disas.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - v3l0c1r4pt0r */ +// SPDX-FileCopyrightText: 2019 v3l0c1r4pt0r +// SPDX-License-Identifier: LGPL-3.0-only #include #include "or1k_disas.h" diff --git a/librz/asm/arch/or1k/or1k_disas.h b/librz/asm/arch/or1k/or1k_disas.h index c587439f3b..35e2b70128 100644 --- a/librz/asm/arch/or1k/or1k_disas.h +++ b/librz/asm/arch/or1k/or1k_disas.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - v3l0c1r4pt0r */ +// SPDX-FileCopyrightText: 2019 v3l0c1r4pt0r +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/pic/pic_baseline.c b/librz/asm/arch/pic/pic_baseline.c index bd45e69adc..c7fed674eb 100644 --- a/librz/asm/arch/pic/pic_baseline.c +++ b/librz/asm/arch/pic/pic_baseline.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2018 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #include "pic_baseline.h" diff --git a/librz/asm/arch/pic/pic_baseline.h b/librz/asm/arch/pic/pic_baseline.h index 89a5b9e1ba..a8bda575b0 100644 --- a/librz/asm/arch/pic/pic_baseline.h +++ b/librz/asm/arch/pic/pic_baseline.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2018 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #ifndef PIC_BASELINE_H #define PIC_BASELINE_H diff --git a/librz/asm/arch/pic/pic_midrange.c b/librz/asm/arch/pic/pic_midrange.c index 430d7f2587..341175c541 100644 --- a/librz/asm/arch/pic/pic_midrange.c +++ b/librz/asm/arch/pic/pic_midrange.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - courk */ +// SPDX-FileCopyrightText: 2018 courk +// SPDX-License-Identifier: LGPL-3.0-only #include "pic_midrange.h" diff --git a/librz/asm/arch/pic/pic_midrange.h b/librz/asm/arch/pic/pic_midrange.h index d37f167f29..8493eeba8c 100644 --- a/librz/asm/arch/pic/pic_midrange.h +++ b/librz/asm/arch/pic/pic_midrange.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - courk */ +// SPDX-FileCopyrightText: 2018 courk +// SPDX-License-Identifier: LGPL-3.0-only #ifndef PIC_MIDRANGE_H #define PIC_MIDRANGE_H diff --git a/librz/asm/arch/pic/pic_pic18.c b/librz/asm/arch/pic/pic_pic18.c index 00c56462b1..ae86902309 100644 --- a/librz/asm/arch/pic/pic_pic18.c +++ b/librz/asm/arch/pic/pic_pic18.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2015-2018 - oddcoder, thestr4ng3r */ +// SPDX-FileCopyrightText: 2015-2018 oddcoder +// SPDX-FileCopyrightText: 2015-2018 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/pic/pic_pic18.h b/librz/asm/arch/pic/pic_pic18.h index 41fad8b958..13fec37228 100644 --- a/librz/asm/arch/pic/pic_pic18.h +++ b/librz/asm/arch/pic/pic_pic18.h @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2015-2018 - oddcoder, thestr4ng3r */ +// SPDX-FileCopyrightText: 2015-2018 oddcoder +// SPDX-FileCopyrightText: 2015-2018 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #ifndef PIC_PIC18_H #define PIC_PIC18_H diff --git a/librz/asm/arch/ppc/libps/libps.c b/librz/asm/arch/ppc/libps/libps.c index 5d7164b18f..57ce4d9be6 100644 --- a/librz/asm/arch/ppc/libps/libps.c +++ b/librz/asm/arch/ppc/libps/libps.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 deroad // SPDX-License-Identifier: LGPL-3.0-only #include "libps.h" #include "libps_internal.h" diff --git a/librz/asm/arch/ppc/libps/libps.h b/librz/asm/arch/ppc/libps/libps.h index a5719e27cd..dd21e217d2 100644 --- a/librz/asm/arch/ppc/libps/libps.h +++ b/librz/asm/arch/ppc/libps/libps.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 deroad // SPDX-License-Identifier: LGPL-3.0-only #ifndef LIBPS_H diff --git a/librz/asm/arch/ppc/libps/libps_internal.h b/librz/asm/arch/ppc/libps/libps_internal.h index dce25bfe76..bb42cf2221 100644 --- a/librz/asm/arch/ppc/libps/libps_internal.h +++ b/librz/asm/arch/ppc/libps/libps_internal.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 deroad // SPDX-License-Identifier: LGPL-3.0-only #ifndef LIBPS_INTERNAL_H diff --git a/librz/asm/arch/ppc/libvle/vle.c b/librz/asm/arch/ppc/libvle/vle.c index 682b300ad9..ae9704ac13 100644 --- a/librz/asm/arch/ppc/libvle/vle.c +++ b/librz/asm/arch/ppc/libvle/vle.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017 - wargio */ +// SPDX-FileCopyrightText: 2017 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include "vle.h" #include "vle_internal.h" #include diff --git a/librz/asm/arch/propeller/propeller_disas.c b/librz/asm/arch/propeller/propeller_disas.c index 3bd421cce3..240932ee21 100644 --- a/librz/asm/arch/propeller/propeller_disas.c +++ b/librz/asm/arch/propeller/propeller_disas.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/pyc/opcode.c b/librz/asm/arch/pyc/opcode.c index 55e6989899..eb674a8a3b 100644 --- a/librz/asm/arch/pyc/opcode.c +++ b/librz/asm/arch/pyc/opcode.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" static version_opcode version_op[] = { diff --git a/librz/asm/arch/pyc/opcode.h b/librz/asm/arch/pyc/opcode.h index 713922000b..59a3834b81 100644 --- a/librz/asm/arch/pyc/opcode.h +++ b/librz/asm/arch/pyc/opcode.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #ifndef OPCODE_H diff --git a/librz/asm/arch/pyc/opcode_10.c b/librz/asm/arch/pyc/opcode_10.c index 096e52f3b2..c2d6a06e6a 100644 --- a/librz/asm/arch/pyc/opcode_10.c +++ b/librz/asm/arch/pyc/opcode_10.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_10(void) { diff --git a/librz/asm/arch/pyc/opcode_11.c b/librz/asm/arch/pyc/opcode_11.c index 7051e0299d..58d6d21182 100644 --- a/librz/asm/arch/pyc/opcode_11.c +++ b/librz/asm/arch/pyc/opcode_11.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-only + #include "opcode.h" pyc_opcodes *opcode_11(void) { diff --git a/librz/asm/arch/pyc/opcode_12.c b/librz/asm/arch/pyc/opcode_12.c index f782e061f2..8b963d2f20 100644 --- a/librz/asm/arch/pyc/opcode_12.c +++ b/librz/asm/arch/pyc/opcode_12.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_12(void) { diff --git a/librz/asm/arch/pyc/opcode_13.c b/librz/asm/arch/pyc/opcode_13.c index 9bb9c74dd5..87f639bbcc 100644 --- a/librz/asm/arch/pyc/opcode_13.c +++ b/librz/asm/arch/pyc/opcode_13.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_13(void) { diff --git a/librz/asm/arch/pyc/opcode_14.c b/librz/asm/arch/pyc/opcode_14.c index 16f1d4f8ea..e98195621c 100644 --- a/librz/asm/arch/pyc/opcode_14.c +++ b/librz/asm/arch/pyc/opcode_14.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_14(void) { diff --git a/librz/asm/arch/pyc/opcode_15.c b/librz/asm/arch/pyc/opcode_15.c index 8591a3bb99..ec016db990 100644 --- a/librz/asm/arch/pyc/opcode_15.c +++ b/librz/asm/arch/pyc/opcode_15.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_15(void) { diff --git a/librz/asm/arch/pyc/opcode_16.c b/librz/asm/arch/pyc/opcode_16.c index 009d4fff4a..4174279a67 100644 --- a/librz/asm/arch/pyc/opcode_16.c +++ b/librz/asm/arch/pyc/opcode_16.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_16(void) { diff --git a/librz/asm/arch/pyc/opcode_20.c b/librz/asm/arch/pyc/opcode_20.c index 7f4ef67ade..2021891731 100644 --- a/librz/asm/arch/pyc/opcode_20.c +++ b/librz/asm/arch/pyc/opcode_20.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_20(void) { diff --git a/librz/asm/arch/pyc/opcode_21.c b/librz/asm/arch/pyc/opcode_21.c index 6c75cfb23b..14645ac676 100644 --- a/librz/asm/arch/pyc/opcode_21.c +++ b/librz/asm/arch/pyc/opcode_21.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_21(void) { diff --git a/librz/asm/arch/pyc/opcode_22.c b/librz/asm/arch/pyc/opcode_22.c index eead7c68d6..9d5ff3f9cf 100644 --- a/librz/asm/arch/pyc/opcode_22.c +++ b/librz/asm/arch/pyc/opcode_22.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_22(void) { diff --git a/librz/asm/arch/pyc/opcode_23.c b/librz/asm/arch/pyc/opcode_23.c index a80d30cdf9..e600656fd6 100644 --- a/librz/asm/arch/pyc/opcode_23.c +++ b/librz/asm/arch/pyc/opcode_23.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_23(void) { diff --git a/librz/asm/arch/pyc/opcode_24.c b/librz/asm/arch/pyc/opcode_24.c index 2622335e87..bedcb65059 100644 --- a/librz/asm/arch/pyc/opcode_24.c +++ b/librz/asm/arch/pyc/opcode_24.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_24(void) { diff --git a/librz/asm/arch/pyc/opcode_25.c b/librz/asm/arch/pyc/opcode_25.c index f1fa317ab4..44fe1e56de 100644 --- a/librz/asm/arch/pyc/opcode_25.c +++ b/librz/asm/arch/pyc/opcode_25.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_25(void) { diff --git a/librz/asm/arch/pyc/opcode_26.c b/librz/asm/arch/pyc/opcode_26.c index 4414e7322f..13de0b111c 100644 --- a/librz/asm/arch/pyc/opcode_26.c +++ b/librz/asm/arch/pyc/opcode_26.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_26(void) { diff --git a/librz/asm/arch/pyc/opcode_27.c b/librz/asm/arch/pyc/opcode_27.c index 7ef0ce50a1..ac598586f1 100644 --- a/librz/asm/arch/pyc/opcode_27.c +++ b/librz/asm/arch/pyc/opcode_27.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_27(void) { diff --git a/librz/asm/arch/pyc/opcode_2x.c b/librz/asm/arch/pyc/opcode_2x.c index 186b3a1b2d..02964ad0ee 100644 --- a/librz/asm/arch/pyc/opcode_2x.c +++ b/librz/asm/arch/pyc/opcode_2x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_2x(void) { diff --git a/librz/asm/arch/pyc/opcode_30.c b/librz/asm/arch/pyc/opcode_30.c index 18e002ce9e..07d734c862 100644 --- a/librz/asm/arch/pyc/opcode_30.c +++ b/librz/asm/arch/pyc/opcode_30.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_30(void) { diff --git a/librz/asm/arch/pyc/opcode_31.c b/librz/asm/arch/pyc/opcode_31.c index a082a5ac67..572dfdb020 100644 --- a/librz/asm/arch/pyc/opcode_31.c +++ b/librz/asm/arch/pyc/opcode_31.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_31(void) { diff --git a/librz/asm/arch/pyc/opcode_32.c b/librz/asm/arch/pyc/opcode_32.c index c0536ef722..41e1124258 100644 --- a/librz/asm/arch/pyc/opcode_32.c +++ b/librz/asm/arch/pyc/opcode_32.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_32(void) { diff --git a/librz/asm/arch/pyc/opcode_33.c b/librz/asm/arch/pyc/opcode_33.c index 7ca32ae56a..2dd6a3b5f1 100644 --- a/librz/asm/arch/pyc/opcode_33.c +++ b/librz/asm/arch/pyc/opcode_33.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_33(void) { diff --git a/librz/asm/arch/pyc/opcode_34.c b/librz/asm/arch/pyc/opcode_34.c index 91e9c30d61..547b9f6710 100644 --- a/librz/asm/arch/pyc/opcode_34.c +++ b/librz/asm/arch/pyc/opcode_34.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_34(void) { diff --git a/librz/asm/arch/pyc/opcode_35.c b/librz/asm/arch/pyc/opcode_35.c index d77f21f030..1e5a44c71a 100644 --- a/librz/asm/arch/pyc/opcode_35.c +++ b/librz/asm/arch/pyc/opcode_35.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_35(void) { diff --git a/librz/asm/arch/pyc/opcode_36.c b/librz/asm/arch/pyc/opcode_36.c index 33e13f5baf..115cfe17dc 100644 --- a/librz/asm/arch/pyc/opcode_36.c +++ b/librz/asm/arch/pyc/opcode_36.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_36(void) { diff --git a/librz/asm/arch/pyc/opcode_37.c b/librz/asm/arch/pyc/opcode_37.c index 439844c313..a5b365612f 100644 --- a/librz/asm/arch/pyc/opcode_37.c +++ b/librz/asm/arch/pyc/opcode_37.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_37(void) { diff --git a/librz/asm/arch/pyc/opcode_38.c b/librz/asm/arch/pyc/opcode_38.c index b27cf4d65e..7244eb773b 100644 --- a/librz/asm/arch/pyc/opcode_38.c +++ b/librz/asm/arch/pyc/opcode_38.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_38(void) { diff --git a/librz/asm/arch/pyc/opcode_39.c b/librz/asm/arch/pyc/opcode_39.c index d8792b4df7..031e6c16f5 100644 --- a/librz/asm/arch/pyc/opcode_39.c +++ b/librz/asm/arch/pyc/opcode_39.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_39(void) { diff --git a/librz/asm/arch/pyc/opcode_3x.c b/librz/asm/arch/pyc/opcode_3x.c index 0dbbf27ef8..164f29a10b 100644 --- a/librz/asm/arch/pyc/opcode_3x.c +++ b/librz/asm/arch/pyc/opcode_3x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" pyc_opcodes *opcode_3x(void) { diff --git a/librz/asm/arch/pyc/opcode_analysis.c b/librz/asm/arch/pyc/opcode_analysis.c index 22c77d47e8..6b67928303 100644 --- a/librz/asm/arch/pyc/opcode_analysis.c +++ b/librz/asm/arch/pyc/opcode_analysis.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" // The actual code of one opcode varies across the versions. diff --git a/librz/asm/arch/pyc/opcode_arg_fmt.c b/librz/asm/arch/pyc/opcode_arg_fmt.c index da5b89d7e0..700819960b 100644 --- a/librz/asm/arch/pyc/opcode_arg_fmt.c +++ b/librz/asm/arch/pyc/opcode_arg_fmt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "opcode.h" const char *format_extended_arg(ut32 oparg) { diff --git a/librz/asm/arch/pyc/pyc_dis.c b/librz/asm/arch/pyc/pyc_dis.c index 84170ef513..2682e9c327 100644 --- a/librz/asm/arch/pyc/pyc_dis.c +++ b/librz/asm/arch/pyc/pyc_dis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #include "pyc_dis.h" diff --git a/librz/asm/arch/pyc/pyc_dis.h b/librz/asm/arch/pyc/pyc_dis.h index e36f1ee568..ddfa9871d9 100644 --- a/librz/asm/arch/pyc/pyc_dis.h +++ b/librz/asm/arch/pyc/pyc_dis.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #ifndef PYC_DIS_H diff --git a/librz/asm/arch/riscv/riscv-opc.c b/librz/asm/arch/riscv/riscv-opc.c index 5939324fdc..707028d6cb 100644 --- a/librz/asm/arch/riscv/riscv-opc.c +++ b/librz/asm/arch/riscv/riscv-opc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2011-2015 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* RISC-V opcode list Copyright 2011-2015 Free Software Foundation, Inc. diff --git a/librz/asm/arch/riscv/riscv.c b/librz/asm/arch/riscv/riscv.c index a2110ff090..b6368bdb86 100644 --- a/librz/asm/arch/riscv/riscv.c +++ b/librz/asm/arch/riscv/riscv.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2011-2015 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* RISC-V disassembler Copyright 2011-2015 Free Software Foundation, Inc. Contributed by Andrew Waterman (waterman@cs.berkeley.edu) at UC Berkeley. diff --git a/librz/asm/arch/riscv/riscv.h b/librz/asm/arch/riscv/riscv.h index 9447b41756..e7b1769120 100644 --- a/librz/asm/arch/riscv/riscv.h +++ b/librz/asm/arch/riscv/riscv.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2011-2017 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* riscv.h. RISC-V opcode list for GDB, the GNU debugger. Copyright (C) 2011-2017 Free Software Foundation, Inc. Contributed by Andrew Waterman diff --git a/librz/asm/arch/rsp/rsp_idec.c b/librz/asm/arch/rsp/rsp_idec.c index c55e435a94..c0b9409279 100644 --- a/librz/asm/arch/rsp/rsp_idec.c +++ b/librz/asm/arch/rsp/rsp_idec.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 bobby.smiles32 // SPDX-License-Identifier: LGPL-3.0-only #include "rsp_idec.h" diff --git a/librz/asm/arch/rsp/rsp_idec.h b/librz/asm/arch/rsp/rsp_idec.h index 4c4328142c..2ef4aa0056 100644 --- a/librz/asm/arch/rsp/rsp_idec.h +++ b/librz/asm/arch/rsp/rsp_idec.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 bobby.smiles32 // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_ASM_ARCH_RSP_RSP_IDEC_H #define RZ_ASM_ARCH_RSP_RSP_IDEC_H diff --git a/librz/asm/arch/snes/snes_op_table.h b/librz/asm/arch/snes/snes_op_table.h index 44e085ea1f..7949d7f671 100644 --- a/librz/asm/arch/snes/snes_op_table.h +++ b/librz/asm/arch/snes/snes_op_table.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013 condret // SPDX-License-Identifier: LGPL-3.0-only #ifndef SNES_OP_TABLE_H diff --git a/librz/asm/arch/snes/snesdis.c b/librz/asm/arch/snes/snesdis.c index 884922a466..d03c57b943 100644 --- a/librz/asm/arch/snes/snesdis.c +++ b/librz/asm/arch/snes/snesdis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2018 condret +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/tms320/c55x_plus/c55plus.c b/librz/asm/arch/tms320/c55x_plus/c55plus.c index ff4fd2a911..b2b09b2d85 100644 --- a/librz/asm/arch/tms320/c55x_plus/c55plus.c +++ b/librz/asm/arch/tms320/c55x_plus/c55plus.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL - Copyright 2013 - th0rpe */ +// SPDX-FileCopyrightText: 2013 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/tms320/c55x_plus/c55plus_decode.c b/librz/asm/arch/tms320/c55x_plus/c55plus_decode.c index f94de0ffd3..f4e65f799f 100644 --- a/librz/asm/arch/tms320/c55x_plus/c55plus_decode.c +++ b/librz/asm/arch/tms320/c55x_plus/c55plus_decode.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL - Copyright 2013 - th0rpe */ +// SPDX-FileCopyrightText: 2013-2021 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/tms320/c55x_plus/decode_funcs.c b/librz/asm/arch/tms320/c55x_plus/decode_funcs.c index e6c939c9f5..eec35ac61a 100644 --- a/librz/asm/arch/tms320/c55x_plus/decode_funcs.c +++ b/librz/asm/arch/tms320/c55x_plus/decode_funcs.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL3 - Copyright 2013 - th0rpe */ +// SPDX-FileCopyrightText: 2013 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/tms320/c55x_plus/hashtable.c b/librz/asm/arch/tms320/c55x_plus/hashtable.c index 36e27ae339..7a34d74a00 100644 --- a/librz/asm/arch/tms320/c55x_plus/hashtable.c +++ b/librz/asm/arch/tms320/c55x_plus/hashtable.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL - Copyright 2013 - th0rpe */ +// SPDX-FileCopyrightText: 2013 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only #include "ins.h" #include "hashvector.h" diff --git a/librz/asm/arch/tms320/c55x_plus/hashvector.c b/librz/asm/arch/tms320/c55x_plus/hashvector.c index babdbfab5b..0ceb40ff81 100644 --- a/librz/asm/arch/tms320/c55x_plus/hashvector.c +++ b/librz/asm/arch/tms320/c55x_plus/hashvector.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL - Copyright 2013-2015 - th0rpe */ +// SPDX-FileCopyrightText: 2013-2015 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only /* this .c is included , not compiled */ #include "hashvector.h" diff --git a/librz/asm/arch/tms320/c55x_plus/ins.c b/librz/asm/arch/tms320/c55x_plus/ins.c index a64bb513e6..79186a5649 100644 --- a/librz/asm/arch/tms320/c55x_plus/ins.c +++ b/librz/asm/arch/tms320/c55x_plus/ins.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL - Copyright 2013 - th0rpe */ +// SPDX-FileCopyrightText: 2013 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only #include "ins.h" diff --git a/librz/asm/arch/tms320/c55x_plus/utils.c b/librz/asm/arch/tms320/c55x_plus/utils.c index fe39796cff..c67091bde0 100644 --- a/librz/asm/arch/tms320/c55x_plus/utils.c +++ b/librz/asm/arch/tms320/c55x_plus/utils.c @@ -1,4 +1,5 @@ -/* c55plus - LGPL - Copyright 2013 - th0rpe */ +// SPDX-FileCopyrightText: 2013 th0rpe +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/tms320/tms320_dasm.c b/librz/asm/arch/tms320/tms320_dasm.c index 714bb72a99..43711a4e89 100644 --- a/librz/asm/arch/tms320/tms320_dasm.c +++ b/librz/asm/arch/tms320/tms320_dasm.c @@ -1,10 +1,5 @@ -/* - * TMS320 disassembly engine - * - * Written by Ilya V. Matveychikov - * - * Distributed under LGPL - */ +// SPDX-FileCopyrightText: 2014 Ilya V. Matveychikov +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/arch/v810/v810_disas.c b/librz/asm/arch/v810/v810_disas.c index 847508736c..35c08a0457 100644 --- a/librz/asm/arch/v810/v810_disas.c +++ b/librz/asm/arch/v810/v810_disas.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 danielps // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/v850/v850_disas.c b/librz/asm/arch/v850/v850_disas.c index 5440e6bfef..e2a43c088b 100644 --- a/librz/asm/arch/v850/v850_disas.c +++ b/librz/asm/arch/v850/v850_disas.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2018 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/vax/vax-dis.c b/librz/asm/arch/vax/vax-dis.c index 73337f905f..b40e500a01 100644 --- a/librz/asm/arch/vax/vax-dis.c +++ b/librz/asm/arch/vax/vax-dis.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1995, 1998, 2000, 2001, 2002, 2005, 2007, 2009, 2012 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Print VAX instructions. Copyright 1995, 1998, 2000, 2001, 2002, 2005, 2007, 2009, 2012 Free Software Foundation, Inc. diff --git a/librz/asm/arch/vax/vax.h b/librz/asm/arch/vax/vax.h index f5cdd24397..3d75809895 100644 --- a/librz/asm/arch/vax/vax.h +++ b/librz/asm/arch/vax/vax.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1989, 1991, 1992, 1995, 2010 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Vax opcde list. Copyright 1989, 1991, 1992, 1995, 2010 Free Software Foundation, Inc. diff --git a/librz/asm/arch/wasm/wasm.c b/librz/asm/arch/wasm/wasm.c index edd1dc9040..687e3ce94d 100644 --- a/librz/asm/arch/wasm/wasm.c +++ b/librz/asm/arch/wasm/wasm.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2017-2020 pancake +// SPDX-FileCopyrightText: 2017-2020 cgvwzq // SPDX-License-Identifier: LGPL-3.0-only // http://webassembly.org/docs/binary-encoding/#module-structure diff --git a/librz/asm/arch/wasm/wasm.h b/librz/asm/arch/wasm/wasm.h index 71b3d440ee..7e51f6f4ff 100644 --- a/librz/asm/arch/wasm/wasm.h +++ b/librz/asm/arch/wasm/wasm.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 Anton Kochkov +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef WASM_ASM_H #define WASM_ASM_H #include diff --git a/librz/asm/arch/whitespace/wsdis.c b/librz/asm/arch/whitespace/wsdis.c index b24e41f67a..353dec48ee 100644 --- a/librz/asm/arch/whitespace/wsdis.c +++ b/librz/asm/arch/whitespace/wsdis.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014-2018 dso +// SPDX-FileCopyrightText: 2014-2018 condret +// SPDX-FileCopyrightText: 2014-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/xap/dis.c b/librz/asm/arch/xap/dis.c index f3483aca3f..dbeb2bcfb1 100644 --- a/librz/asm/arch/xap/dis.c +++ b/librz/asm/arch/xap/dis.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-only + /* sorbo '07 */ #include diff --git a/librz/asm/arch/z80/expressions.c b/librz/asm/arch/z80/expressions.c index 9b9a97e853..f2e2760ae9 100644 --- a/librz/asm/arch/z80/expressions.c +++ b/librz/asm/arch/z80/expressions.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2002-2009 Bas Wijnen +// SPDX-FileCopyrightText: 2005 Jan Wilmans +// SPDX-License-Identifier: GPL-3.0-or-later + /* Z80 assembler by shevek Copyright (C) 2002-2009 Bas Wijnen diff --git a/librz/asm/arch/z80/z80.c b/librz/asm/arch/z80/z80.c index f9de77eecb..362d11a0b4 100644 --- a/librz/asm/arch/z80/z80.c +++ b/librz/asm/arch/z80/z80.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2015 condret +// SPDX-FileCopyrightText: 2016 unlogic // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/arch/z80/z80_tab.h b/librz/asm/arch/z80/z80_tab.h index 27ee69fb5a..a31e13e746 100644 --- a/librz/asm/arch/z80/z80_tab.h +++ b/librz/asm/arch/z80/z80_tab.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2016 condret // SPDX-License-Identifier: LGPL-3.0-only #ifndef Z80_TAB_H diff --git a/librz/asm/arch/z80/z80asm.c b/librz/asm/arch/z80/z80asm.c index 3610d16ad8..d9e23dd9fb 100644 --- a/librz/asm/arch/z80/z80asm.c +++ b/librz/asm/arch/z80/z80asm.c @@ -1,4 +1,8 @@ -/* 2012 - pancake@nopcode.org - rizin integration */ +// SPDX-FileCopyrightText: 2002-2009 Bas Wijnen +// SPDX-FileCopyrightText: 2005 Jan Wilmans +// SPDX-FileCopyrightText: 2012 pancake +// SPDX-License-Identifier: GPL-3.0-or-later + /* Z80 assembler by shevek Copyright (C) 2002-2009 Bas Wijnen diff --git a/librz/asm/arch/z80/z80asm.h b/librz/asm/arch/z80/z80asm.h index cfea1de077..c6e588849d 100644 --- a/librz/asm/arch/z80/z80asm.h +++ b/librz/asm/arch/z80/z80asm.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2002-2007 Bas Wijnen +// SPDX-FileCopyrightText: 2005 Jan Wilmans +// SPDX-License-Identifier: GPL-3.0-or-later + /* Z80 assembler by shevek Copyright (C) 2002-2007 Bas Wijnen diff --git a/librz/asm/asm.c b/librz/asm/asm.c index 3ecf7bcbbd..b252283b83 100644 --- a/librz/asm/asm.c +++ b/librz/asm/asm.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake +// SPDX-FileCopyrightText: 2009-2021 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/binutils_as.c b/librz/asm/binutils_as.c index c2074537cb..75d94ad239 100644 --- a/librz/asm/binutils_as.c +++ b/librz/asm/binutils_as.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 eagleoflqj // SPDX-License-Identifier: LGPL-3.0-only #include "binutils_as.h" diff --git a/librz/asm/p/asm_6502.c b/librz/asm/p/asm_6502.c index 1aa4730b9d..ad2032cc02 100644 --- a/librz/asm/p/asm_6502.c +++ b/librz/asm/p/asm_6502.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake +// SPDX-FileCopyrightText: 2012-2018 condret // SPDX-License-Identifier: LGPL-3.0-only // copypasta from asm_gb.c diff --git a/librz/asm/p/asm_6502_cs.c b/librz/asm/p/asm_6502_cs.c index f41ff6a50b..0c01b853b7 100644 --- a/librz/asm/p/asm_6502_cs.c +++ b/librz/asm/p/asm_6502_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - pancake */ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_8051.c b/librz/asm/p/asm_8051.c index d4de96def8..cc924954ce 100644 --- a/librz/asm/p/asm_8051.c +++ b/librz/asm/p/asm_8051.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake, astuder */ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-FileCopyrightText: 2013-2019 astuder +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_amd29k.c b/librz/asm/p/asm_amd29k.c index 7e73c9a405..52a9a7c852 100644 --- a/librz/asm/p/asm_amd29k.c +++ b/librz/asm/p/asm_amd29k.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 deroad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_arc.c b/librz/asm/p/asm_arc.c index 4af010c726..9679afd2ce 100644 --- a/librz/asm/p/asm_arc.c +++ b/librz/asm/p/asm_arc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_arm_as.c b/librz/asm/p/asm_arm_as.c index 7116795129..cf6afdfdbf 100644 --- a/librz/asm/p/asm_arm_as.c +++ b/librz/asm/p/asm_arm_as.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_arm_cs.c b/librz/asm/p/asm_arm_cs.c index 0a618a65ae..84b8d46a6d 100644 --- a/librz/asm/p/asm_arm_cs.c +++ b/librz/asm/p/asm_arm_cs.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_arm_gnu.c b/librz/asm/p/asm_arm_gnu.c index 5cc31fe3f7..97d94f05d1 100644 --- a/librz/asm/p/asm_arm_gnu.c +++ b/librz/asm/p/asm_arm_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_arm_winedbg.c b/librz/asm/p/asm_arm_winedbg.c index 6bc05eaee7..81f3ffd745 100644 --- a/librz/asm/p/asm_arm_winedbg.c +++ b/librz/asm/p/asm_arm_winedbg.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2018 nibble +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_avr.c b/librz/asm/p/asm_avr.c index d102ccff12..ed4f58f285 100644 --- a/librz/asm/p/asm_avr.c +++ b/librz/asm/p/asm_avr.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2018 pancake +// SPDX-FileCopyrightText: 2010-2018 dark_k3y // SPDX-License-Identifier: LGPL-3.0-only /* AVR assembler realization by Alexander Bolshev aka @dark_k3y, LGPL -- 2015, heavily based (and using!) on disassemble module */ diff --git a/librz/asm/p/asm_bf.c b/librz/asm/p/asm_bf.c index f693ed9f0b..d667a80e9d 100644 --- a/librz/asm/p/asm_bf.c +++ b/librz/asm/p/asm_bf.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake +// SPDX-FileCopyrightText: 2009-2021 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_chip8.c b/librz/asm/p/asm_chip8.c index 2f68eb8a11..c3ec881772 100644 --- a/librz/asm/p/asm_chip8.c +++ b/librz/asm/p/asm_chip8.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2018 maijin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_cr16.c b/librz/asm/p/asm_cr16.c index 3c19ef940b..d58504c656 100644 --- a/librz/asm/p/asm_cr16.c +++ b/librz/asm/p/asm_cr16.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2018 fedor.sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_cris_gnu.c b/librz/asm/p/asm_cris_gnu.c index aa29721f21..f436211616 100644 --- a/librz/asm/p/asm_cris_gnu.c +++ b/librz/asm/p/asm_cris_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #if 0 diff --git a/librz/asm/p/asm_dalvik.c b/librz/asm/p/asm_dalvik.c index a113137133..2315a64ccb 100644 --- a/librz/asm/p/asm_dalvik.c +++ b/librz/asm/p/asm_dalvik.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2019 earada +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 h4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_dcpu16.c b/librz/asm/p/asm_dcpu16.c index 58f85fe2ee..1c1abeb417 100644 --- a/librz/asm/p/asm_dcpu16.c +++ b/librz/asm/p/asm_dcpu16.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2012-2018 pancake */ +// SPDX-FileCopyrightText: 2012-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_ebc.c b/librz/asm/p/asm_ebc.c index be0f0e5788..c9bfaa30b2 100644 --- a/librz/asm/p/asm_ebc.c +++ b/librz/asm/p/asm_ebc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake +// SPDX-FileCopyrightText: 2012-2018 fedor sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_gas.c b/librz/asm/p/asm_gas.c index d50022e883..4100dccd19 100644 --- a/librz/asm/p/asm_gas.c +++ b/librz/asm/p/asm_gas.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_gb.c b/librz/asm/p/asm_gb.c index 83f0b35c9a..b32c28379c 100644 --- a/librz/asm/p/asm_gb.c +++ b/librz/asm/p/asm_gb.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake +// SPDX-FileCopyrightText: 2012-2018 condret // SPDX-License-Identifier: LGPL-3.0-only // fork of asm_z80.c diff --git a/librz/asm/p/asm_h8300.c b/librz/asm/p/asm_h8300.c index daa03ffb1a..b04fabd7a7 100644 --- a/librz/asm/p/asm_h8300.c +++ b/librz/asm/p/asm_h8300.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2018 fedor.sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_hexagon.c b/librz/asm/p/asm_hexagon.c index 7ce806ee17..6040fce610 100644 --- a/librz/asm/p/asm_hexagon.c +++ b/librz/asm/p/asm_hexagon.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 xvilka // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_hppa_gnu.c b/librz/asm/p/asm_hppa_gnu.c index 31efa9d657..0da0cba956 100644 --- a/librz/asm/p/asm_hppa_gnu.c +++ b/librz/asm/p/asm_hppa_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_i4004.c b/librz/asm/p/asm_i4004.c index 5e4da49863..4c46a719d5 100644 --- a/librz/asm/p/asm_i4004.c +++ b/librz/asm/p/asm_i4004.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2020 condret +// SPDX-FileCopyrightText: 2014-2020 eagleoflqj // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_i8080.c b/librz/asm/p/asm_i8080.c index cfa57c14e2..35dfb30793 100644 --- a/librz/asm/p/asm_i8080.c +++ b/librz/asm/p/asm_i8080.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2018 Alexander // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_java.c b/librz/asm/p/asm_java.c index 8ff450ad3d..b38d9243ff 100644 --- a/librz/asm/p/asm_java.c +++ b/librz/asm/p/asm_java.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_lanai_gnu.c b/librz/asm/p/asm_lanai_gnu.c index 1bcb50ac68..224d6234a5 100644 --- a/librz/asm/p/asm_lanai_gnu.c +++ b/librz/asm/p/asm_lanai_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_lh5801.c b/librz/asm/p/asm_lh5801.c index 752c3dd494..ce841b370c 100644 --- a/librz/asm/p/asm_lh5801.c +++ b/librz/asm/p/asm_lh5801.c @@ -1,5 +1,5 @@ -/* rizin, Sharp LH5801 disassembler. - * (C) Copyright 2014-2015 jn, published under the LGPLv3 */ +// SPDX-FileCopyrightText: 2014-2015 jn +// SPDX-License-Identifier: LGPL-3.0-only #include "../../arch/lh5801/lh5801.c" #include diff --git a/librz/asm/p/asm_lm32.c b/librz/asm/p/asm_lm32.c index a9c87b00ec..cce83b0968 100644 --- a/librz/asm/p/asm_lm32.c +++ b/librz/asm/p/asm_lm32.c @@ -1,6 +1,5 @@ -/* lm32 support for rizin - * 2-clause BSD - * Copyright 2015 Felix Held */ +// SPDX-FileCopyrightText: 2015 Felix Held +// SPDX-License-Identifier: BSD-2-Clause #include #include diff --git a/librz/asm/p/asm_m680x_cs.c b/librz/asm/p/asm_m680x_cs.c index 4cef59c28a..d2af2a4227 100644 --- a/librz/asm/p/asm_m680x_cs.c +++ b/librz/asm/p/asm_m680x_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018-2019 - pancake */ +// SPDX-FileCopyrightText: 2018-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_m68k_cs.c b/librz/asm/p/asm_m68k_cs.c index 038e8f8ac8..a4b84c1608 100644 --- a/librz/asm/p/asm_m68k_cs.c +++ b/librz/asm/p/asm_m68k_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2015-2018 - pancake */ +// SPDX-FileCopyrightText: 2015-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_malbolge.c b/librz/asm/p/asm_malbolge.c index 149268c3f6..ff7652ebf4 100644 --- a/librz/asm/p/asm_malbolge.c +++ b/librz/asm/p/asm_malbolge.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2018 condret +// SPDX-FileCopyrightText: 2014-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_mcore.c b/librz/asm/p/asm_mcore.c index 557c94aa8d..eb32f4a582 100644 --- a/librz/asm/p/asm_mcore.c +++ b/librz/asm/p/asm_mcore.c @@ -1,4 +1,5 @@ -/* rizin - LGPL3 - Copyright 2018 - deroad */ +// SPDX-FileCopyrightText: 2018 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_mcs96.c b/librz/asm/p/asm_mcs96.c index 8b1288019b..ce4b8a0369 100644 --- a/librz/asm/p/asm_mcs96.c +++ b/librz/asm/p/asm_mcs96.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_mips_cs.c b/librz/asm/p/asm_mips_cs.c index f9dc9cb630..67f3d04985 100644 --- a/librz/asm/p/asm_mips_cs.c +++ b/librz/asm/p/asm_mips_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2018 - pancake */ +// SPDX-FileCopyrightText: 2013-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_mips_gnu.c b/librz/asm/p/asm_mips_gnu.c index 9c83fc98ba..2ecdb00f2a 100644 --- a/librz/asm/p/asm_mips_gnu.c +++ b/librz/asm/p/asm_mips_gnu.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake +// SPDX-FileCopyrightText: 2009-2018 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_msp430.c b/librz/asm/p/asm_msp430.c index e3a068f48a..0b689a9d25 100644 --- a/librz/asm/p/asm_msp430.c +++ b/librz/asm/p/asm_msp430.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2015 fedor.sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_nios2.c b/librz/asm/p/asm_nios2.c index f6a98b0b9f..1d7dba3fb0 100644 --- a/librz/asm/p/asm_nios2.c +++ b/librz/asm/p/asm_nios2.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2018 - pancake */ +// SPDX-FileCopyrightText: 2014-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_null.c b/librz/asm/p/asm_null.c index cae7098aa7..0163229895 100644 --- a/librz/asm/p/asm_null.c +++ b/librz/asm/p/asm_null.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_or1k.c b/librz/asm/p/asm_or1k.c index 93d06c67d0..48c5587f33 100644 --- a/librz/asm/p/asm_or1k.c +++ b/librz/asm/p/asm_or1k.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - v3l0c1r4pt0r */ +// SPDX-FileCopyrightText: 2019 v3l0c1r4pt0r +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_pic.c b/librz/asm/p/asm_pic.c index e3ffaf71bb..61d424ff41 100644 --- a/librz/asm/p/asm_pic.c +++ b/librz/asm/p/asm_pic.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2018 - thestr4ng3r, courk */ +// SPDX-FileCopyrightText: 2018 thestr4ng3r +// SPDX-FileCopyrightText: 2018 courk +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_ppc_as.c b/librz/asm/p/asm_ppc_as.c index 2aa74047e7..79e1fadcbc 100644 --- a/librz/asm/p/asm_ppc_as.c +++ b/librz/asm/p/asm_ppc_as.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 eagleoflqj // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_ppc_cs.c b/librz/asm/p/asm_ppc_cs.c index 550b92002d..83884efbc0 100644 --- a/librz/asm/p/asm_ppc_cs.c +++ b/librz/asm/p/asm_ppc_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2018 - pancake */ +// SPDX-FileCopyrightText: 2014-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_ppc_gnu.c b/librz/asm/p/asm_ppc_gnu.c index c20a9e9812..6bfe258088 100644 --- a/librz/asm/p/asm_ppc_gnu.c +++ b/librz/asm/p/asm_ppc_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2015 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_propeller.c b/librz/asm/p/asm_propeller.c index e170f4cbe8..31a5b313fa 100644 --- a/librz/asm/p/asm_propeller.c +++ b/librz/asm/p/asm_propeller.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 fedor.sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_pyc.c b/librz/asm/p/asm_pyc.c index ae8b0ac4c6..118bf7d12a 100644 --- a/librz/asm/p/asm_pyc.c +++ b/librz/asm/p/asm_pyc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_riscv.c b/librz/asm/p/asm_riscv.c index b4b7efd31c..5fe20e21f3 100644 --- a/librz/asm/p/asm_riscv.c +++ b/librz/asm/p/asm_riscv.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2021 qnix // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_riscv_cs.c b/librz/asm/p/asm_riscv_cs.c index 5e090ff58a..a9f001e7d4 100644 --- a/librz/asm/p/asm_riscv_cs.c +++ b/librz/asm/p/asm_riscv_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - pancake */ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_rsp.c b/librz/asm/p/asm_rsp.c index 704cd6a1f9..ddc6428a09 100644 --- a/librz/asm/p/asm_rsp.c +++ b/librz/asm/p/asm_rsp.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 bobby.smiles32 // SPDX-License-Identifier: LGPL-3.0-only // TODO: add assembler diff --git a/librz/asm/p/asm_sh.c b/librz/asm/p/asm_sh.c index 1bb98c3660..0f2c416533 100644 --- a/librz/asm/p/asm_sh.c +++ b/librz/asm/p/asm_sh.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2011 eloi // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_snes.c b/librz/asm/p/asm_snes.c index 6d79eb2831..a08f7e0209 100644 --- a/librz/asm/p/asm_snes.c +++ b/librz/asm/p/asm_snes.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2015 condret +// SPDX-FileCopyrightText: 2012-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_sparc_cs.c b/librz/asm/p/asm_sparc_cs.c index 20c8eb65db..cf111a5dbe 100644 --- a/librz/asm/p/asm_sparc_cs.c +++ b/librz/asm/p/asm_sparc_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2017 - pancake */ +// SPDX-FileCopyrightText: 2014-2017 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_sparc_gnu.c b/librz/asm/p/asm_sparc_gnu.c index da59bc592b..db3c43890d 100644 --- a/librz/asm/p/asm_sparc_gnu.c +++ b/librz/asm/p/asm_sparc_gnu.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2014 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_sysz.c b/librz/asm/p/asm_sysz.c index 710bc8d083..a2dc2ad46b 100644 --- a/librz/asm/p/asm_sysz.c +++ b/librz/asm/p/asm_sysz.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2015 - pancake */ +// SPDX-FileCopyrightText: 2013-2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only // instruction set : http://www.tachyonsoft.com/inst390m.htm diff --git a/librz/asm/p/asm_tms320.c b/librz/asm/p/asm_tms320.c index 907b471dcc..bbc45af009 100644 --- a/librz/asm/p/asm_tms320.c +++ b/librz/asm/p/asm_tms320.c @@ -1,10 +1,5 @@ -/* - * TMS320 disassembly engine - * - * Written by Ilya V. Matveychikov - * - * Distributed under LGPLv3 - */ +// SPDX-FileCopyrightText: 2014 Ilya V. Matveychikov +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_tms320c64x.c b/librz/asm/p/asm_tms320c64x.c index a62bf79e55..c250f7bc7d 100644 --- a/librz/asm/p/asm_tms320c64x.c +++ b/librz/asm/p/asm_tms320c64x.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - pancake */ +// SPDX-FileCopyrightText: 2017-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_tricore.c b/librz/asm/p/asm_tricore.c index 890a8c1e5d..7b9742655a 100644 --- a/librz/asm/p/asm_tricore.c +++ b/librz/asm/p/asm_tricore.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2016 - pancake */ +// SPDX-FileCopyrightText: 2016 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_v810.c b/librz/asm/p/asm_v810.c index 68d30cf377..8fd66427f9 100644 --- a/librz/asm/p/asm_v810.c +++ b/librz/asm/p/asm_v810.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_v850.c b/librz/asm/p/asm_v850.c index 133373d649..bb439064e9 100644 --- a/librz/asm/p/asm_v850.c +++ b/librz/asm/p/asm_v850.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_vax.c b/librz/asm/p/asm_vax.c index 56d79dd95c..5869833693 100644 --- a/librz/asm/p/asm_vax.c +++ b/librz/asm/p/asm_vax.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only // TODO: add support for the assembler diff --git a/librz/asm/p/asm_wasm.c b/librz/asm/p/asm_wasm.c index 3e14d6c01a..437cb3ca12 100644 --- a/librz/asm/p/asm_wasm.c +++ b/librz/asm/p/asm_wasm.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2017-2018 pancake +// SPDX-FileCopyrightText: 2017-2018 cgvwzq // SPDX-License-Identifier: LGPL-3.0-only // http://webassembly.org/docs/binary-encoding/#module-structure diff --git a/librz/asm/p/asm_ws.c b/librz/asm/p/asm_ws.c index 4e0587f466..d91d8c93f9 100644 --- a/librz/asm/p/asm_ws.c +++ b/librz/asm/p/asm_ws.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_x86_as.c b/librz/asm/p/asm_x86_as.c index 0bd024f106..37de75dfe2 100644 --- a/librz/asm/p/asm_x86_as.c +++ b/librz/asm/p/asm_x86_as.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_x86_cs.c b/librz/asm/p/asm_x86_cs.c index fd47d4495e..8ddfb952e9 100644 --- a/librz/asm/p/asm_x86_cs.c +++ b/librz/asm/p/asm_x86_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2019 - pancake */ +// SPDX-FileCopyrightText: 2013-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_x86_nasm.c b/librz/asm/p/asm_x86_nasm.c index 3725c1f27b..7dff8a565e 100644 --- a/librz/asm/p/asm_x86_nasm.c +++ b/librz/asm/p/asm_x86_nasm.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_x86_nz.c b/librz/asm/p/asm_x86_nz.c index 00f291709c..7e9ccdabd4 100644 --- a/librz/asm/p/asm_x86_nz.c +++ b/librz/asm/p/asm_x86_nz.c @@ -1,4 +1,7 @@ -/* Copyright (C) 2008-2020 - pancake, unlogic, emvivre */ +// SPDX-FileCopyrightText: 2008-2020 pancake +// SPDX-FileCopyrightText: 2008-2020 unlogic +// SPDX-FileCopyrightText: 2008-2020 emvivre +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_x86_vm.c b/librz/asm/p/asm_x86_vm.c index d5c50c7931..5d4bdb99bb 100644 --- a/librz/asm/p/asm_x86_vm.c +++ b/librz/asm/p/asm_x86_vm.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - wargio */ +// SPDX-FileCopyrightText: 2018 deroad +// SPDX-License-Identifier: LGPL-3.0-only /* "Missing" vm ops: diff --git a/librz/asm/p/asm_xap.c b/librz/asm/p/asm_xap.c index 8464cebada..1b4a684c30 100644 --- a/librz/asm/p/asm_xap.c +++ b/librz/asm/p/asm_xap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2014 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/asm_xcore_cs.c b/librz/asm/p/asm_xcore_cs.c index 8a3cad51ff..8c52a13cb3 100644 --- a/librz/asm/p/asm_xcore_cs.c +++ b/librz/asm/p/asm_xcore_cs.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2014-2018 - pancake */ +// SPDX-FileCopyrightText: 2014-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_xtensa.c b/librz/asm/p/asm_xtensa.c index 04aedb3f55..182637e8b2 100644 --- a/librz/asm/p/asm_xtensa.c +++ b/librz/asm/p/asm_xtensa.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2016-2018 - pancake */ +// SPDX-FileCopyrightText: 2016-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/asm/p/asm_z80.c b/librz/asm/p/asm_z80.c index ed004a0eb8..6b324bbc65 100644 --- a/librz/asm/p/asm_z80.c +++ b/librz/asm/p/asm_z80.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/asm/p/cs_mnemonics.c b/librz/asm/p/cs_mnemonics.c index 2dd9f16ee8..7c81f530e4 100644 --- a/librz/asm/p/cs_mnemonics.c +++ b/librz/asm/p/cs_mnemonics.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: LGPL-3.0-only + static char *mnemonics(RzAsm *a, int id, bool json) { int i; a->cur->disassemble(a, NULL, NULL, -1); diff --git a/librz/bin/bfile.c b/librz/bin/bfile.c index 9f97c1c5e6..5d0891af91 100644 --- a/librz/bin/bfile.c +++ b/librz/bin/bfile.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2019 - pancake, nibble, dso */ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 dso +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/bin.c b/librz/bin/bin.c index 5c6f06f907..8d4e4d749a 100644 --- a/librz/bin/bin.c +++ b/librz/bin/bin.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake, nibble, dso */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 dso +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/bin_ldr.c b/librz/bin/bin_ldr.c index eee6652631..03285faa8b 100644 --- a/librz/bin/bin_ldr.c +++ b/librz/bin/bin_ldr.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - pancake */ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/bin_write.c b/librz/bin/bin_write.c index 1c066680ee..09726ba3d1 100644 --- a/librz/bin/bin_write.c +++ b/librz/bin/bin_write.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2009-2019 - pancake, nibble */ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/blang.c b/librz/bin/blang.c index 75f0d95f0d..b182400794 100644 --- a/librz/bin/blang.c +++ b/librz/bin/blang.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018-2019 - pancake */ +// SPDX-FileCopyrightText: 2018-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/bobj.c b/librz/bin/bobj.c index 615331aeef..1e5f77c5c9 100644 --- a/librz/bin/bobj.c +++ b/librz/bin/bobj.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2019 - pancake, nibble, dso */ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 dso +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/d/jni.h b/librz/bin/d/jni.h index 6686083623..228d4c6426 100644 --- a/librz/bin/d/jni.h +++ b/librz/bin/d/jni.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2006 The Android Open Source Project +// SPDX-License-Identifier: Apache-2.0 + /* * Copyright (C) 2006 The Android Open Source Project * diff --git a/librz/bin/dbginfo.c b/librz/bin/dbginfo.c index 8601794d82..9747c44670 100644 --- a/librz/bin/dbginfo.c +++ b/librz/bin/dbginfo.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/demangle.c b/librz/bin/demangle.c index fd3703c380..5abb341020 100644 --- a/librz/bin/demangle.c +++ b/librz/bin/demangle.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/dwarf.c b/librz/bin/dwarf.c index 58a1286b8e..9ef1c33aca 100644 --- a/librz/bin/dwarf.c +++ b/librz/bin/dwarf.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2018 pancake +// SPDX-FileCopyrightText: 2012-2018 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #define D0 if (1) diff --git a/librz/bin/filter.c b/librz/bin/filter.c index 369703bc4e..2494bf7a10 100644 --- a/librz/bin/filter.c +++ b/librz/bin/filter.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/bflt/bflt.c b/librz/bin/format/bflt/bflt.c index a8e12f4d33..cf0bd88cd8 100644 --- a/librz/bin/format/bflt/bflt.c +++ b/librz/bin/format/bflt/bflt.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 Oscar Salvador // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/bflt/bflt.h b/librz/bin/format/bflt/bflt.h index 44573f189d..1e349db69f 100644 --- a/librz/bin/format/bflt/bflt.h +++ b/librz/bin/format/bflt/bflt.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 Oscar Salvador // SPDX-License-Identifier: LGPL-3.0-only #ifndef BFLT_H diff --git a/librz/bin/format/coff/coff.c b/librz/bin/format/coff/coff.c index 331c86e0bd..37b037effe 100644 --- a/librz/bin/format/coff/coff.c +++ b/librz/bin/format/coff/coff.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2008-2019 pancake +// SPDX-FileCopyrightText: 2008-2019 inisider // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/coff/coff.h b/librz/bin/format/coff/coff.h index 5f48882782..1e14fb7b14 100644 --- a/librz/bin/format/coff/coff.h +++ b/librz/bin/format/coff/coff.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #ifndef COFF_H diff --git a/librz/bin/format/coff/coff_specs.h b/librz/bin/format/coff/coff_specs.h index 5504d10584..fa88ba6c43 100644 --- a/librz/bin/format/coff/coff_specs.h +++ b/librz/bin/format/coff/coff_specs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #ifndef COFF_SPECS_H #define COFF_SPECS_H diff --git a/librz/bin/format/dex/dex.c b/librz/bin/format/dex/dex.c index 98cfec5238..6ee66d0ed9 100644 --- a/librz/bin/format/dex/dex.c +++ b/librz/bin/format/dex/dex.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 h4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/dex/dex.h b/librz/bin/format/dex/dex.h index cc8cd1237c..e74fd980ed 100644 --- a/librz/bin/format/dex/dex.h +++ b/librz/bin/format/dex/dex.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2011 earada +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef DEX_H #define DEX_H diff --git a/librz/bin/format/dmp/dmp64.c b/librz/bin/format/dmp/dmp64.c index e8066ef94a..d432123e05 100644 --- a/librz/bin/format/dmp/dmp64.c +++ b/librz/bin/format/dmp/dmp64.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2020 - abcSup */ +// SPDX-FileCopyrightText: 2020 abcSup +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/format/dmp/dmp64.h b/librz/bin/format/dmp/dmp64.h index 5a77e57cdd..7584ed6222 100644 --- a/librz/bin/format/dmp/dmp64.h +++ b/librz/bin/format/dmp/dmp64.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2020 - abcSup */ +// SPDX-FileCopyrightText: 2020 abcSup +// SPDX-License-Identifier: LGPL-3.0-only #ifndef DMP64_H #define DMP64_H diff --git a/librz/bin/format/dmp/dmp_specs.h b/librz/bin/format/dmp/dmp_specs.h index 9b51eb95fe..c9c506309b 100644 --- a/librz/bin/format/dmp/dmp_specs.h +++ b/librz/bin/format/dmp/dmp_specs.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2020 - abcSup */ +// SPDX-FileCopyrightText: 2020 abcSup +// SPDX-License-Identifier: LGPL-3.0-only #ifndef DMP_SPECS_H #define DMP_SPECS_H diff --git a/librz/bin/format/elf/elf.c b/librz/bin/format/elf/elf.c index 9dd9498054..f7cfd46943 100644 --- a/librz/bin/format/elf/elf.c +++ b/librz/bin/format/elf/elf.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2008-2020 nibble +// SPDX-FileCopyrightText: 2008-2020 pancake +// SPDX-FileCopyrightText: 2008-2020 alvaro_fe // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/elf/elf.h b/librz/bin/format/elf/elf.h index 5bc81d9904..c60bab72b8 100644 --- a/librz/bin/format/elf/elf.h +++ b/librz/bin/format/elf/elf.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009 Nibble +// SPDX-FileCopyrightText: 2009 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/librz/bin/format/elf/elf64.c b/librz/bin/format/elf/elf64.c index f5be99f0df..24f0ece39f 100644 --- a/librz/bin/format/elf/elf64.c +++ b/librz/bin/format/elf/elf64.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2010 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_ELF64 1 diff --git a/librz/bin/format/elf/elf64.h b/librz/bin/format/elf/elf64.h index 08c77e14d9..775c5beea4 100644 --- a/librz/bin/format/elf/elf64.h +++ b/librz/bin/format/elf/elf64.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_ELF64 1 diff --git a/librz/bin/format/elf/elf64_write.c b/librz/bin/format/elf/elf64_write.c index 40fa36857c..10cf7ce5d9 100644 --- a/librz/bin/format/elf/elf64_write.c +++ b/librz/bin/format/elf/elf64_write.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2008-2015 nibble +// SPDX-FileCopyrightText: 2008-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_ELF64 1 diff --git a/librz/bin/format/elf/elf_specs.h b/librz/bin/format/elf/elf_specs.h index edc7ae6640..ec5a29520a 100644 --- a/librz/bin/format/elf/elf_specs.h +++ b/librz/bin/format/elf/elf_specs.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009 Nibble +// SPDX-FileCopyrightText: 2009 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #undef Elf_ #undef Elf_Vword #undef ELF_ST_BIND diff --git a/librz/bin/format/elf/elf_write.c b/librz/bin/format/elf/elf_write.c index 79cc4ef85a..9af589fc58 100644 --- a/librz/bin/format/elf/elf_write.c +++ b/librz/bin/format/elf/elf_write.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2019 pancake +// SPDX-FileCopyrightText: 2010-2019 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/elf/glibc_elf.h b/librz/bin/format/elf/glibc_elf.h index 0ab9942b81..b25edd183b 100644 --- a/librz/bin/format/elf/glibc_elf.h +++ b/librz/bin/format/elf/glibc_elf.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1995-2020 Free Software Foundation, Inc. +// SPDX-License-Identifier: LGPL-2.1-or-later + // autogenerated with: make elf-sync /* This file defines standard ELF types, structures, and macros. Copyright (C) 1995-2020 Free Software Foundation, Inc. diff --git a/librz/bin/format/java/class.c b/librz/bin/format/java/class.c index 15aae47365..fbebb62680 100644 --- a/librz/bin/format/java/class.c +++ b/librz/bin/format/java/class.c @@ -1,6 +1,7 @@ -/* Apache 2.0 - Copyright 2007-2018 - pancake and dso - class.c rewrite: Adam Pridgen - */ +// SPDX-FileCopyrightText: 2007-2018 pancake +// SPDX-FileCopyrightText: 2007-2018 dso +// SPDX-License-Identifier: Apache-2.0 + #include #include #include diff --git a/librz/bin/format/le/le.c b/librz/bin/format/le/le.c index bb63f94e53..bf98c1e645 100644 --- a/librz/bin/format/le/le.c +++ b/librz/bin/format/le/le.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #include "le.h" diff --git a/librz/bin/format/mach0/coresymbolication.c b/librz/bin/format/mach0/coresymbolication.c index 00a3b9e275..f148e8631a 100644 --- a/librz/bin/format/mach0/coresymbolication.c +++ b/librz/bin/format/mach0/coresymbolication.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 mrmacete // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/mach0/dyldcache.c b/librz/bin/format/mach0/dyldcache.c index 2929b5a604..52a4cdecfb 100644 --- a/librz/bin/format/mach0/dyldcache.c +++ b/librz/bin/format/mach0/dyldcache.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2018 nibble +// SPDX-FileCopyrightText: 2010-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/mach0/dyldcache.h b/librz/bin/format/mach0/dyldcache.h index c511b98eb0..ea1b581eef 100644 --- a/librz/bin/format/mach0/dyldcache.h +++ b/librz/bin/format/mach0/dyldcache.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2010 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/mach0/fatmach0.c b/librz/bin/format/mach0/fatmach0.c index a66397a583..35f77c0e8b 100644 --- a/librz/bin/format/mach0/fatmach0.c +++ b/librz/bin/format/mach0/fatmach0.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2013 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/mach0/mach0.c b/librz/bin/format/mach0/mach0.c index e9b7691535..52990cbe70 100644 --- a/librz/bin/format/mach0/mach0.c +++ b/librz/bin/format/mach0/mach0.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2020 nibble +// SPDX-FileCopyrightText: 2010-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/mach0/mach064.c b/librz/bin/format/mach0/mach064.c index 11a0fffe85..13588490cb 100644 --- a/librz/bin/format/mach0/mach064.c +++ b/librz/bin/format/mach0/mach064.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_MACH064 1 diff --git a/librz/bin/format/mach0/mach064.h b/librz/bin/format/mach0/mach064.h index 83af31e1ed..adfe9967fe 100644 --- a/librz/bin/format/mach0/mach064.h +++ b/librz/bin/format/mach0/mach064.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_MACH064 1 diff --git a/librz/bin/format/mach0/mach064_is_kernelcache.c b/librz/bin/format/mach0/mach064_is_kernelcache.c index eac4093baa..1cdf7da125 100644 --- a/librz/bin/format/mach0/mach064_is_kernelcache.c +++ b/librz/bin/format/mach0/mach064_is_kernelcache.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "mach0_defines.h" static bool is_kernelcache_buffer(RzBuffer *b) { diff --git a/librz/bin/format/mach0/mach0_defines.h b/librz/bin/format/mach0/mach0_defines.h index baf8bb2aca..d51c6b8d07 100644 --- a/librz/bin/format/mach0/mach0_defines.h +++ b/librz/bin/format/mach0/mach0_defines.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003-2010 University of Illinois at Urbana-Champaign. +// SPDX-License-Identifier: NCSA + //===-- llvm/Support/MachO.h - The MachO file format ------------*- C -*-===// // // The LLVM Compiler Infrastructure diff --git a/librz/bin/format/mdmp/mdmp.c b/librz/bin/format/mdmp/mdmp.c index 5381ac4ba1..3c26818fe7 100644 --- a/librz/bin/format/mdmp/mdmp.c +++ b/librz/bin/format/mdmp/mdmp.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016-2017 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016-2017 Davis +// SPDX-FileCopyrightText: 2016-2017 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/mdmp/mdmp.h b/librz/bin/format/mdmp/mdmp.h index d10e3a0340..f6b36662d0 100644 --- a/librz/bin/format/mdmp/mdmp.h +++ b/librz/bin/format/mdmp/mdmp.h @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016 Davis +// SPDX-FileCopyrightText: 2016 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #ifndef MDMP_H #define MDMP_H diff --git a/librz/bin/format/mdmp/mdmp_pe.c b/librz/bin/format/mdmp/mdmp_pe.c index d9e622dc97..b2a374f3fe 100644 --- a/librz/bin/format/mdmp/mdmp_pe.c +++ b/librz/bin/format/mdmp/mdmp_pe.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016-2018 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016-2018 Davis +// SPDX-FileCopyrightText: 2016-2018 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/format/mdmp/mdmp_pe.h b/librz/bin/format/mdmp/mdmp_pe.h index 9edcd779f4..3ec97e971b 100644 --- a/librz/bin/format/mdmp/mdmp_pe.h +++ b/librz/bin/format/mdmp/mdmp_pe.h @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016 Davis +// SPDX-FileCopyrightText: 2016 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #ifndef MDMP_PE_H #define MDMP_PE_H diff --git a/librz/bin/format/mdmp/mdmp_pe64.c b/librz/bin/format/mdmp/mdmp_pe64.c index 15657e3d90..2ad6d7a3b4 100644 --- a/librz/bin/format/mdmp/mdmp_pe64.c +++ b/librz/bin/format/mdmp/mdmp_pe64.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016 Davis +// SPDX-FileCopyrightText: 2016 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_PE64 1 #include "mdmp_pe.c" diff --git a/librz/bin/format/mdmp/mdmp_pe64.h b/librz/bin/format/mdmp/mdmp_pe64.h index 7b6d8a438d..e2e72a9230 100644 --- a/librz/bin/format/mdmp/mdmp_pe64.h +++ b/librz/bin/format/mdmp/mdmp_pe64.h @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016 Davis +// SPDX-FileCopyrightText: 2016 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #ifndef MDMP_PE64_H #define MDMP_PE64_H diff --git a/librz/bin/format/mdmp/mdmp_specs.h b/librz/bin/format/mdmp/mdmp_specs.h index 78f49df04b..638bce06aa 100644 --- a/librz/bin/format/mdmp/mdmp_specs.h +++ b/librz/bin/format/mdmp/mdmp_specs.h @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016 Davis +// SPDX-FileCopyrightText: 2016 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #ifndef MDMP_SPECS_H #define MDMP_SPECS_H diff --git a/librz/bin/format/mdmp/mdmp_windefs.h b/librz/bin/format/mdmp/mdmp_windefs.h index 0ca23ea510..6b6c5583eb 100644 --- a/librz/bin/format/mdmp/mdmp_windefs.h +++ b/librz/bin/format/mdmp/mdmp_windefs.h @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016 Davis +// SPDX-FileCopyrightText: 2016 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #ifndef MDMP_WINDEFS_H #define MDMP_WINDEFS_H diff --git a/librz/bin/format/mz/mz.c b/librz/bin/format/mz/mz.c index f9ae2525a9..8d534a244e 100644 --- a/librz/bin/format/mz/mz.c +++ b/librz/bin/format/mz/mz.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2018 nodepad +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "mz.h" diff --git a/librz/bin/format/mz/mz.h b/librz/bin/format/mz/mz.h index 442d415b1d..cafafd7b03 100644 --- a/librz/bin/format/mz/mz.h +++ b/librz/bin/format/mz/mz.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 nodepad // SPDX-License-Identifier: LGPL-3.0-only #ifndef MZ_H diff --git a/librz/bin/format/mz/mz_specs.h b/librz/bin/format/mz/mz_specs.h index ac666fd776..b7a82190be 100644 --- a/librz/bin/format/mz/mz_specs.h +++ b/librz/bin/format/mz/mz_specs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 nodepad // SPDX-License-Identifier: LGPL-3.0-only typedef struct { diff --git a/librz/bin/format/ne/ne.c b/librz/bin/format/ne/ne.c index 0a82bbd1c8..7758cf2299 100644 --- a/librz/bin/format/ne/ne.c +++ b/librz/bin/format/ne/ne.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #include "ne.h" diff --git a/librz/bin/format/nes/nes_specs.h b/librz/bin/format/nes/nes_specs.h index f517c228a9..e8eacba07a 100644 --- a/librz/bin/format/nes/nes_specs.h +++ b/librz/bin/format/nes/nes_specs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 maijin // SPDX-License-Identifier: LGPL-3.0-only //CPU_memory_map: http://wiki.nesdev.com/w/index.php/CPU_memory_map diff --git a/librz/bin/format/nxo/nxo.c b/librz/bin/format/nxo/nxo.c index 9c58fda42c..abeec9af30 100644 --- a/librz/bin/format/nxo/nxo.c +++ b/librz/bin/format/nxo/nxo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 rkx1209 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/nxo/nxo.h b/librz/bin/format/nxo/nxo.h index b4fb335f4e..e8c6aeb08b 100644 --- a/librz/bin/format/nxo/nxo.h +++ b/librz/bin/format/nxo/nxo.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 rkx1209 // SPDX-License-Identifier: LGPL-3.0-only #ifndef _NXO_H diff --git a/librz/bin/format/objc/mach064_classes.c b/librz/bin/format/objc/mach064_classes.c index 61b4c59820..b4c3bedbeb 100644 --- a/librz/bin/format/objc/mach064_classes.c +++ b/librz/bin/format/objc/mach064_classes.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_MACH064 1 #include "mach0_classes.c" diff --git a/librz/bin/format/objc/mach0_classes.c b/librz/bin/format/objc/mach0_classes.c index b2f4c6bd04..a075a2d194 100644 --- a/librz/bin/format/objc/mach0_classes.c +++ b/librz/bin/format/objc/mach0_classes.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2020 inisider +// SPDX-FileCopyrightText: 2015-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "../../i/private.h" diff --git a/librz/bin/format/omf/omf.c b/librz/bin/format/omf/omf.c index 3f0c606822..1d8a79d876 100644 --- a/librz/bin/format/omf/omf.c +++ b/librz/bin/format/omf/omf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "omf.h" static bool is_valid_omf_type(ut8 type) { diff --git a/librz/bin/format/p9/p9bin.c b/librz/bin/format/p9/p9bin.c index a20bd0c6a9..a3fdc87cd5 100644 --- a/librz/bin/format/p9/p9bin.c +++ b/librz/bin/format/p9/p9bin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "p9bin.h" diff --git a/librz/bin/format/p9/p9bin.h b/librz/bin/format/p9/p9bin.h index ff443ec821..56ceba1782 100644 --- a/librz/bin/format/p9/p9bin.h +++ b/librz/bin/format/p9/p9bin.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2008 Anant Narayanan +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef P9BIN_H #define P9BIN_H diff --git a/librz/bin/format/pe/dotnet.c b/librz/bin/format/pe/dotnet.c index 3aeb24055e..2ceab7f0ca 100644 --- a/librz/bin/format/pe/dotnet.c +++ b/librz/bin/format/pe/dotnet.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015. The YARA Authors. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 + /* Forked by pancake in 2017 diff --git a/librz/bin/format/pe/pe.c b/librz/bin/format/pe/pe.c index 3d4e180e0a..498c30202a 100644 --- a/librz/bin/format/pe/pe.c +++ b/librz/bin/format/pe/pe.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2008-2019 nibble +// SPDX-FileCopyrightText: 2008-2019 pancake +// SPDX-FileCopyrightText: 2008-2019 inisider // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/pe/pe.h b/librz/bin/format/pe/pe.h index bf8817f2f3..d6d4c2428f 100644 --- a/librz/bin/format/pe/pe.h +++ b/librz/bin/format/pe/pe.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/pe/pe64.c b/librz/bin/format/pe/pe64.c index 102e13aae6..0995d4610f 100644 --- a/librz/bin/format/pe/pe64.c +++ b/librz/bin/format/pe/pe64.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2014 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_PE64 1 diff --git a/librz/bin/format/pe/pe64.h b/librz/bin/format/pe/pe64.h index 0b8216a2bc..e1cf8eecd0 100644 --- a/librz/bin/format/pe/pe64.h +++ b/librz/bin/format/pe/pe64.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_PE64 1 diff --git a/librz/bin/format/pe/pe64_write.c b/librz/bin/format/pe/pe64_write.c index 1b008374b7..653c90742b 100644 --- a/librz/bin/format/pe/pe64_write.c +++ b/librz/bin/format/pe/pe64_write.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2008-2017 nibble +// SPDX-FileCopyrightText: 2008-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_PE64 1 diff --git a/librz/bin/format/pe/pe_specs.h b/librz/bin/format/pe/pe_specs.h index 9579a85668..3e29288522 100644 --- a/librz/bin/format/pe/pe_specs.h +++ b/librz/bin/format/pe/pe_specs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008 nibble // SPDX-License-Identifier: LGPL-3.0-only #undef PE_ diff --git a/librz/bin/format/pe/pe_write.c b/librz/bin/format/pe/pe_write.c index e3695c4c04..c151468ac8 100644 --- a/librz/bin/format/pe/pe_write.c +++ b/librz/bin/format/pe/pe_write.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2019 pancake +// SPDX-FileCopyrightText: 2010-2019 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/pe/pemixed.c b/librz/bin/format/pe/pemixed.c index 9b5d7d7268..02538f014c 100644 --- a/librz/bin/format/pe/pemixed.c +++ b/librz/bin/format/pe/pemixed.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 JohnPeng47 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/pyc/marshal.c b/librz/bin/format/pyc/marshal.c index c70efa0f16..a612b752e8 100644 --- a/librz/bin/format/pyc/marshal.c +++ b/librz/bin/format/pyc/marshal.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 Tardy +// SPDX-FileCopyrightText: 2016-2020 l0stb1t // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/pyc/marshal.h b/librz/bin/format/pyc/marshal.h index ac9ae4b1a6..a558bba4d7 100644 --- a/librz/bin/format/pyc/marshal.h +++ b/librz/bin/format/pyc/marshal.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016 c0riolis +// SPDX-FileCopyrightText: 2016 Tardy // SPDX-License-Identifier: LGPL-3.0-only #ifndef MARSHAL_H diff --git a/librz/bin/format/pyc/pyc.c b/librz/bin/format/pyc/pyc.c index 7c787e1d58..f75100a13a 100644 --- a/librz/bin/format/pyc/pyc.c +++ b/librz/bin/format/pyc/pyc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #include "pyc.h" diff --git a/librz/bin/format/pyc/pyc.h b/librz/bin/format/pyc/pyc.h index 7c2eb38064..e1311378ac 100644 --- a/librz/bin/format/pyc/pyc.h +++ b/librz/bin/format/pyc/pyc.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #ifndef PYC_H diff --git a/librz/bin/format/pyc/pyc_magic.c b/librz/bin/format/pyc/pyc_magic.c index 6b2e441fb3..6936fcb6d3 100644 --- a/librz/bin/format/pyc/pyc_magic.c +++ b/librz/bin/format/pyc/pyc_magic.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #include "pyc_magic.h" diff --git a/librz/bin/format/pyc/pyc_magic.h b/librz/bin/format/pyc/pyc_magic.h index 3e0966b2e4..cc1a4b0d6e 100644 --- a/librz/bin/format/pyc/pyc_magic.h +++ b/librz/bin/format/pyc/pyc_magic.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #ifndef PYC_MAGIC_H diff --git a/librz/bin/format/qnx/qnx.h b/librz/bin/format/qnx/qnx.h index 4e07a89614..70d1b90a5c 100644 --- a/librz/bin/format/qnx/qnx.h +++ b/librz/bin/format/qnx/qnx.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 deepakchethan // SPDX-License-Identifier: LGPL-3.0-only #ifndef _QNX_H diff --git a/librz/bin/format/sfc/sfc_specs.h b/librz/bin/format/sfc/sfc_specs.h index 19cca6b9ca..8d2a1c20c9 100644 --- a/librz/bin/format/sfc/sfc_specs.h +++ b/librz/bin/format/sfc/sfc_specs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 maijin // SPDX-License-Identifier: LGPL-3.0-only //CPU_memory_map: http://wiki.nesdev.com/w/index.php/CPU_memory_map diff --git a/librz/bin/format/te/te.c b/librz/bin/format/te/te.c index d4ad9b3d06..2594a074af 100644 --- a/librz/bin/format/te/te.c +++ b/librz/bin/format/te/te.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2008-2013 nibble +// SPDX-FileCopyrightText: 2008-2013 pancake +// SPDX-FileCopyrightText: 2008-2013 xvilka // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/te/te.h b/librz/bin/format/te/te.h index 143a01ade4..9bd8d3819a 100644 --- a/librz/bin/format/te/te.h +++ b/librz/bin/format/te/te.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013 xvilka // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/format/te/te_specs.h b/librz/bin/format/te/te_specs.h index 144998bda9..9148c63a81 100644 --- a/librz/bin/format/te/te_specs.h +++ b/librz/bin/format/te/te_specs.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2008-2013 nibble +// SPDX-FileCopyrightText: 2008-2013 xvilka // SPDX-License-Identifier: LGPL-3.0-only #undef TE_ diff --git a/librz/bin/format/vsf/vsf_specs.h b/librz/bin/format/vsf/vsf_specs.h index 00daedbd8c..7d7fd57ad2 100644 --- a/librz/bin/format/vsf/vsf_specs.h +++ b/librz/bin/format/vsf/vsf_specs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 riq // SPDX-License-Identifier: LGPL-3.0-only #ifndef VSF_SPECS_H #define VSF_SPECS_H diff --git a/librz/bin/format/wasm/wasm.c b/librz/bin/format/wasm/wasm.c index 6f5d91046a..9605636fa5 100644 --- a/librz/bin/format/wasm/wasm.c +++ b/librz/bin/format/wasm/wasm.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2017 - pancake, cgvwzq */ +// SPDX-FileCopyrightText: 2017 pancake +// SPDX-FileCopyrightText: 2017 cgvwzq +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/format/wasm/wasm.h b/librz/bin/format/wasm/wasm.h index 8ef26ea386..d4aa2f3dce 100644 --- a/librz/bin/format/wasm/wasm.h +++ b/librz/bin/format/wasm/wasm.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - cgvwzq */ +// SPDX-FileCopyrightText: 2017-2018 cgvwzq +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/format/xnu/mig_index.h b/librz/bin/format/xnu/mig_index.h index d72b24a85a..660ce5db51 100644 --- a/librz/bin/format/xnu/mig_index.h +++ b/librz/bin/format/xnu/mig_index.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019-2020 RizinOrg +// SPDX-License-Identifier: LGPL-3.0-only + /* * This file is generated in this way: * diff --git a/librz/bin/format/xnu/rz_cf_dict.c b/librz/bin/format/xnu/rz_cf_dict.c index 4eeee1a8c2..87b674e8b7 100644 --- a/librz/bin/format/xnu/rz_cf_dict.c +++ b/librz/bin/format/xnu/rz_cf_dict.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/librz/bin/format/xnu/scripts/build_mig_index.py b/librz/bin/format/xnu/scripts/build_mig_index.py index 9fbd21f7ff..597a6af945 100644 --- a/librz/bin/format/xnu/scripts/build_mig_index.py +++ b/librz/bin/format/xnu/scripts/build_mig_index.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# +# SPDX-FileCopyrightText: 2019 Francesco Tamagni +# SPDX-License-Identifier: LGPL-3.0-only +# # -*- coding: utf-8 -*- import json diff --git a/librz/bin/format/xnu/scripts/machtraps.py b/librz/bin/format/xnu/scripts/machtraps.py index 1d197c3d7a..56a349b50f 100644 --- a/librz/bin/format/xnu/scripts/machtraps.py +++ b/librz/bin/format/xnu/scripts/machtraps.py @@ -1,4 +1,8 @@ #!/usr/bin/env python2 +# +# SPDX-FileCopyrightText: 2019 Francesco Tamagni +# SPDX-License-Identifier: LGPL-3.0-only +# # -*- coding: utf-8 -*- """ diff --git a/librz/bin/format/zimg/zimg.c b/librz/bin/format/zimg/zimg.c index 2460eba1c1..1b6c04e053 100644 --- a/librz/bin/format/zimg/zimg.c +++ b/librz/bin/format/zimg/zimg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2015 ninjahacker // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/i/private.h b/librz/bin/i/private.h index 302b975e74..ea7a303086 100644 --- a/librz/bin/i/private.h +++ b/librz/bin/i/private.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2018 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef RZ_BIN_PRIVATE_H_ #define RZ_BIN_PRIVATE_H_ diff --git a/librz/bin/mangling/cxx.c b/librz/bin/mangling/cxx.c index eb8163ee5b..d8af71b419 100644 --- a/librz/bin/mangling/cxx.c +++ b/librz/bin/mangling/cxx.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/mangling/cxx/cp-demangle.c b/librz/bin/mangling/cxx/cp-demangle.c index d395592368..91fd2493ac 100644 --- a/librz/bin/mangling/cxx/cp-demangle.c +++ b/librz/bin/mangling/cxx/cp-demangle.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003-2018 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-2.0-or-later + /* Demangler for g++ V3 ABI. Copyright (C) 2003-2018 Free Software Foundation, Inc. Written by Ian Lance Taylor . diff --git a/librz/bin/mangling/cxx/test.js b/librz/bin/mangling/cxx/test.js index 5ea8f09639..8f36da0d40 100644 --- a/librz/bin/mangling/cxx/test.js +++ b/librz/bin/mangling/cxx/test.js @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only const cxx = require("./cxx")().then((mod) => { var demangleCxx = mod.cwrap("cxx", "string", ["string"]); console.log(demangleCxx("_Z29api_internal_launch_ipykernelP7_objectS0_S0_")); diff --git a/librz/bin/mangling/demangler.c b/librz/bin/mangling/demangler.c index 1805fbc87d..6955b4e20c 100644 --- a/librz/bin/mangling/demangler.c +++ b/librz/bin/mangling/demangler.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 inisider // SPDX-License-Identifier: LGPL-3.0-only #include "demangler.h" diff --git a/librz/bin/mangling/java.c b/librz/bin/mangling/java.c index 264abfdd29..07d7028f62 100644 --- a/librz/bin/mangling/java.c +++ b/librz/bin/mangling/java.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/mangling/microsoft_demangle.c b/librz/bin/mangling/microsoft_demangle.c index 33e62a95cb..44f9a618bf 100644 --- a/librz/bin/mangling/microsoft_demangle.c +++ b/librz/bin/mangling/microsoft_demangle.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2016 inisider // SPDX-License-Identifier: LGPL-3.0-only #include "microsoft_demangle.h" diff --git a/librz/bin/mangling/msvc.c b/librz/bin/mangling/msvc.c index 35a60e3e0d..53294d2f23 100644 --- a/librz/bin/mangling/msvc.c +++ b/librz/bin/mangling/msvc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2018 inisider // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/mangling/objc.c b/librz/bin/mangling/objc.c index ce5bb32bbe..9fbbd47c25 100644 --- a/librz/bin/mangling/objc.c +++ b/librz/bin/mangling/objc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/mangling/rust.c b/librz/bin/mangling/rust.c index 4f6aa76b0d..b6491c35e0 100644 --- a/librz/bin/mangling/rust.c +++ b/librz/bin/mangling/rust.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/mangling/swift-sd.c b/librz/bin/mangling/swift-sd.c index 4e91fe8a00..5d0729f7b3 100644 --- a/librz/bin/mangling/swift-sd.c +++ b/librz/bin/mangling/swift-sd.c @@ -1,6 +1,7 @@ -/* work-in-progress reverse engineered swift-demangler in C - * Copyright MIT 2015-2019 - * by pancake@nopcode.org */ +// SPDX-FileCopyrightText: 2015-2019 pancake +// SPDX-License-Identifier: MIT + +/* work-in-progress reverse engineered swift-demangler in C */ #include #include diff --git a/librz/bin/mangling/swift.c b/librz/bin/mangling/swift.c index 2a4484c7dc..f38061492c 100644 --- a/librz/bin/mangling/swift.c +++ b/librz/bin/mangling/swift.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_any.c b/librz/bin/p/bin_any.c index e312f38c50..88ec49ba9b 100644 --- a/librz/bin/p/bin_any.c +++ b/librz/bin/p/bin_any.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_art.c b/librz/bin/p/bin_art.c index beb1c49370..95f815e149 100644 --- a/librz/bin/p/bin_art.c +++ b/librz/bin/p/bin_art.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_avr.c b/librz/bin/p/bin_avr.c index 6fe552e77d..7bfe6a8888 100644 --- a/librz/bin/p/bin_avr.c +++ b/librz/bin/p/bin_avr.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_bf.c b/librz/bin/p/bin_bf.c index 905d0289f2..7d1aff31cc 100644 --- a/librz/bin/p/bin_bf.c +++ b/librz/bin/p/bin_bf.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_bflt.c b/librz/bin/p/bin_bflt.c index 8d5bdd0577..0d0dc0da7f 100644 --- a/librz/bin/p/bin_bflt.c +++ b/librz/bin/p/bin_bflt.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2019 Oscar Salvador // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_bios.c b/librz/bin/p/bin_bios.c index 0391ba94a8..ce80f06d12 100644 --- a/librz/bin/p/bin_bios.c +++ b/librz/bin/p/bin_bios.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_bootimg.c b/librz/bin/p/bin_bootimg.c index 5a485cf330..f14003e47f 100644 --- a/librz/bin/p/bin_bootimg.c +++ b/librz/bin/p/bin_bootimg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_cgc.c b/librz/bin/p/bin_cgc.c index 205a14c99e..3ef3f84f8e 100644 --- a/librz/bin/p/bin_cgc.c +++ b/librz/bin/p/bin_cgc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 ret2libc +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_CGC 1 diff --git a/librz/bin/p/bin_coff.c b/librz/bin/p/bin_coff.c index 485a2d9590..51b9907449 100644 --- a/librz/bin/p/bin_coff.c +++ b/librz/bin/p/bin_coff.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2019 Fedor Sakharov // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_dbginfo_dex.c b/librz/bin/p/bin_dbginfo_dex.c index a6b5512985..9ee92a4884 100644 --- a/librz/bin/p/bin_dbginfo_dex.c +++ b/librz/bin/p/bin_dbginfo_dex.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 montekki +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_dbginfo_elf.c b/librz/bin/p/bin_dbginfo_elf.c index d62ba990d0..03d9a08de7 100644 --- a/librz/bin/p/bin_dbginfo_elf.c +++ b/librz/bin/p/bin_dbginfo_elf.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 montekki +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_dbginfo_elf64.c b/librz/bin/p/bin_dbginfo_elf64.c index 2f5434049a..7514a8da5a 100644 --- a/librz/bin/p/bin_dbginfo_elf64.c +++ b/librz/bin/p/bin_dbginfo_elf64.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_ELF64 1 diff --git a/librz/bin/p/bin_dex.c b/librz/bin/p/bin_dex.c index 6f766c4a65..c0999b11a9 100644 --- a/librz/bin/p/bin_dex.c +++ b/librz/bin/p/bin_dex.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2011-2021 pancake +// SPDX-FileCopyrightText: 2011-2021 h4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_dmp64.c b/librz/bin/p/bin_dmp64.c index 26337c1fd9..29075c746f 100644 --- a/librz/bin/p/bin_dmp64.c +++ b/librz/bin/p/bin_dmp64.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2020 - abcSup */ +// SPDX-FileCopyrightText: 2020 abcSup +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_dol.c b/librz/bin/p/bin_dol.c index c6c1dc6b90..bcaa4339d3 100644 --- a/librz/bin/p/bin_dol.c +++ b/librz/bin/p/bin_dol.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_dyldcache.c b/librz/bin/p/bin_dyldcache.c index db2a8a7d45..67af427c60 100644 --- a/librz/bin/p/bin_dyldcache.c +++ b/librz/bin/p/bin_dyldcache.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - pancake */ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_elf.c b/librz/bin/p/bin_elf.c index d3f2064b31..63f055b7d4 100644 --- a/librz/bin/p/bin_elf.c +++ b/librz/bin/p/bin_elf.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake, nibble, dso */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 dso +// SPDX-License-Identifier: LGPL-3.0-only #include "bin_elf.inc" diff --git a/librz/bin/p/bin_elf.inc b/librz/bin/p/bin_elf.inc index d9314785de..0dc7163f33 100644 --- a/librz/bin/p/bin_elf.inc +++ b/librz/bin/p/bin_elf.inc @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2021 nibble +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_elf64.c b/librz/bin/p/bin_elf64.c index bf699aad3a..d84fb29e91 100644 --- a/librz/bin/p/bin_elf64.c +++ b/librz/bin/p/bin_elf64.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_ELF64 1 diff --git a/librz/bin/p/bin_java.c b/librz/bin/p/bin_java.c index 1e96b77720..19116be7fd 100644 --- a/librz/bin/p/bin_java.c +++ b/librz/bin/p/bin_java.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 Adam Pridgen // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_ldr_linux.c b/librz/bin/p/bin_ldr_linux.c index 18e18d48f2..d31d41653e 100644 --- a/librz/bin/p/bin_ldr_linux.c +++ b/librz/bin/p/bin_ldr_linux.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_le.c b/librz/bin/p/bin_le.c index ce8de6bfd6..cf45f5b96e 100644 --- a/librz/bin/p/bin_le.c +++ b/librz/bin/p/bin_le.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_mach0.c b/librz/bin/p/bin_mach0.c index 21f6f9de2b..63ff4d44de 100644 --- a/librz/bin/p/bin_mach0.c +++ b/librz/bin/p/bin_mach0.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_mach064.c b/librz/bin/p/bin_mach064.c index 3ef57c35ef..236bac42af 100644 --- a/librz/bin/p/bin_mach064.c +++ b/librz/bin/p/bin_mach064.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 alvaro_fe // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_MACH064 1 diff --git a/librz/bin/p/bin_mbn.c b/librz/bin/p/bin_mbn.c index b5500760a6..c12b54823c 100644 --- a/librz/bin/p/bin_mbn.c +++ b/librz/bin/p/bin_mbn.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2015-2019 - pancake */ +// SPDX-FileCopyrightText: 2015-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only // XXX: this plugin have 0 tests and no binaries // diff --git a/librz/bin/p/bin_mdmp.c b/librz/bin/p/bin_mdmp.c index 5d35c8e565..4f6476c99d 100644 --- a/librz/bin/p/bin_mdmp.c +++ b/librz/bin/p/bin_mdmp.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2016-2018 - Davis, Alex Kornitzer */ +// SPDX-FileCopyrightText: 2016-2018 Davis +// SPDX-FileCopyrightText: 2016-2018 Alex Kornitzer +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_menuet.c b/librz/bin/p/bin_menuet.c index 5d13eccce9..0f39647170 100644 --- a/librz/bin/p/bin_menuet.c +++ b/librz/bin/p/bin_menuet.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2016-2019 - pancake */ +// SPDX-FileCopyrightText: 2016-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_mz.c b/librz/bin/p/bin_mz.c index 4d8d88f4e4..5f097c3f5b 100644 --- a/librz/bin/p/bin_mz.c +++ b/librz/bin/p/bin_mz.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 nodepad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_ne.c b/librz/bin/p/bin_ne.c index 5d35ee24b0..83dff560d1 100644 --- a/librz/bin/p/bin_ne.c +++ b/librz/bin/p/bin_ne.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009-2019 GustavoLCR +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 alvarofe // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_nes.c b/librz/bin/p/bin_nes.c index 4c037ac8d7..5803e0b2d7 100644 --- a/librz/bin/p/bin_nes.c +++ b/librz/bin/p/bin_nes.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 maijin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_nin3ds.c b/librz/bin/p/bin_nin3ds.c index aecb1e84cc..d569231d04 100644 --- a/librz/bin/p/bin_nin3ds.c +++ b/librz/bin/p/bin_nin3ds.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018-2019 a0rtega // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_ninds.c b/librz/bin/p/bin_ninds.c index fe4f5c930d..2c451efe1e 100644 --- a/librz/bin/p/bin_ninds.c +++ b/librz/bin/p/bin_ninds.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 a0rtega // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_ningb.c b/librz/bin/p/bin_ningb.c index b689f46610..73ddd468cc 100644 --- a/librz/bin/p/bin_ningb.c +++ b/librz/bin/p/bin_ningb.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2017 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_ningba.c b/librz/bin/p/bin_ningba.c index e5b98def2a..dda3cebed6 100644 --- a/librz/bin/p/bin_ningba.c +++ b/librz/bin/p/bin_ningba.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2019 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_nro.c b/librz/bin/p/bin_nro.c index b79d007596..d6b5557ac5 100644 --- a/librz/bin/p/bin_nro.c +++ b/librz/bin/p/bin_nro.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2019 - pancake */ +// SPDX-FileCopyrightText: 2017-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only // TODO: Support NRR and MODF #include diff --git a/librz/bin/p/bin_nso.c b/librz/bin/p/bin_nso.c index aa36c21793..349a68342b 100644 --- a/librz/bin/p/bin_nso.c +++ b/librz/bin/p/bin_nso.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - rkx1209 */ +// SPDX-FileCopyrightText: 2017-2018 rkx1209 +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_omf.c b/librz/bin/p/bin_omf.c index c595b5bf79..2d571d84eb 100644 --- a/librz/bin/p/bin_omf.c +++ b/librz/bin/p/bin_omf.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2019 ampotos +// SPDX-FileCopyrightText: 2015-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_p9.c b/librz/bin/p/bin_p9.c index 398a0d2e33..52d37c37e0 100644 --- a/librz/bin/p/bin_p9.c +++ b/librz/bin/p/bin_p9.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2009-2019 - nibble, pancake */ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_pe.c b/librz/bin/p/bin_pe.c index 45e3b83fd1..ba133b3b43 100644 --- a/librz/bin/p/bin_pe.c +++ b/librz/bin/p/bin_pe.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 alvarofe // SPDX-License-Identifier: LGPL-3.0-only #include "bin_pe.inc" diff --git a/librz/bin/p/bin_pe.inc b/librz/bin/p/bin_pe.inc index 4354d40584..f863705d23 100644 --- a/librz/bin/p/bin_pe.inc +++ b/librz/bin/p/bin_pe.inc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 alvarofe // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_pe64.c b/librz/bin/p/bin_pe64.c index f9125e790b..208ae51080 100644 --- a/librz/bin/p/bin_pe64.c +++ b/librz/bin/p/bin_pe64.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_PE64 1 #include "bin_pe.inc" diff --git a/librz/bin/p/bin_pebble.c b/librz/bin/p/bin_pebble.c index 226a9841f2..e3382193a3 100644 --- a/librz/bin/p/bin_pebble.c +++ b/librz/bin/p/bin_pebble.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_prg.c b/librz/bin/p/bin_prg.c index b9f97c6900..2285c58a12 100644 --- a/librz/bin/p/bin_prg.c +++ b/librz/bin/p/bin_prg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_psxexe.c b/librz/bin/p/bin_psxexe.c index 2fc701174e..d48f0678ff 100644 --- a/librz/bin/p/bin_psxexe.c +++ b/librz/bin/p/bin_psxexe.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2018 Dax89 +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_pyc.c b/librz/bin/p/bin_pyc.c index 8e2572020f..25d7ae174b 100644 --- a/librz/bin/p/bin_pyc.c +++ b/librz/bin/p/bin_pyc.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 c0riolis +// SPDX-FileCopyrightText: 2016-2020 x0urc3 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_qnx.c b/librz/bin/p/bin_qnx.c index b504bbbb7a..7528594d90 100644 --- a/librz/bin/p/bin_qnx.c +++ b/librz/bin/p/bin_qnx.c @@ -1,4 +1,5 @@ -/* rizin - LGPL3 - 2015-2019 - deepakchethan */ +// SPDX-FileCopyrightText: 2015-2019 deepakchethan +// SPDX-License-Identifier: LGPL-3.0-only #include "qnx/qnx.h" #include "../i/private.h" diff --git a/librz/bin/p/bin_sfc.c b/librz/bin/p/bin_sfc.c index 7b1a9dce10..e69290cdd9 100644 --- a/librz/bin/p/bin_sfc.c +++ b/librz/bin/p/bin_sfc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2019 usrshare // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_smd.c b/librz/bin/p/bin_smd.c index c3623f8562..90913c7670 100644 --- a/librz/bin/p/bin_smd.c +++ b/librz/bin/p/bin_smd.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_sms.c b/librz/bin/p/bin_sms.c index 876b803447..f1c3c7106c 100644 --- a/librz/bin/p/bin_sms.c +++ b/librz/bin/p/bin_sms.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2018 shengdi // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_symbols.c b/librz/bin/p/bin_symbols.c index 1af9e1caaa..5f497d4281 100644 --- a/librz/bin/p/bin_symbols.c +++ b/librz/bin/p/bin_symbols.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_te.c b/librz/bin/p/bin_te.c index 2bad7e106d..cdd8302d5b 100644 --- a/librz/bin/p/bin_te.c +++ b/librz/bin/p/bin_te.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2019 xvilka // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_vsf.c b/librz/bin/p/bin_vsf.c index 65ab7cf6ae..72b10bbb90 100644 --- a/librz/bin/p/bin_vsf.c +++ b/librz/bin/p/bin_vsf.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 riq // SPDX-License-Identifier: LGPL-3.0-only /* VICE Snapshot File loader: http://vice-emu.sourceforge.net/ */ diff --git a/librz/bin/p/bin_wasm.c b/librz/bin/p/bin_wasm.c index 96335415be..9078f31333 100644 --- a/librz/bin/p/bin_wasm.c +++ b/librz/bin/p/bin_wasm.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2017-2019 - pancake, cgvwzq */ +// SPDX-FileCopyrightText: 2017-2021 pancake +// SPDX-FileCopyrightText: 2017-2021 cgvwzq +// SPDX-License-Identifier: LGPL-3.0-only // http://webassembly.org/docs/binary-encoding/#module-structure diff --git a/librz/bin/p/bin_write_elf.c b/librz/bin/p/bin_write_elf.c index 549c46828c..a4c8b9cc30 100644 --- a/librz/bin/p/bin_write_elf.c +++ b/librz/bin/p/bin_write_elf.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble // SPDX-License-Identifier: LGPL-3.0-only #include "bin_write_elf.inc" diff --git a/librz/bin/p/bin_write_elf.inc b/librz/bin/p/bin_write_elf.inc index b0b646d6ae..671d688d37 100644 --- a/librz/bin/p/bin_write_elf.inc +++ b/librz/bin/p/bin_write_elf.inc @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_write_elf64.c b/librz/bin/p/bin_write_elf64.c index 242d5ae662..09afbceb9f 100644 --- a/librz/bin/p/bin_write_elf64.c +++ b/librz/bin/p/bin_write_elf64.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_ELF64 1 diff --git a/librz/bin/p/bin_write_mach0.c b/librz/bin/p/bin_write_mach0.c index 7e8c4a5124..25469669c9 100644 --- a/librz/bin/p/bin_write_mach0.c +++ b/librz/bin/p/bin_write_mach0.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_write_mach064.c b/librz/bin/p/bin_write_mach064.c index 59aab77a00..aa5caedeea 100644 --- a/librz/bin/p/bin_write_mach064.c +++ b/librz/bin/p/bin_write_mach064.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_MACH064 1 diff --git a/librz/bin/p/bin_write_pe.c b/librz/bin/p/bin_write_pe.c index 943395ef92..78dcf40e70 100644 --- a/librz/bin/p/bin_write_pe.c +++ b/librz/bin/p/bin_write_pe.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_write_pe64.c b/librz/bin/p/bin_write_pe64.c index 9fa17cd35a..d2b8493c8e 100644 --- a/librz/bin/p/bin_write_pe64.c +++ b/librz/bin/p/bin_write_pe64.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #define RZ_BIN_PE64 1 diff --git a/librz/bin/p/bin_xbe.c b/librz/bin/p/bin_xbe.c index 0a8134f601..ee1eb822bd 100644 --- a/librz/bin/p/bin_xbe.c +++ b/librz/bin/p/bin_xbe.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2019 thatlemon@gmail.com +// SPDX-FileCopyrightText: 2014-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_xnu_kernelcache.c b/librz/bin/p/bin_xnu_kernelcache.c index e0001d9127..db5554b44a 100644 --- a/librz/bin/p/bin_xnu_kernelcache.c +++ b/librz/bin/p/bin_xnu_kernelcache.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - mrmacete */ +// SPDX-FileCopyrightText: 2019 mrmacete +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bin/p/bin_xtr_dyldcache.c b/librz/bin/p/bin_xtr_dyldcache.c index ee1fad4f8d..bf91ff0ff3 100644 --- a/librz/bin/p/bin_xtr_dyldcache.c +++ b/librz/bin/p/bin_xtr_dyldcache.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_xtr_fatmach0.c b/librz/bin/p/bin_xtr_fatmach0.c index b0130ddc2d..7f3de7ffc9 100644 --- a/librz/bin/p/bin_xtr_fatmach0.c +++ b/librz/bin/p/bin_xtr_fatmach0.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_xtr_pemixed.c b/librz/bin/p/bin_xtr_pemixed.c index 0a471a3536..13a91b8ede 100644 --- a/librz/bin/p/bin_xtr_pemixed.c +++ b/librz/bin/p/bin_xtr_pemixed.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018-2019 JohnPeng47 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_xtr_sep64.c b/librz/bin/p/bin_xtr_sep64.c index 318891ecfd..3b138c5c5e 100644 --- a/librz/bin/p/bin_xtr_sep64.c +++ b/librz/bin/p/bin_xtr_sep64.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/p/bin_z64.c b/librz/bin/p/bin_z64.c index 9259bffc94..1fd994773f 100644 --- a/librz/bin/p/bin_z64.c +++ b/librz/bin/p/bin_z64.c @@ -1,4 +1,5 @@ -/* rizin - LGPL 3 - Copyright 2018-2019 - lowlyw */ +// SPDX-FileCopyrightText: 2018-2019 lowlyw +// SPDX-License-Identifier: LGPL-3.0-only /* * info comes from here. diff --git a/librz/bin/p/bin_zimg.c b/librz/bin/p/bin_zimg.c index 236bcf4453..b5ede880c0 100644 --- a/librz/bin/p/bin_zimg.c +++ b/librz/bin/p/bin_zimg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 ninjahacker // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/pdb/dbi.c b/librz/bin/pdb/dbi.c index 2d6389f4fe..e3f37f1bfb 100644 --- a/librz/bin/pdb/dbi.c +++ b/librz/bin/pdb/dbi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "types.h" #include "dbi.h" #include "stream_file.h" diff --git a/librz/bin/pdb/fpo.c b/librz/bin/pdb/fpo.c index 8cf37b93fd..9dc6f7092b 100644 --- a/librz/bin/pdb/fpo.c +++ b/librz/bin/pdb/fpo.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "types.h" #include "fpo.h" #include "stream_file.h" diff --git a/librz/bin/pdb/gdata.c b/librz/bin/pdb/gdata.c index aa72436ee4..7adf4a3eda 100644 --- a/librz/bin/pdb/gdata.c +++ b/librz/bin/pdb/gdata.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-3.0-only #include "types.h" #include "gdata.h" #include "stream_file.h" diff --git a/librz/bin/pdb/main.c b/librz/bin/pdb/main.c index 215995b4aa..ea9c29ff1b 100644 --- a/librz/bin/pdb/main.c +++ b/librz/bin/pdb/main.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/librz/bin/pdb/omap.c b/librz/bin/pdb/omap.c index 0e6624a977..c27c2c2b44 100644 --- a/librz/bin/pdb/omap.c +++ b/librz/bin/pdb/omap.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2016 iniside +// SPDX-FileCopyrightText: 2014-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "types.h" diff --git a/librz/bin/pdb/pdb.c b/librz/bin/pdb/pdb.c index 6de88c694f..8a7e9a6837 100644 --- a/librz/bin/pdb/pdb.c +++ b/librz/bin/pdb/pdb.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 inisider // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/pdb/pdb_downloader.c b/librz/bin/pdb/pdb_downloader.c index 092f22f611..a1aa90dc04 100644 --- a/librz/bin/pdb/pdb_downloader.c +++ b/librz/bin/pdb/pdb_downloader.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 inisider // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bin/pdb/stream_file.c b/librz/bin/pdb/stream_file.c index 21bd14bbef..a3704e1cf7 100644 --- a/librz/bin/pdb/stream_file.c +++ b/librz/bin/pdb/stream_file.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 inisider +// SPDX-License-Identifier: LGPL-3.0-only + #include "types.h" #include "stream_file.h" diff --git a/librz/bin/pdb/stream_pe.c b/librz/bin/pdb/stream_pe.c index 9c3b5bd8b3..2a3cb1c145 100644 --- a/librz/bin/pdb/stream_pe.c +++ b/librz/bin/pdb/stream_pe.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include "types.h" #include "stream_pe.h" #include "stream_file.h" diff --git a/librz/bin/pdb/tpi.c b/librz/bin/pdb/tpi.c index eb9aac3f7b..9bff3ad579 100644 --- a/librz/bin/pdb/tpi.c +++ b/librz/bin/pdb/tpi.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 inisider +// SPDX-License-Identifier: LGPL-3.0-only + #include "types.h" #include "tpi.h" #include "stream_file.h" diff --git a/librz/bp/bp.c b/librz/bp/bp.c index 6673e89f54..d9b3df6918 100644 --- a/librz/bp/bp.c +++ b/librz/bp/bp.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bp/bp_io.c b/librz/bp/bp_io.c index 56060a2525..fc25bf0222 100644 --- a/librz/bp/bp_io.c +++ b/librz/bp/bp_io.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/bp_plugin.c b/librz/bp/bp_plugin.c index 4f2fc83cf2..5d6027eb76 100644 --- a/librz/bp/bp_plugin.c +++ b/librz/bp/bp_plugin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/bp_traptrace.c b/librz/bp/bp_traptrace.c index 74c08c1b45..e210c0aa02 100644 --- a/librz/bp/bp_traptrace.c +++ b/librz/bp/bp_traptrace.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010 pancake // SPDX-License-Identifier: LGPL-3.0-only // TODO: use rz_range here?? diff --git a/librz/bp/bp_watch.c b/librz/bp/bp_watch.c index f5344738f5..bdf036f4ef 100644 --- a/librz/bp/bp_watch.c +++ b/librz/bp/bp_watch.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2017 pancake +// SPDX-FileCopyrightText: 2010-2017 rkx1209 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/p/bp_arm.c b/librz/bp/p/bp_arm.c index 1ca8b4af82..c4ec405ad7 100644 --- a/librz/bp/p/bp_arm.c +++ b/librz/bp/p/bp_arm.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/p/bp_bf.c b/librz/bp/p/bp_bf.c index 99c8b65dea..3b5dd0fc56 100644 --- a/librz/bp/p/bp_bf.c +++ b/librz/bp/p/bp_bf.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/p/bp_mips.c b/librz/bp/p/bp_mips.c index 21bcccf1ad..a128869d8e 100644 --- a/librz/bp/p/bp_mips.c +++ b/librz/bp/p/bp_mips.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2010-2015 - pancake */ +// SPDX-FileCopyrightText: 2010-2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/bp/p/bp_ppc.c b/librz/bp/p/bp_ppc.c index 11084b871a..d6dcadaa9d 100644 --- a/librz/bp/p/bp_ppc.c +++ b/librz/bp/p/bp_ppc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/p/bp_sh.c b/librz/bp/p/bp_sh.c index f29b38d423..2ec3cbdb45 100644 --- a/librz/bp/p/bp_sh.c +++ b/librz/bp/p/bp_sh.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/bp/p/bp_x86.c b/librz/bp/p/bp_x86.c index 87d53c79d2..19a2d0640b 100644 --- a/librz/bp/p/bp_x86.c +++ b/librz/bp/p/bp_x86.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/config/config.c b/librz/config/config.c index 2bc5be3013..f7df7fd908 100644 --- a/librz/config/config.c +++ b/librz/config/config.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2006-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_config.h" diff --git a/librz/config/hold.c b/librz/config/hold.c index a4c774d5fc..fbe0ae3e16 100644 --- a/librz/config/hold.c +++ b/librz/config/hold.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2006-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/canvas.c b/librz/cons/canvas.c index cfe3bc53cd..35818e69f6 100644 --- a/librz/cons/canvas.c +++ b/librz/cons/canvas.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/canvas_line.c b/librz/cons/canvas_line.c index 3b2544dced..a9b230d758 100644 --- a/librz/cons/canvas_line.c +++ b/librz/cons/canvas_line.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/cons.c b/librz/cons/cons.c index 65690e8a1f..585cc691f0 100644 --- a/librz/cons/cons.c +++ b/librz/cons/cons.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2008-2020 - pancake, Jody Frankowski */ +// SPDX-FileCopyrightText: 2008-2020 pancake +// SPDX-FileCopyrightText: 2008-2020 Jody Frankowski +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/cons/cpipe.c b/librz/cons/cpipe.c index 53f7dfa2b7..0ab65daa79 100644 --- a/librz/cons/cpipe.c +++ b/librz/cons/cpipe.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/cutf8.c b/librz/cons/cutf8.c index ae4fdf0899..b3266c47b5 100644 --- a/librz/cons/cutf8.c +++ b/librz/cons/cutf8.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only // Copypasta from http://www.linuxquestions.org/questions/programming-9/get-cursor-position-in-c-947833/ diff --git a/librz/cons/d/ayu b/librz/cons/d/ayu index 3ecf05453a..00aeacd155 100644 --- a/librz/cons/d/ayu +++ b/librz/cons/d/ayu @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 securisec +# SPDX-License-Identifier: LGPL-3.0-only + ec ai.exec rgb:6d6 ec ai.read rgb:66d ec ai.write rgb:d66 diff --git a/librz/cons/d/basic b/librz/cons/d/basic index eec3bff0aa..30f42f4e60 100644 --- a/librz/cons/d/basic +++ b/librz/cons/d/basic @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2015 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # optimized for windows ecd k one=cyan diff --git a/librz/cons/d/behelit b/librz/cons/d/behelit index 948d651542..2e8eb997ad 100644 --- a/librz/cons/d/behelit +++ b/librz/cons/d/behelit @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2016 oblique +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x7f rgb:ff5f5f ec b0xff rgb:ff005f ec b0x00 rgb:262626 diff --git a/librz/cons/d/bold b/librz/cons/d/bold index e57b8dfe7f..6759d0aef7 100644 --- a/librz/cons/d/bold +++ b/librz/cons/d/bold @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:ccc ec b0x7f rgb:ccc ec b0xff red diff --git a/librz/cons/d/bright b/librz/cons/d/bright index 9adc9e1bda..807fd5a1cc 100644 --- a/librz/cons/d/bright +++ b/librz/cons/d/bright @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2019 Khairul Azhar Kasmiran +# SPDX-License-Identifier: LGPL-3.0-only + # r2 default palette but with bright colors for all ec b0x00 rgb:00ff00 diff --git a/librz/cons/d/cga b/librz/cons/d/cga index 8b6decbefb..8fdb6101f1 100644 --- a/librz/cons/d/cga +++ b/librz/cons/d/cga @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2016 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec comment rgb:0ff ec usrcmt rgb:f0f ec mov white diff --git a/librz/cons/d/consonance b/librz/cons/d/consonance index 4b3d368264..6ab53275ae 100644 --- a/librz/cons/d/consonance +++ b/librz/cons/d/consonance @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # background of the terminal must be 134 o 033 # xterm -fn 10x20 -bg rgb:20/20/20 -fg rgb:d0/d0/d0 # ref: https://github.com/eugeneching/ida-consonance/blob/master/ida-consonance.clr diff --git a/librz/cons/d/cutter b/librz/cons/d/cutter index 81747bb1d6..3e84066a43 100644 --- a/librz/cons/d/cutter +++ b/librz/cons/d/cutter @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2017 xarkes +# SPDX-License-Identifier: LGPL-3.0-only + ec comment rgb:8e8c8b ec usrcmt rgb:8e8c8b ec args rgb:20b0c0 diff --git a/librz/cons/d/dark b/librz/cons/d/dark index 483d12d232..6646fb74d6 100644 --- a/librz/cons/d/dark +++ b/librz/cons/d/dark @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2013 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:444 ec help rgb:366 ec comment rgb:99a diff --git a/librz/cons/d/darkda b/librz/cons/d/darkda index cafa87097e..ddeefcb5bd 100644 --- a/librz/cons/d/darkda +++ b/librz/cons/d/darkda @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 securisec +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:7c7c61 ec b0x7f rgb:aaff00 ec b0xff rgb:aaff00 diff --git a/librz/cons/d/defragger b/librz/cons/d/defragger index febdb0a0cc..0480e9134b 100644 --- a/librz/cons/d/defragger +++ b/librz/cons/d/defragger @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 Rene Laemmert +# SPDX-License-Identifier: LGPL-3.0-only + ec call rgb:ffff00 ec ucall rgb:ffff00 ec comment rgb:32302f diff --git a/librz/cons/d/focus b/librz/cons/d/focus index 64f219eae4..c8d78a1918 100644 --- a/librz/cons/d/focus +++ b/librz/cons/d/focus @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 condret +# SPDX-License-Identifier: LGPL-3.0-only + ec fname rgb:0cf rgb:000 ec label rgb:0cf rgb:000 ec math rgb:ccc diff --git a/librz/cons/d/gb b/librz/cons/d/gb index db12bf0d09..b09bf01a8e 100644 --- a/librz/cons/d/gb +++ b/librz/cons/d/gb @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2019 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec comment rgb:86c06c ec usrcmt rgb:86c06c ec mov rgb:306850 diff --git a/librz/cons/d/gentoo b/librz/cons/d/gentoo index fe76c463b5..13e26cf802 100644 --- a/librz/cons/d/gentoo +++ b/librz/cons/d/gentoo @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2019 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec comment cyan ec usrcmt cyan ec args cyan diff --git a/librz/cons/d/lima b/librz/cons/d/lima index 4e8d9124c5..c1c462b6fe 100644 --- a/librz/cons/d/lima +++ b/librz/cons/d/lima @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2013 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec comment rgb:af2 ec usrcmt rgb:af2 rgb:140 ec mov rgb:090 diff --git a/librz/cons/d/matrix b/librz/cons/d/matrix index dbc3eb32fa..50bac820c9 100644 --- a/librz/cons/d/matrix +++ b/librz/cons/d/matrix @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2015 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:030 ec b0x7f rgb:0f0 ec b0xff rgb:050 diff --git a/librz/cons/d/monokai b/librz/cons/d/monokai index fc18c93a88..0460a8b7e0 100644 --- a/librz/cons/d/monokai +++ b/librz/cons/d/monokai @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 securisec +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:555 ec b0x7f rgb:fff ec b0xff rgb:eee diff --git a/librz/cons/d/ogray b/librz/cons/d/ogray index b316fd58d9..9c1347933c 100644 --- a/librz/cons/d/ogray +++ b/librz/cons/d/ogray @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:ccc ec b0x7f rgb:777 ec b0xff rgb:333 diff --git a/librz/cons/d/onedark b/librz/cons/d/onedark index d1351785ab..bd71dc1ab5 100644 --- a/librz/cons/d/onedark +++ b/librz/cons/d/onedark @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 d4em0n +# SPDX-License-Identifier: LGPL-3.0-only + #Inspired by onedark.vim # e scr.color = 3 // to enable 16m color ec func_var_type white diff --git a/librz/cons/d/pink b/librz/cons/d/pink index bb4da0bbc9..bc52da9cca 100644 --- a/librz/cons/d/pink +++ b/librz/cons/d/pink @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2013 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec comment rgb:72d ec help rgb:f5d ec fname rgb:f5d diff --git a/librz/cons/d/rasta b/librz/cons/d/rasta index a1632ddbc8..018bf80d90 100644 --- a/librz/cons/d/rasta +++ b/librz/cons/d/rasta @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec comment green ec usrcmt yellow ec fname yellow diff --git a/librz/cons/d/sepia b/librz/cons/d/sepia index 4c77ad355f..bb206c1c83 100644 --- a/librz/cons/d/sepia +++ b/librz/cons/d/sepia @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # requires e scr.color=3 ec b0x00 rgb:431 diff --git a/librz/cons/d/smyck b/librz/cons/d/smyck index 180edc5099..43d3aa774a 100644 --- a/librz/cons/d/smyck +++ b/librz/cons/d/smyck @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # ref: http://color.smyck.org/ ec b0x00 rgb:222 ec b0x7f rgb:fff diff --git a/librz/cons/d/solarized b/librz/cons/d/solarized index c03b0b5f3f..cd92f9b39b 100644 --- a/librz/cons/d/solarized +++ b/librz/cons/d/solarized @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec b0x00 rgb:033 ec b0x7f rgb:033 ec b0xff rgb:577 diff --git a/librz/cons/d/tango b/librz/cons/d/tango index 45e88bd2a0..7a9f2d3e0a 100644 --- a/librz/cons/d/tango +++ b/librz/cons/d/tango @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # background of the terminal must be 134 o 033 # xterm -fn 10x20 -bg rgb:20/20/20 -fg rgb:d0/d0/d0 # ref: https://github.com/eugeneching/ida-consonance/blob/master/ida-consonance.clr diff --git a/librz/cons/d/twilight b/librz/cons/d/twilight index 1567560e07..67d7473282 100644 --- a/librz/cons/d/twilight +++ b/librz/cons/d/twilight @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # background of the terminal must be 134 o 033 # xterm -fn 10x20 -bg rgb:14/14/14 -fg rgb:fe/ff/d3 # ref: https://github.com/eugeneching/ida-consonance/blob/master/ida-consonance.clr diff --git a/librz/cons/d/white b/librz/cons/d/white index 1952178278..20ec0bed56 100644 --- a/librz/cons/d/white +++ b/librz/cons/d/white @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2013 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec label rgb:c60 ec help blue ec math blue diff --git a/librz/cons/d/white2 b/librz/cons/d/white2 index 662cc4f2f2..66c16a8e01 100644 --- a/librz/cons/d/white2 +++ b/librz/cons/d/white2 @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 securisec +# SPDX-License-Identifier: LGPL-3.0-only + ec ai.exec rgb:6d6 ec ai.read rgb:66d ec ai.write rgb:d66 diff --git a/librz/cons/d/xvilka b/librz/cons/d/xvilka index 3c7e4c5824..2bfcafee08 100644 --- a/librz/cons/d/xvilka +++ b/librz/cons/d/xvilka @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2013 pancake +# SPDX-License-Identifier: LGPL-3.0-only + ec prompt yellow ec fname rgb:0cf ec label rgb:0f3 diff --git a/librz/cons/d/zenburn b/librz/cons/d/zenburn index f06a5858d9..f62cdebe24 100644 --- a/librz/cons/d/zenburn +++ b/librz/cons/d/zenburn @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2014 pancake +# SPDX-License-Identifier: LGPL-3.0-only + # background of the terminal must be 134 o 033 # xterm -fn 10x20 -bg rgb:20/20/20 -fg rgb:ff/ff/c7 # ref: https://github.com/eugeneching/ida-consonance/blob/master/ida-consonance.clr diff --git a/librz/cons/dietline.c b/librz/cons/dietline.c index d980e45f9e..121ea463d0 100644 --- a/librz/cons/dietline.c +++ b/librz/cons/dietline.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only /* dietline is a lightweight and portable library similar to GNU readline */ diff --git a/librz/cons/editor.c b/librz/cons/editor.c index 83cfadd721..17bf1e5526 100644 --- a/librz/cons/editor.c +++ b/librz/cons/editor.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/grep.c b/librz/cons/grep.c index 0952be7577..0889329579 100644 --- a/librz/cons/grep.c +++ b/librz/cons/grep.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/html.c b/librz/cons/html.c index cc6f476ae6..04521332b5 100644 --- a/librz/cons/html.c +++ b/librz/cons/html.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/hud.c b/librz/cons/hud.c index 26b783305a..68aab3167f 100644 --- a/librz/cons/hud.c +++ b/librz/cons/hud.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/input.c b/librz/cons/input.c index 61f4f8441e..1df2eebb4c 100644 --- a/librz/cons/input.c +++ b/librz/cons/input.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/less.c b/librz/cons/less.c index 9caff14337..ec2dff07ed 100644 --- a/librz/cons/less.c +++ b/librz/cons/less.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2014-2019 - pancake, Judge_Dredd */ +// SPDX-FileCopyrightText: 2014-2019 pancake +// SPDX-FileCopyrightText: 2014-2019 Judge_Dredd +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/cons/line.c b/librz/cons/line.c index 9922b7ca75..0142d4fa3d 100644 --- a/librz/cons/line.c +++ b/librz/cons/line.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/more.c b/librz/cons/more.c index 5397520b0c..e98550f58f 100644 --- a/librz/cons/more.c +++ b/librz/cons/more.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2008-2019 - pancake */ +// SPDX-FileCopyrightText: 2008-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/cons/output.c b/librz/cons/output.c index 539d32986c..d817bc7603 100644 --- a/librz/cons/output.c +++ b/librz/cons/output.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/pager.c b/librz/cons/pager.c index a8f2a681cc..c618139e0e 100644 --- a/librz/cons/pager.c +++ b/librz/cons/pager.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - pancake */ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/cons/pal.c b/librz/cons/pal.c index f7a28b4029..247210e168 100644 --- a/librz/cons/pal.c +++ b/librz/cons/pal.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-FileCopyrightText: 2013-2020 sghctoma +// SPDX-FileCopyrightText: 2013-2020 xarkes // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/cons/rgb.c b/librz/cons/rgb.c index 7b5a0fd67c..0e662b3280 100644 --- a/librz/cons/rgb.c +++ b/librz/cons/rgb.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-FileCopyrightText: 2013-2020 xarkes // SPDX-License-Identifier: LGPL-3.0-only /* ansi 256 color extension for rz_cons */ /* https://en.wikipedia.org/wiki/ANSI_color */ diff --git a/librz/core/agraph.c b/librz/core/agraph.c index 21fe78aed6..bef27bea2f 100644 --- a/librz/core/agraph.c +++ b/librz/core/agraph.c @@ -1,4 +1,6 @@ -/* Copyright rizin - 2014-2020 - pancake, ret2libc */ +// SPDX-FileCopyrightText: 2014-2020 pancake +// SPDX-FileCopyrightText: 2014-2020 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/core/analysis_tp.c b/librz/core/analysis_tp.c index 6e0b30160f..cdb8a49765 100644 --- a/librz/core/analysis_tp.c +++ b/librz/core/analysis_tp.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2016-2020 oddcoder +// SPDX-FileCopyrightText: 2016-2020 sivaramaaa // SPDX-License-Identifier: LGPL-3.0-only /* type matching - type propagation */ diff --git a/librz/core/canalysis.c b/librz/core/canalysis.c index 7de9c21d78..7727f15d4b 100644 --- a/librz/core/canalysis.c +++ b/librz/core/canalysis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cannotated_code.c b/librz/core/cannotated_code.c index 832374b7b7..86435dd616 100644 --- a/librz/core/cannotated_code.c +++ b/librz/core/cannotated_code.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 NIRMAL MANOJ C +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/core/carg.c b/librz/core/carg.c index b378ddfce3..edc3dba704 100644 --- a/librz/core/carg.c +++ b/librz/core/carg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/casm.c b/librz/core/casm.c index 95cf293207..510a95fa81 100644 --- a/librz/core/casm.c +++ b/librz/core/casm.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cbin.c b/librz/core/cbin.c index 6e80ad503f..bab7b83bb9 100644 --- a/librz/core/cbin.c +++ b/librz/core/cbin.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2011-2020 earada +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cconfig.c b/librz/core/cconfig.c index c6a1e8eb29..526cf805d2 100644 --- a/librz/core/cconfig.c +++ b/librz/core/cconfig.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cfile.c b/librz/core/cfile.c index 0ac0d61631..7dd4f4c053 100644 --- a/librz/core/cfile.c +++ b/librz/core/cfile.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cio.c b/librz/core/cio.c index 7751308e80..585529d960 100644 --- a/librz/core/cio.c +++ b/librz/core/cio.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2019 - pancake */ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" #include "core_private.h" diff --git a/librz/core/cmd.c b/librz/core/cmd.c index fcf634cca9..11f240b52e 100644 --- a/librz/core/cmd.c +++ b/librz/core/cmd.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2021 nibble +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #if 0 * Use RzList diff --git a/librz/core/cmd_analysis.c b/librz/core/cmd_analysis.c index ba3130ff60..800d3bb675 100644 --- a/librz/core/cmd_analysis.c +++ b/librz/core/cmd_analysis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake +// SPDX-FileCopyrightText: 2009-2021 maijin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_api.c b/librz/core/cmd_api.c index 84bbe0acd5..0155670f9b 100644 --- a/librz/core/cmd_api.c +++ b/librz/core/cmd_api.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_cmp.c b/librz/core/cmd_cmp.c index 35b35cbb1e..cd88668865 100644 --- a/librz/core/cmd_cmp.c +++ b/librz/core/cmd_cmp.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" diff --git a/librz/core/cmd_debug.c b/librz/core/cmd_debug.c index 694d13b625..2d2bb61044 100644 --- a/librz/core/cmd_debug.c +++ b/librz/core/cmd_debug.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_descs/cmd_analysis.yaml b/librz/core/cmd_descs/cmd_analysis.yaml index da370b1cec..f74507cbcc 100644 --- a/librz/core/cmd_descs/cmd_analysis.yaml +++ b/librz/core/cmd_descs/cmd_analysis.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_analysis commands: diff --git a/librz/core/cmd_descs/cmd_debug.yaml b/librz/core/cmd_descs/cmd_debug.yaml index eb6c03b3f2..c23f52f761 100644 --- a/librz/core/cmd_descs/cmd_debug.yaml +++ b/librz/core/cmd_descs/cmd_debug.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_debug commands: diff --git a/librz/core/cmd_descs/cmd_descs.c b/librz/core/cmd_descs/cmd_descs.c index 18673d4d72..f551ebb8f5 100644 --- a/librz/core/cmd_descs/cmd_descs.c +++ b/librz/core/cmd_descs/cmd_descs.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 RizinOrg // SPDX-License-Identifier: LGPL-3.0-only // // WARNING: This file was auto-generated by cmd_descs_generate.py script. Do not diff --git a/librz/core/cmd_descs/cmd_descs.yaml b/librz/core/cmd_descs/cmd_descs.yaml index b7b32f1a47..89169a362c 100644 --- a/librz/core/cmd_descs/cmd_descs.yaml +++ b/librz/core/cmd_descs/cmd_descs.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only +# +# # Format of RzCmdDesc/RzCmdDescHelp descriptor # name: name of the YAML file, might be useful to reference another sub-file # commands: diff --git a/librz/core/cmd_descs/cmd_descs_generate.py b/librz/core/cmd_descs/cmd_descs_generate.py index 2c5dd282ba..d92171bd85 100755 --- a/librz/core/cmd_descs/cmd_descs_generate.py +++ b/librz/core/cmd_descs/cmd_descs_generate.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# SPDX-FileCopyrightText: 2020-2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only import argparse import os @@ -6,7 +8,8 @@ import sys import yaml -CMDDESCS_C_TEMPLATE = """// SPDX-License-Identifier: LGPL-3.0-only +CMDDESCS_C_TEMPLATE = """// SPDX-FileCopyrightText: 2020 RizinOrg +// SPDX-License-Identifier: LGPL-3.0-only // // WARNING: This file was auto-generated by cmd_descs_generate.py script. Do not // modify it manually. Look at cmd_descs.yaml if you want to update commands. diff --git a/librz/core/cmd_descs/cmd_eval.yaml b/librz/core/cmd_descs/cmd_eval.yaml index 098c685028..18b3b19f1b 100644 --- a/librz/core/cmd_descs/cmd_eval.yaml +++ b/librz/core/cmd_descs/cmd_eval.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_eval commands: diff --git a/librz/core/cmd_descs/cmd_interpret.yaml b/librz/core/cmd_descs/cmd_interpret.yaml index a189a92a24..615608c3c4 100644 --- a/librz/core/cmd_descs/cmd_interpret.yaml +++ b/librz/core/cmd_descs/cmd_interpret.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_interpret commands: diff --git a/librz/core/cmd_descs/cmd_project.yaml b/librz/core/cmd_descs/cmd_project.yaml index 47006df005..673a7a57b3 100644 --- a/librz/core/cmd_descs/cmd_project.yaml +++ b/librz/core/cmd_descs/cmd_project.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_project commands: diff --git a/librz/core/cmd_descs/cmd_quit.yaml b/librz/core/cmd_descs/cmd_quit.yaml index 56288eac01..f6cba8ed4d 100644 --- a/librz/core/cmd_descs/cmd_quit.yaml +++ b/librz/core/cmd_descs/cmd_quit.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_quit commands: diff --git a/librz/core/cmd_descs/cmd_remote.yaml b/librz/core/cmd_descs/cmd_remote.yaml index 22442af2cb..91ddba6e40 100644 --- a/librz/core/cmd_descs/cmd_remote.yaml +++ b/librz/core/cmd_descs/cmd_remote.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_remote commands: diff --git a/librz/core/cmd_descs/cmd_seek.yaml b/librz/core/cmd_descs/cmd_seek.yaml index 84d843e2d1..15346de951 100644 --- a/librz/core/cmd_descs/cmd_seek.yaml +++ b/librz/core/cmd_descs/cmd_seek.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_seek commands: diff --git a/librz/core/cmd_descs/cmd_tasks.yaml b/librz/core/cmd_descs/cmd_tasks.yaml index d459dc627d..5a77e5cef2 100644 --- a/librz/core/cmd_descs/cmd_tasks.yaml +++ b/librz/core/cmd_descs/cmd_tasks.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_tasks commands: diff --git a/librz/core/cmd_descs/cmd_type.yaml b/librz/core/cmd_descs/cmd_type.yaml index 4d60c6cecd..f3cff3fdae 100644 --- a/librz/core/cmd_descs/cmd_type.yaml +++ b/librz/core/cmd_descs/cmd_type.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_type commands: diff --git a/librz/core/cmd_descs/cmd_write.yaml b/librz/core/cmd_descs/cmd_write.yaml index cfaf946726..5e090c5679 100644 --- a/librz/core/cmd_descs/cmd_write.yaml +++ b/librz/core/cmd_descs/cmd_write.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_write commands: diff --git a/librz/core/cmd_descs/cmd_zign.yaml b/librz/core/cmd_descs/cmd_zign.yaml index 392f36c65f..be64bd7307 100644 --- a/librz/core/cmd_descs/cmd_zign.yaml +++ b/librz/core/cmd_descs/cmd_zign.yaml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2021 RizinOrg +# SPDX-License-Identifier: LGPL-3.0-only --- name: cmd_zign commands: diff --git a/librz/core/cmd_egg.c b/librz/core/cmd_egg.c index 1b6fb347c8..14a02445a3 100644 --- a/librz/core/cmd_egg.c +++ b/librz/core/cmd_egg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_cons.h" diff --git a/librz/core/cmd_eval.c b/librz/core/cmd_eval.c index 1ae5f5d94e..bb765cf26c 100644 --- a/librz/core/cmd_eval.c +++ b/librz/core/cmd_eval.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/core/cmd_flag.c b/librz/core/cmd_flag.c index e22df05716..7ffe26087e 100644 --- a/librz/core/cmd_flag.c +++ b/librz/core/cmd_flag.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_hash.c b/librz/core/cmd_hash.c index 93db1f9197..12a216b95f 100644 --- a/librz/core/cmd_hash.c +++ b/librz/core/cmd_hash.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_help.c b/librz/core/cmd_help.c index 684dcfc03d..22a9d42bcc 100644 --- a/librz/core/cmd_help.c +++ b/librz/core/cmd_help.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_info.c b/librz/core/cmd_info.c index 87c5562d09..523f7c72af 100644 --- a/librz/core/cmd_info.c +++ b/librz/core/cmd_info.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_macro.c b/librz/core/cmd_macro.c index e70846eec4..aff7f5003d 100644 --- a/librz/core/cmd_macro.c +++ b/librz/core/cmd_macro.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2014 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_cmd.h" #include "rz_core.h" diff --git a/librz/core/cmd_magic.c b/librz/core/cmd_magic.c index 09e7b22ba7..36d2933ee0 100644 --- a/librz/core/cmd_magic.c +++ b/librz/core/cmd_magic.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_meta.c b/librz/core/cmd_meta.c index f81f002a8e..641caf91b6 100644 --- a/librz/core/cmd_meta.c +++ b/librz/core/cmd_meta.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include "rz_analysis.h" #include "rz_bin.h" diff --git a/librz/core/cmd_open.c b/librz/core/cmd_open.c index 44e0e069e5..77a554f63b 100644 --- a/librz/core/cmd_open.c +++ b/librz/core/cmd_open.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_print.c b/librz/core/cmd_print.c index 8d53a6c95d..9a358f08f2 100644 --- a/librz/core/cmd_print.c +++ b/librz/core/cmd_print.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_asm.h" diff --git a/librz/core/cmd_project.c b/librz/core/cmd_project.c index 209f448d5a..b3ab3f1619 100644 --- a/librz/core/cmd_project.c +++ b/librz/core/cmd_project.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_quit.c b/librz/core/cmd_quit.c index 2ee79b29b7..482506c984 100644 --- a/librz/core/cmd_quit.c +++ b/librz/core/cmd_quit.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" diff --git a/librz/core/cmd_search.c b/librz/core/cmd_search.c index 3361814f83..2a44957f2f 100644 --- a/librz/core/cmd_search.c +++ b/librz/core/cmd_search.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_search_rop.c b/librz/core/cmd_search_rop.c index edf19270cc..8a51b49d2f 100644 --- a/librz/core/cmd_search_rop.c +++ b/librz/core/cmd_search_rop.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2016 Alexandru Caciulescu // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_seek.c b/librz/core/cmd_seek.c index 756e556002..f51b05e221 100644 --- a/librz/core/cmd_seek.c +++ b/librz/core/cmd_seek.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" diff --git a/librz/core/cmd_type.c b/librz/core/cmd_type.c index 18f6d6c9d4..3f3bb0727d 100644 --- a/librz/core/cmd_type.c +++ b/librz/core/cmd_type.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 oddcoder +// SPDX-FileCopyrightText: 2009-2020 Anton Kochkov +// SPDX-FileCopyrightText: 2009-2020 Jody Frankowski // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/cmd_write.c b/librz/core/cmd_write.c index bea37212c4..7d604c3dfe 100644 --- a/librz/core/cmd_write.c +++ b/librz/core/cmd_write.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_crypto.h" diff --git a/librz/core/cmd_zign.c b/librz/core/cmd_zign.c index d29f1ea185..fa75b8bbac 100644 --- a/librz/core/cmd_zign.c +++ b/librz/core/cmd_zign.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/core.c b/librz/core/core.c index 78eb8afb96..3c3002b516 100644 --- a/librz/core/core.c +++ b/librz/core/core.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/core/core_private.h b/librz/core/core_private.h index bc5d9e98ae..fb1724acaa 100644 --- a/librz/core/core_private.h +++ b/librz/core/core_private.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef RZ_CORE_PRIVATE_INCLUDE_H_ #define RZ_CORE_PRIVATE_INCLUDE_H_ diff --git a/librz/core/cplugin.c b/librz/core/cplugin.c index 78cac62890..dbfe0ad99d 100644 --- a/librz/core/cplugin.c +++ b/librz/core/cplugin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/ctypes.c b/librz/core/ctypes.c index 6c2201e944..973d3a1ec7 100644 --- a/librz/core/ctypes.c +++ b/librz/core/ctypes.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 oddcoder +// SPDX-FileCopyrightText: 2009-2021 Anton Kochkov +// SPDX-FileCopyrightText: 2009-2020 Jody Frankowski // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/disasm.c b/librz/core/disasm.c index fcfd201b21..1711983b53 100644 --- a/librz/core/disasm.c +++ b/librz/core/disasm.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2021 nibble +// SPDX-FileCopyrightText: 2009-2021 pancake +// SPDX-FileCopyrightText: 2009-2021 dso // SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" diff --git a/librz/core/disasm_stackptr.inc b/librz/core/disasm_stackptr.inc index 9878d5d870..7c1e9d0049 100644 --- a/librz/core/disasm_stackptr.inc +++ b/librz/core/disasm_stackptr.inc @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #define USE_BB_STACKPTR 0 diff --git a/librz/core/fortune.c b/librz/core/fortune.c index 0c3a903e80..528bd8c9ec 100644 --- a/librz/core/fortune.c +++ b/librz/core/fortune.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2020 - pancake */ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/gdiff.c b/librz/core/gdiff.c index b7a560e38f..f5a65398d0 100644 --- a/librz/core/gdiff.c +++ b/librz/core/gdiff.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2010-2019 nibble +// SPDX-FileCopyrightText: 2010-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/hack.c b/librz/core/hack.c index 82534da3c7..c0d93b0a37 100644 --- a/librz/core/hack.c +++ b/librz/core/hack.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/libs.c b/librz/core/libs.c index 2f5ba459b3..be30b18c0e 100644 --- a/librz/core/libs.c +++ b/librz/core/libs.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" diff --git a/librz/core/linux_heap_glibc.c b/librz/core/linux_heap_glibc.c index 378fc04de4..2b3b7845cd 100644 --- a/librz/core/linux_heap_glibc.c +++ b/librz/core/linux_heap_glibc.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2016-2020 - n4x0r, soez, pancake */ +// SPDX-FileCopyrightText: 2016-2020 n4x0r +// SPDX-FileCopyrightText: 2016-2020 soez +// SPDX-FileCopyrightText: 2016-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #ifndef INCLUDE_HEAP_GLIBC_C #define INCLUDE_HEAP_GLIBC_C diff --git a/librz/core/linux_heap_jemalloc.c b/librz/core/linux_heap_jemalloc.c index e513983527..0f5993eec2 100644 --- a/librz/core/linux_heap_jemalloc.c +++ b/librz/core/linux_heap_jemalloc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 javierptd +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef INCLUDE_HEAP_JEMALLOC_STD_C #define INCLUDE_HEAP_JEMALLOC_STD_C #define HEAP32 1 diff --git a/librz/core/p/core_java.c b/librz/core/p/core_java.c index 7e7f914242..7902d39680 100644 --- a/librz/core/p/core_java.c +++ b/librz/core/p/core_java.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2020 dso +// SPDX-FileCopyrightText: 2014-2020 pancake // SPDX-License-Identifier: Apache-2.0 #include diff --git a/librz/core/panels.c b/librz/core/panels.c index 05cee18d6d..3c854119f1 100644 --- a/librz/core/panels.c +++ b/librz/core/panels.c @@ -1,4 +1,6 @@ -/* Copyright rizin 2014-2020 - Author: pancake, vane11ope */ +// SPDX-FileCopyrightText: 2014-2020 pancake +// SPDX-FileCopyrightText: 2014-2020 vane11ope +// SPDX-License-Identifier: LGPL-3.0-only #include #include "cmd_descs/cmd_descs.h" diff --git a/librz/core/project.c b/librz/core/project.c index da950928d9..735881faa2 100644 --- a/librz/core/project.c +++ b/librz/core/project.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2020 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2010-2020 pancake +// SPDX-FileCopyrightText: 2010-2020 maijin +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/rtr.c b/librz/core/rtr.c index d16752ad12..2c8faefbc7 100644 --- a/librz/core/rtr.c +++ b/librz/core/rtr.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nibble // SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" diff --git a/librz/core/rtr_http.c b/librz/core/rtr_http.c index 57b6fc9ea8..9e29fb4ed2 100644 --- a/librz/core/rtr_http.c +++ b/librz/core/rtr_http.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2021 pancake +// SPDX-License-Identifier: LGPL-3.0-only // included from rtr.c // return 1 on error diff --git a/librz/core/rtr_shell.c b/librz/core/rtr_shell.c index 1da3b23aa6..0a264e5d86 100644 --- a/librz/core/rtr_shell.c +++ b/librz/core/rtr_shell.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only + static bool rtr_visual(RzCore *core, TextLog T, const char *cmd) { bool autorefresh = false; if (cmd) { diff --git a/librz/core/rz-shell-parser-cmds.inc b/librz/core/rz-shell-parser-cmds.inc index 6676912f85..099bf12a49 100644 --- a/librz/core/rz-shell-parser-cmds.inc +++ b/librz/core/rz-shell-parser-cmds.inc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only +// // mark with HANDLER_RULE_OP every rule that is a _command // mark with RULE_OP every rule that you use with DEFINE_IS_TS_FCN or with its TSSymbol (e.g. ts_##name##_symbol) HANDLER_RULE_OP(number_command) diff --git a/librz/core/task.c b/librz/core/task.c index ba005bf3ba..4e53a992d9 100644 --- a/librz/core/task.c +++ b/librz/core/task.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2019 pancake +// SPDX-FileCopyrightText: 2014-2019 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/vasm.c b/librz/core/vasm.c index 4945ce21e0..9cf3b4264b 100644 --- a/librz/core/vasm.c +++ b/librz/core/vasm.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/visual.c b/librz/core/visual.c index 2ff4afd952..bfd4f9cca1 100644 --- a/librz/core/visual.c +++ b/librz/core/visual.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/visual_tabs.inc b/librz/core/visual_tabs.inc index a4f29f767b..51d4fb0d69 100644 --- a/librz/core/visual_tabs.inc +++ b/librz/core/visual_tabs.inc @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only static void rz_core_visual_tab_free(RzCoreVisualTab *tab) { free(tab); diff --git a/librz/core/vmarks.c b/librz/core/vmarks.c index 158dbccca1..0c9ddc446d 100644 --- a/librz/core/vmarks.c +++ b/librz/core/vmarks.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/vmenus.c b/librz/core/vmenus.c index e4e8125d85..a42bd87e83 100644 --- a/librz/core/vmenus.c +++ b/librz/core/vmenus.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/vmenus_graph.c b/librz/core/vmenus_graph.c index 955929d6a2..f512fed142 100644 --- a/librz/core/vmenus_graph.c +++ b/librz/core/vmenus_graph.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/vmenus_zigns.c b/librz/core/vmenus_zigns.c index a65cd06d93..126f747def 100644 --- a/librz/core/vmenus_zigns.c +++ b/librz/core/vmenus_zigns.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/windows_heap.c b/librz/core/windows_heap.c index 60bcdd3d56..a509900a20 100644 --- a/librz/core/windows_heap.c +++ b/librz/core/windows_heap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/core/yank.c b/librz/core/yank.c index 75c62020b9..658ee1348a 100644 --- a/librz/core/yank.c +++ b/librz/core/yank.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 dso // SPDX-License-Identifier: LGPL-3.0-only #include "rz_core.h" diff --git a/librz/core/zdiff.c b/librz/core/zdiff.c index e1d63414bf..7ca93fddae 100644 --- a/librz/core/zdiff.c +++ b/librz/core/zdiff.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019 nibble +// SPDX-FileCopyrightText: 2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/crypto.c b/librz/crypto/crypto.c index 89e4e97570..1f01da9cb9 100644 --- a/librz/crypto/crypto.c +++ b/librz/crypto/crypto.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_crypto.h" diff --git a/librz/crypto/p/crypto_aes.c b/librz/crypto/p/crypto_aes.c index c8f89b9d40..d585e34ccd 100644 --- a/librz/crypto/p/crypto_aes.c +++ b/librz/crypto/p/crypto_aes.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_aes_cbc.c b/librz/crypto/p/crypto_aes_cbc.c index b722e2690e..6a8dadd60b 100644 --- a/librz/crypto/p/crypto_aes_cbc.c +++ b/librz/crypto/p/crypto_aes_cbc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2017 rakholiyajenish.07 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_base64.c b/librz/crypto/p/crypto_base64.c index 3f7e233805..d98762f331 100644 --- a/librz/crypto/p/crypto_base64.c +++ b/librz/crypto/p/crypto_base64.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2017 rakholiyajenish.07 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_base91.c b/librz/crypto/p/crypto_base91.c index 7e53a1c5d1..b1ec2c3501 100644 --- a/librz/crypto/p/crypto_base91.c +++ b/librz/crypto/p/crypto_base91.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2017 rakholiyajenish.07 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_cps2.c b/librz/crypto/p/crypto_cps2.c index 3e8b231e7c..25edb11a5b 100644 --- a/librz/crypto/p/crypto_cps2.c +++ b/librz/crypto/p/crypto_cps2.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 pancake +// SPDX-FileCopyrightText: 2016 esanfelix +// SPDX-FileCopyrightText: 2016 pof // SPDX-License-Identifier: LGPL-3.0-only /* XXX this must be specified by the user/rom? */ diff --git a/librz/crypto/p/crypto_des.c b/librz/crypto/p/crypto_des.c index 40ce046885..6a318d03e6 100644 --- a/librz/crypto/p/crypto_des.c +++ b/librz/crypto/p/crypto_des.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 deroad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_punycode.c b/librz/crypto/p/crypto_punycode.c index ddb456538d..aa1731d1d7 100644 --- a/librz/crypto/p/crypto_punycode.c +++ b/librz/crypto/p/crypto_punycode.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_rc4.c b/librz/crypto/p/crypto_rc4.c index 56e4b0459d..fa4649c56a 100644 --- a/librz/crypto/p/crypto_rc4.c +++ b/librz/crypto/p/crypto_rc4.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_rc6.c b/librz/crypto/p/crypto_rc6.c index 5d516fe216..0c63352841 100644 --- a/librz/crypto/p/crypto_rc6.c +++ b/librz/crypto/p/crypto_rc6.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 pancake // SPDX-License-Identifier: LGPL-3.0-only //Implemented AES version of RC6. keylen = 16, 23, or 32 bytes; w = 32; and r = 20. diff --git a/librz/crypto/p/crypto_rol.c b/librz/crypto/p/crypto_rol.c index a7ee5f7bae..6c54bbfb9a 100644 --- a/librz/crypto/p/crypto_rol.c +++ b/librz/crypto/p/crypto_rol.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_rot.c b/librz/crypto/p/crypto_rot.c index 6202c45de7..da1d0f4c41 100644 --- a/librz/crypto/p/crypto_rot.c +++ b/librz/crypto/p/crypto_rot.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/crypto/p/crypto_xor.c b/librz/crypto/p/crypto_xor.c index 2e3be3a9cd..57d30d498d 100644 --- a/librz/crypto/p/crypto_xor.c +++ b/librz/crypto/p/crypto_xor.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/arg.c b/librz/debug/arg.c index 3c605ab7b7..b8cfa723e1 100644 --- a/librz/debug/arg.c +++ b/librz/debug/arg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/ddesc.c b/librz/debug/ddesc.c index 9b0ad07da4..f534b42751 100644 --- a/librz/debug/ddesc.c +++ b/librz/debug/ddesc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2013 pancake // SPDX-License-Identifier: LGPL-3.0-only // XXX: All this stuff must be linked to the code injection api diff --git a/librz/debug/debug.c b/librz/debug/debug.c index a513d18b1a..763c591442 100644 --- a/librz/debug/debug.c +++ b/librz/debug/debug.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake +// SPDX-FileCopyrightText: 2009-2018 jduck +// SPDX-FileCopyrightText: 2009-2018 TheLemonMan +// SPDX-FileCopyrightText: 2009-2018 saucec0de // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/desil.c b/librz/debug/desil.c index ab446fb9bb..09e21b8993 100644 --- a/librz/debug/desil.c +++ b/librz/debug/desil.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/dmap.c b/librz/debug/dmap.c index 5a3ed1a805..f94f7c84cb 100644 --- a/librz/debug/dmap.c +++ b/librz/debug/dmap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/dreg.c b/librz/debug/dreg.c index 0351d72fca..6ee1ca9bdc 100644 --- a/librz/debug/dreg.c +++ b/librz/debug/dreg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include // just to get the RzPrint instance diff --git a/librz/debug/dsession.c b/librz/debug/dsession.c index 30e1432a49..8ba26a14ed 100644 --- a/librz/debug/dsession.c +++ b/librz/debug/dsession.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 rkx1209 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/dsignal.c b/librz/debug/dsignal.c index 30a91d7c1d..9b215c2318 100644 --- a/librz/debug/dsignal.c +++ b/librz/debug/dsignal.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/bfvm.c b/librz/debug/p/bfvm.c index 80aeaa5abd..1b9bf0e3b3 100644 --- a/librz/debug/p/bfvm.c +++ b/librz/debug/p/bfvm.c @@ -1,7 +1,5 @@ -/* - * Copyright (C) 2008-2011 -- pancake <@nopcode.org> - * NOTE: This file has been ported from r1 and relicensed to LGPL - */ +// SPDX-FileCopyrightText: 2008-2011 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include "bfvm.h" diff --git a/librz/debug/p/debug_bf.c b/librz/debug/p/debug_bf.c index 9df16394f0..44a8ee3f27 100644 --- a/librz/debug/p/debug_bf.c +++ b/librz/debug/p/debug_bf.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_bochs.c b/librz/debug/p/debug_bochs.c index c42e39390b..72253803fe 100644 --- a/librz/debug/p/debug_bochs.c +++ b/librz/debug/p/debug_bochs.c @@ -1,4 +1,5 @@ -/* debugbochs - LGPL - Copyright 2016 - SkUaTeR */ +// SPDX-FileCopyrightText: 2016 SkUaTeR +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/debug/p/debug_esil.c b/librz/debug/p/debug_esil.c index 1af307af60..54da160a32 100644 --- a/librz/debug/p/debug_esil.c +++ b/librz/debug/p/debug_esil.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only // r2 -Desil ls diff --git a/librz/debug/p/debug_gdb.c b/librz/debug/p/debug_gdb.c index 91561e0a22..ed34a20215 100644 --- a/librz/debug/p/debug_gdb.c +++ b/librz/debug/p/debug_gdb.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake +// SPDX-FileCopyrightText: 2009-2018 defragger // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_io.c b/librz/debug/p/debug_io.c index 611adeef87..ff47500989 100644 --- a/librz/debug/p/debug_io.c +++ b/librz/debug/p/debug_io.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_native.c b/librz/debug/p/debug_native.c index caedfd832d..55e6adf74e 100644 --- a/librz/debug/p/debug_native.c +++ b/librz/debug/p/debug_native.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_null.c b/librz/debug/p/debug_null.c index 4e4099be50..8327fe3285 100644 --- a/librz/debug/p/debug_null.c +++ b/librz/debug/p/debug_null.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_qnx.c b/librz/debug/p/debug_qnx.c index 81b8d2c472..a2d5fedc57 100644 --- a/librz/debug/p/debug_qnx.c +++ b/librz/debug/p/debug_qnx.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2016 pancake +// SPDX-FileCopyrightText: 2009-2016 defragger +// SPDX-FileCopyrightText: 2009-2016 madprogrammer // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_rap.c b/librz/debug/p/debug_rap.c index abcfa7477a..22ad43aa2a 100644 --- a/librz/debug/p/debug_rap.c +++ b/librz/debug/p/debug_rap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_windbg.c b/librz/debug/p/debug_windbg.c index 7d73f8489a..03912fd2a5 100644 --- a/librz/debug/p/debug_windbg.c +++ b/librz/debug/p/debug_windbg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/debug_winkd.c b/librz/debug/p/debug_winkd.c index 950d39fdf0..274926279e 100644 --- a/librz/debug/p/debug_winkd.c +++ b/librz/debug/p/debug_winkd.c @@ -1,17 +1,5 @@ -// Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 - -// 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 3.0 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. +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/debug/p/native/arm.c b/librz/debug/p/native/arm.c index dea3aad9f6..f13c1e5e60 100644 --- a/librz/debug/p/native/arm.c +++ b/librz/debug/p/native/arm.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2010 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* handling exceptions diff --git a/librz/debug/p/native/bsd/bsd_debug.c b/librz/debug/p/native/bsd/bsd_debug.c index 0045803ca5..5c2e4d2eea 100644 --- a/librz/debug/p/native/bsd/bsd_debug.c +++ b/librz/debug/p/native/bsd/bsd_debug.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/native/bsd/bsd_debug.h b/librz/debug/p/native/bsd/bsd_debug.h index 9b2152771b..46191743b0 100644 --- a/librz/debug/p/native/bsd/bsd_debug.h +++ b/librz/debug/p/native/bsd/bsd_debug.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef _BSD_DEBUG_H diff --git a/librz/debug/p/native/bt.c b/librz/debug/p/native/bt.c index fe6e7ab662..555857675b 100644 --- a/librz/debug/p/native/bt.c +++ b/librz/debug/p/native/bt.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/native/bt/fuzzy-all.c b/librz/debug/p/native/bt/fuzzy-all.c index 02714d813c..e32fd512c7 100644 --- a/librz/debug/p/native/bt/fuzzy-all.c +++ b/librz/debug/p/native/bt/fuzzy-all.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* implementation */ static int iscallret(RzDebug *dbg, ut64 addr) { diff --git a/librz/debug/p/native/bt/generic-x64.c b/librz/debug/p/native/bt/generic-x64.c index 56f5dc414a..d72f6a72a3 100644 --- a/librz/debug/p/native/bt/generic-x64.c +++ b/librz/debug/p/native/bt/generic-x64.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only static RzList *backtrace_x86_64(RzDebug *dbg, ut64 at) { int i; diff --git a/librz/debug/p/native/bt/generic-x86.c b/librz/debug/p/native/bt/generic-x86.c index 61414529fa..22b2137976 100644 --- a/librz/debug/p/native/bt/generic-x86.c +++ b/librz/debug/p/native/bt/generic-x86.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* definition */ //static RzList *backtrace_frames_x86_32(RzDebug *dbg, ut64 at); diff --git a/librz/debug/p/native/darwin.c b/librz/debug/p/native/darwin.c index 088ecae7a2..23376de38d 100644 --- a/librz/debug/p/native/darwin.c +++ b/librz/debug/p/native/darwin.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2010 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include int pids_cmdline(int pid, char *cmdline) { diff --git a/librz/debug/p/native/drx.c b/librz/debug/p/native/drx.c index 2b755c49d5..56e31a1472 100644 --- a/librz/debug/p/native/drx.c +++ b/librz/debug/p/native/drx.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include /* -------------------- drx.h ------------------- */ diff --git a/librz/debug/p/native/linux/linux_coredump.c b/librz/debug/p/native/linux/linux_coredump.c index a38d4f8763..fd5018a62a 100644 --- a/librz/debug/p/native/linux/linux_coredump.c +++ b/librz/debug/p/native/linux/linux_coredump.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 Oscar Salvador // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/native/linux/linux_debug.c b/librz/debug/p/native/linux/linux_debug.c index 608ad617cf..7fdb3402e6 100644 --- a/librz/debug/p/native/linux/linux_debug.c +++ b/librz/debug/p/native/linux/linux_debug.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/native/maps/darwin.c b/librz/debug/p/native/maps/darwin.c index 57c0e3a627..cc86269479 100644 --- a/librz/debug/p/native/maps/darwin.c +++ b/librz/debug/p/native/maps/darwin.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #if __APPLE__ kern_return_t mach_vm_region_recurse( diff --git a/librz/debug/p/native/maps/windows_maps.c b/librz/debug/p/native/maps/windows_maps.c index 364c5d1b77..acff33086b 100644 --- a/librz/debug/p/native/maps/windows_maps.c +++ b/librz/debug/p/native/maps/windows_maps.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 GustavoLCR +// SPDX-License-Identifier: LGPL-3.0-only + #include "windows_maps.h" #include "../windows/windows_debug.h" diff --git a/librz/debug/p/native/procfs.c b/librz/debug/p/native/procfs.c index c3eb2c06fa..8dd5e1e916 100644 --- a/librz/debug/p/native/procfs.c +++ b/librz/debug/p/native/procfs.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/native/procfs.h b/librz/debug/p/native/procfs.h index 1de16828c6..935145a058 100644 --- a/librz/debug/p/native/procfs.h +++ b/librz/debug/p/native/procfs.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef PROCFS_H diff --git a/librz/debug/p/native/reg.c b/librz/debug/p/native/reg.c index fa84156ff8..fb32374967 100644 --- a/librz/debug/p/native/reg.c +++ b/librz/debug/p/native/reg.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 pancake +// SPDX-License-Identifier: LGPL-3.0-only + // included from p/debug_native.c // split for better reading/cleaning up diff --git a/librz/debug/p/native/windows/windows_debug.c b/librz/debug/p/native/windows/windows_debug.c index ff1b220504..5231250f1d 100644 --- a/librz/debug/p/native/windows/windows_debug.c +++ b/librz/debug/p/native/windows/windows_debug.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 MapleLeaf-X // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/p/native/windows/windows_message.c b/librz/debug/p/native/windows/windows_message.c index c120714424..548a130ae0 100644 --- a/librz/debug/p/native/windows/windows_message.c +++ b/librz/debug/p/native/windows/windows_message.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - GustavoLCR */ +// SPDX-FileCopyrightText: 2019 GustavoLCR +// SPDX-License-Identifier: LGPL-3.0-only #include #include "windows_message.h" diff --git a/librz/debug/p/native/xnu/trap_arm.c b/librz/debug/p/native/xnu/trap_arm.c index 138783b4cc..26e8014fba 100644 --- a/librz/debug/p/native/xnu/trap_arm.c +++ b/librz/debug/p/native/xnu/trap_arm.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #if __arm || __arm64 || __arch64 static int isThumb32(ut16 op) { diff --git a/librz/debug/p/native/xnu/trap_x86.c b/librz/debug/p/native/xnu/trap_x86.c index dd4da51332..f3cabef917 100644 --- a/librz/debug/p/native/xnu/trap_x86.c +++ b/librz/debug/p/native/xnu/trap_x86.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #if __i386__ || __x86_64__ static bool xnu_thread_get_gpr(RzDebug *dbg, xnu_thread_t *thread); static xnu_thread_t *get_xnu_thread(RzDebug *dbg, int tid); diff --git a/librz/debug/p/native/xnu/xnu_debug.c b/librz/debug/p/native/xnu/xnu_debug.c index 18cabe48bd..55e1b1d668 100644 --- a/librz/debug/p/native/xnu/xnu_debug.c +++ b/librz/debug/p/native/xnu/xnu_debug.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2015-2019 - pancake, alvaro_fe */ +// SPDX-FileCopyrightText: 2015-2019 pancake +// SPDX-FileCopyrightText: 2015-2019 alvaro_fe +// SPDX-License-Identifier: LGPL-3.0-only #include #if DEBUGGER diff --git a/librz/debug/p/native/xnu/xnu_excthreads.c b/librz/debug/p/native/xnu/xnu_excthreads.c index f2e539b842..198974e0c1 100644 --- a/librz/debug/p/native/xnu/xnu_excthreads.c +++ b/librz/debug/p/native/xnu/xnu_excthreads.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 alvarofe +// SPDX-License-Identifier: LGPL-3.0-only + //FIXME deallocate all the port when they are not longer needed #include "xnu_threads.h" diff --git a/librz/debug/p/native/xnu/xnu_threads.c b/librz/debug/p/native/xnu/xnu_threads.c index 191dc1c65f..745895d8da 100644 --- a/librz/debug/p/native/xnu/xnu_threads.c +++ b/librz/debug/p/native/xnu/xnu_threads.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/pid.c b/librz/debug/pid.c index 4a825ea73c..7806f55531 100644 --- a/librz/debug/pid.c +++ b/librz/debug/pid.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/plugin.c b/librz/debug/plugin.c index b997e1add9..18ede0f3c1 100644 --- a/librz/debug/plugin.c +++ b/librz/debug/plugin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/snap.c b/librz/debug/snap.c index 79715aa106..96d8ddbc18 100644 --- a/librz/debug/snap.c +++ b/librz/debug/snap.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015-2020 pancake +// SPDX-FileCopyrightText: 2015-2020 rkx1209 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/debug/trace.c b/librz/debug/trace.c index a025f20954..35c76b5cd7 100644 --- a/librz/debug/trace.c +++ b/librz/debug/trace.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/egg.c b/librz/egg/egg.c index 8e4c2ed640..f0265232cf 100644 --- a/librz/egg/egg.c +++ b/librz/egg/egg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/egg_Cfile.c b/librz/egg/egg_Cfile.c index 261b05552f..e30fe43001 100644 --- a/librz/egg/egg_Cfile.c +++ b/librz/egg/egg_Cfile.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/egg_lang.c b/librz/egg/egg_lang.c index 392aac1e0e..f94724af2e 100644 --- a/librz/egg/egg_lang.c +++ b/librz/egg/egg_lang.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/emit_arm.c b/librz/egg/emit_arm.c index 188c1b7c10..9bdc9ce32b 100644 --- a/librz/egg/emit_arm.c +++ b/librz/egg/emit_arm.c @@ -1,4 +1,5 @@ -/* pancake // nopcode.org 2010-2011 -- arm emiter */ +// SPDX-FileCopyrightText: 2010-2011 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #define attsyntax 0 diff --git a/librz/egg/emit_trace.c b/librz/egg/emit_trace.c index 495bd76d22..30121d4348 100644 --- a/librz/egg/emit_trace.c +++ b/librz/egg/emit_trace.c @@ -1,4 +1,5 @@ -/* pancake // nopcode.org 2011 -- trace emiter */ +// SPDX-FileCopyrightText: 2011 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #define attsyntax 0 diff --git a/librz/egg/emit_x64.c b/librz/egg/emit_x64.c index 818b6c841d..f52147a4c6 100644 --- a/librz/egg/emit_x64.c +++ b/librz/egg/emit_x64.c @@ -1,4 +1,5 @@ -/* pancake // nopcode.org 2010-2011 -- emit module for rizin/rz_egg */ +// SPDX-FileCopyrightText: 2010-2011 pancake +// SPDX-License-Identifier: LGPL-3.0-only #define ARCH_X86_64 1 #include "emit_x86.c" diff --git a/librz/egg/emit_x86.c b/librz/egg/emit_x86.c index b320a4e371..07f3949aeb 100644 --- a/librz/egg/emit_x86.c +++ b/librz/egg/emit_x86.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2010-2013 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* pancake // nopcode.org 2010-2013 -- emit module for rcc */ #include diff --git a/librz/egg/p/egg_bind.c b/librz/egg/p/egg_bind.c index 745aeab0dc..6185dae6d8 100644 --- a/librz/egg/p/egg_bind.c +++ b/librz/egg/p/egg_bind.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/p/egg_cb.c b/librz/egg/p/egg_cb.c index 21b26ab61c..b8a02cdb23 100644 --- a/librz/egg/p/egg_cb.c +++ b/librz/egg/p/egg_cb.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2011 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* connect back shellcodes */ // mips static char sc[] = diff --git a/librz/egg/p/egg_exec.c b/librz/egg/p/egg_exec.c index cec2d9b0e1..c326183d54 100644 --- a/librz/egg/p/egg_exec.c +++ b/librz/egg/p/egg_exec.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/p/egg_reverse.c b/librz/egg/p/egg_reverse.c index a98c20cb75..0ef53e773b 100644 --- a/librz/egg/p/egg_reverse.c +++ b/librz/egg/p/egg_reverse.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/egg/p/egg_shya.c b/librz/egg/p/egg_shya.c index 46b55a11bd..f29ba04035 100644 --- a/librz/egg/p/egg_shya.c +++ b/librz/egg/p/egg_shya.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011 pancake // SPDX-License-Identifier: LGPL-3.0-only /* shoorisu yagana shellcode encoder */ /* wishlist: diff --git a/librz/egg/p/egg_xor.c b/librz/egg/p/egg_xor.c index 781df5ae27..68d1cc2caf 100644 --- a/librz/egg/p/egg_xor.c +++ b/librz/egg/p/egg_xor.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only /* based on @santitox patch */ diff --git a/librz/egg/rlcc/rlcc.c b/librz/egg/rlcc/rlcc.c index a2f10d790a..946f36a5fd 100644 --- a/librz/egg/rlcc/rlcc.c +++ b/librz/egg/rlcc/rlcc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* Radare Language Code Compiler */ #include diff --git a/librz/flag/flag.c b/librz/flag/flag.c index 9fd709908f..c6a825ae00 100644 --- a/librz/flag/flag.c +++ b/librz/flag/flag.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake +// SPDX-FileCopyrightText: 2007-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/flag/tags.c b/librz/flag/tags.c index 1286648fa4..35b43d09da 100644 --- a/librz/flag/tags.c +++ b/librz/flag/tags.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/flag/zones.c b/librz/flag/zones.c index d6184674ad..555e2b226f 100644 --- a/librz/flag/zones.c +++ b/librz/flag/zones.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/hash/adler32.c b/librz/hash/adler32.c index 024121ed09..7d929e6d07 100644 --- a/librz/hash/adler32.c +++ b/librz/hash/adler32.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/hash/crca.c b/librz/hash/crca.c index 394ca2aa0c..7da982583f 100644 --- a/librz/hash/crca.c +++ b/librz/hash/crca.c @@ -1,5 +1,6 @@ -//author: Victor Mu~noz (vmunoz@ingenieria-inversa.cl -//license: the very same than rizin, blah, blah +// SPDX-FileCopyrightText: 2009 Victor Mu~noz +// SPDX-License-Identifier: LGPL-3.0-only + //some definitions and test cases borrowed from http://www.nightmare.com/~ryb/code/CrcMoose.py (Ray Burr) #include diff --git a/librz/hash/entropy.c b/librz/hash/entropy.c index a0ceba01fa..c5d184101a 100644 --- a/librz/hash/entropy.c +++ b/librz/hash/entropy.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* * This code was done * by an anonymous gnome diff --git a/librz/hash/fletcher.c b/librz/hash/fletcher.c index 35bdcd1d54..ea82832677 100644 --- a/librz/hash/fletcher.c +++ b/librz/hash/fletcher.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 pancake */ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/hash/hamdist.c b/librz/hash/hamdist.c index fe42e1db2d..3c1447b01b 100644 --- a/librz/hash/hamdist.c +++ b/librz/hash/hamdist.c @@ -1,4 +1,5 @@ -/* License: MIT Copyright (C) 2007-2018 - pancake@nopcode.org */ +// SPDX-FileCopyrightText: 2007-2018 pancake +// SPDX-License-Identifier: MIT #if 0 diff --git a/librz/hash/hash.c b/librz/hash/hash.c index 6eca27d8ff..31c1202952 100644 --- a/librz/hash/hash.c +++ b/librz/hash/hash.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2007-2019 pancake */ +// SPDX-FileCopyrightText: 2007-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include "rz_util.h" diff --git a/librz/hash/hcalc.c b/librz/hash/hcalc.c index 7e7933dde0..0c0cf1dea4 100644 --- a/librz/hash/hcalc.c +++ b/librz/hash/hcalc.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2009-2019 pancake */ +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/hash/luhn.c b/librz/hash/luhn.c index 6e24e21187..0bf47e5458 100644 --- a/librz/hash/luhn.c +++ b/librz/hash/luhn.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - 2016-2018 - Copyright (C) moritz */ +// SPDX-FileCopyrightText: 2016-2018 moritz +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/hash/md4.c b/librz/hash/md4.c index bb36b50f9d..68e00acbbc 100644 --- a/librz/hash/md4.c +++ b/librz/hash/md4.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 1997-1998 Andrew Tridgell +// SPDX-FileCopyrightText: 2002-2003 Steve French +// SPDX-License-Identifier: GPL-2.0-or-later + /* Unix SMB/Netbios implementation. Version 1.9. diff --git a/librz/hash/md5.c b/librz/hash/md5.c index 61b67a1530..bf64583aa4 100644 --- a/librz/hash/md5.c +++ b/librz/hash/md5.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1991-1992 RSA Data Security, Inc. +// SPDX-License-Identifier: RSA-MD + /* MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm * * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. diff --git a/librz/hash/sha1.c b/librz/hash/sha1.c index e9da1df254..01fc9c8724 100644 --- a/librz/hash/sha1.c +++ b/librz/hash/sha1.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1995-1999 by Cryptography Research, Inc. +// SPDX-License-Identifier: MPL-1.1 + /* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file diff --git a/librz/hash/sha1.h b/librz/hash/sha1.h index c566eb399a..88af1c53f1 100644 --- a/librz/hash/sha1.h +++ b/librz/hash/sha1.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1995-1999 by Cryptography Research, Inc. +// SPDX-License-Identifier: MPL-1.1 + /* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file diff --git a/librz/hash/sha2.c b/librz/hash/sha2.c index 23aa78f82e..ac6e18ef56 100644 --- a/librz/hash/sha2.c +++ b/librz/hash/sha2.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2000-2001, Aaron D. Gifford +// SPDX-License-Identifier: BSD-3-Clause + /* * FILE: sha2.c * AUTHOR: Aaron D. Gifford diff --git a/librz/hash/sha2.h b/librz/hash/sha2.h index 7d9dee11d2..bfa7f166ec 100644 --- a/librz/hash/sha2.h +++ b/librz/hash/sha2.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2000-2001, Aaron D. Gifford +// SPDX-License-Identifier: BSD-3-Clause + /* * FILE: sha2.h * AUTHOR: Aaron D. Gifford diff --git a/librz/hash/state.c b/librz/hash/state.c index fa41c5f004..d566ff5383 100644 --- a/librz/hash/state.c +++ b/librz/hash/state.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/include/rz_analysis.h b/librz/include/rz_analysis.h index 4f1ce701c1..4225ffc578 100644 --- a/librz/include/rz_analysis.h +++ b/librz/include/rz_analysis.h @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2020 - nibble, pancake, xvilka */ +// SPDX-FileCopyrightText: 2009-2021 nibble +// SPDX-FileCopyrightText: 2009-2021 pancake +// SPDX-FileCopyrightText: 2009-2021 xvilka +// SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_ANALYSIS_H #define RZ_ANALYSIS_H diff --git a/librz/include/rz_asm.h b/librz/include/rz_asm.h index 2e72e1aa18..7910431680 100644 --- a/librz/include/rz_asm.h +++ b/librz/include/rz_asm.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_ASM_H diff --git a/librz/include/rz_bind.h b/librz/include/rz_bind.h index 77503e9e9e..c6e4617f14 100644 --- a/librz/include/rz_bind.h +++ b/librz/include/rz_bind.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2015-2020 - pancake */ +// SPDX-FileCopyrightText: 2015-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_BIND_H #define RZ_BIND_H diff --git a/librz/include/rz_core.h b/librz/include/rz_core.h index 8c3e37b086..fd71b47680 100644 --- a/librz/include/rz_core.h +++ b/librz/include/rz_core.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_CORE_H diff --git a/librz/include/rz_flist.h b/librz/include/rz_flist.h index efb6f0bf5a..d15ee7470a 100644 --- a/librz/include/rz_flist.h +++ b/librz/include/rz_flist.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010 nibble // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_FLIST_H diff --git a/librz/include/rz_io.h b/librz/include/rz_io.h index 759012b932..cee742c704 100644 --- a/librz/include/rz_io.h +++ b/librz/include/rz_io.h @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2017-2020 - condret, pancake, alvaro */ +// SPDX-FileCopyrightText: 2017-2020 condret +// SPDX-FileCopyrightText: 2017-2020 pancake +// SPDX-FileCopyrightText: 2017-2020 alvaro +// SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_IO_H #define RZ_IO_H diff --git a/librz/include/rz_magic.h b/librz/include/rz_magic.h index e6e083fe75..103b678bd8 100644 --- a/librz/include/rz_magic.h +++ b/librz/include/rz_magic.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2014 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_MAGIC_H diff --git a/librz/include/rz_main.h b/librz/include/rz_main.h index 1255a4d5e2..ba2ad6f2c3 100644 --- a/librz/include/rz_main.h +++ b/librz/include/rz_main.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_MAIN_H diff --git a/librz/include/rz_parse.h b/librz/include/rz_parse.h index b5ff984642..97e1a012ff 100644 --- a/librz/include/rz_parse.h +++ b/librz/include/rz_parse.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake +// SPDX-FileCopyrightText: 2009-2018 nibble // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_PARSE_H diff --git a/librz/include/rz_qrcode.h b/librz/include/rz_qrcode.h index 3b4154b808..aac17ade26 100644 --- a/librz/include/rz_qrcode.h +++ b/librz/include/rz_qrcode.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 Project Nayuki +// SPDX-License-Identifier: MIT + /* * QR Code generator library (C) * diff --git a/librz/include/rz_skiplist.h b/librz/include/rz_skiplist.h index 57ff7be0dc..c5a6fb2a16 100644 --- a/librz/include/rz_skiplist.h +++ b/librz/include/rz_skiplist.h @@ -1,6 +1,5 @@ -// (c) 2016 Jeffrey Crowell -// BSD 3 Clause License -// rizin +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: BSD-3-Clause // Skiplists are a probabilistic datastructure than can be used as a k-v store // with average case O(lg n) lookup time, and worst case O(n). diff --git a/librz/include/rz_syscall.h b/librz/include/rz_syscall.h index 34c8b2a006..2849c92615 100644 --- a/librz/include/rz_syscall.h +++ b/librz/include/rz_syscall.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_SYSCALL_H diff --git a/librz/include/rz_util.h b/librz/include/rz_util.h index 704ca27739..eeb608c621 100644 --- a/librz/include/rz_util.h +++ b/librz/include/rz_util.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_UTIL_H diff --git a/librz/include/rz_util/rz_ascii_table.h b/librz/include/rz_util/rz_ascii_table.h index 5ec1fcdded..92f81a0fb6 100644 --- a/librz/include/rz_util/rz_ascii_table.h +++ b/librz/include/rz_util/rz_ascii_table.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2008-2016 pancake +// SPDX-FileCopyrightText: 2008-2016 r00tus3r // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_ASCII_TABLE_H diff --git a/librz/include/rz_util/rz_debruijn.h b/librz/include/rz_util/rz_debruijn.h index 841cfc99e3..263800d8ab 100644 --- a/librz/include/rz_util/rz_debruijn.h +++ b/librz/include/rz_util/rz_debruijn.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014 crowell // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_DEBRUIJN_H diff --git a/librz/include/rz_util/rz_event.h b/librz/include/rz_util/rz_event.h index b8a3febe89..0c191f4ed4 100644 --- a/librz/include/rz_util/rz_event.h +++ b/librz/include/rz_util/rz_event.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_EVENT_H diff --git a/librz/include/rz_util/rz_idpool.h b/librz/include/rz_util/rz_idpool.h index 5ed0b95ce3..d6863b3a76 100644 --- a/librz/include/rz_util/rz_idpool.h +++ b/librz/include/rz_util/rz_idpool.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - condret */ +// SPDX-FileCopyrightText: 2017-2018 condret +// SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_ID_STORAGE_H #define RZ_ID_STORAGE_H diff --git a/librz/include/rz_util/rz_intervaltree.h b/librz/include/rz_util/rz_intervaltree.h index f5954946db..3e555f775f 100644 --- a/librz/include/rz_util/rz_intervaltree.h +++ b/librz/include/rz_util/rz_intervaltree.h @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2019 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_INTERVALTREE_H #define RZ_INTERVALTREE_H diff --git a/librz/include/rz_util/rz_json.h b/librz/include/rz_util/rz_json.h index 916ffd0fdf..7f53763f99 100644 --- a/librz/include/rz_util/rz_json.h +++ b/librz/include/rz_util/rz_json.h @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 thestr4ng3r +// SPDX-FileCopyrightText: 2020 Yaroslav Stavnichiy // SPDX-License-Identifier: LGPL-3.0-only #ifndef RZ_JSON_H diff --git a/librz/include/sflib/common/sfsocketcall.h b/librz/include/sflib/common/sfsocketcall.h index e791c685c1..958f2d7345 100644 --- a/librz/include/sflib/common/sfsocketcall.h +++ b/librz/include/sflib/common/sfsocketcall.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + /* * sfsocketcall.h -- linux socket implementation * see http://www.secdev.org/projects/shellforge.html diff --git a/librz/include/sflib/common/sftypes.h b/librz/include/sflib/common/sftypes.h index 56d3f26857..bf33455d23 100644 --- a/librz/include/sflib/common/sftypes.h +++ b/librz/include/sflib/common/sftypes.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2003 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + // XXX: This file describes too many things and some of them are not portable. /* * sftypes.h -- shellforge lib types diff --git a/librz/include/sflib/darwin-arm-64/sflib.h b/librz/include/sflib/darwin-arm-64/sflib.h index 1766009a7c..2534ba7f2d 100644 --- a/librz/include/sflib/darwin-arm-64/sflib.h +++ b/librz/include/sflib/darwin-arm-64/sflib.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2004 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + /* * sflib.h --- SFLib syscall library for OpenBSD/i386 * see http://www.secdev.org/projects/shellforge.html for more informations diff --git a/librz/include/sflib/darwin-arm-64/sfsyscall.h b/librz/include/sflib/darwin-arm-64/sfsyscall.h index 756e5a863b..b1ad1947a6 100644 --- a/librz/include/sflib/darwin-arm-64/sfsyscall.h +++ b/librz/include/sflib/darwin-arm-64/sfsyscall.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2004 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + //ssed on the registers rdi, rsi, rdx, r10, r8 and r9 /* * sfsyscall.h --- SFLib syscall macros for OpenBSD/i386 diff --git a/librz/include/sflib/darwin-arm-64/sfsysnr.h b/librz/include/sflib/darwin-arm-64/sfsysnr.h index 1248602148..78eaa97d50 100644 --- a/librz/include/sflib/darwin-arm-64/sfsysnr.h +++ b/librz/include/sflib/darwin-arm-64/sfsysnr.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2004 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + /* * sfsysnr.h --- SFLib syscall numbers for OpenBSD/i386 * see http://www.secdev.org/projects/shellforge.html for more informations diff --git a/librz/include/sflib/darwin-x86-32/sflib.h b/librz/include/sflib/darwin-x86-32/sflib.h index 5b751b1860..6af7a72110 100644 --- a/librz/include/sflib/darwin-x86-32/sflib.h +++ b/librz/include/sflib/darwin-x86-32/sflib.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2004 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + /* * sflib.h --- SFLib syscall library for OpenBSD/i386 * see http://www.secdev.org/projects/shellforge.html for more informations diff --git a/librz/include/sflib/darwin-x86-32/sfsyscall.h b/librz/include/sflib/darwin-x86-32/sfsyscall.h index 6fd9f8c3fd..1422fb0005 100644 --- a/librz/include/sflib/darwin-x86-32/sfsyscall.h +++ b/librz/include/sflib/darwin-x86-32/sfsyscall.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2004 Philippe Biondi +// SPDX-License-Identifier: LGPL-2.1-only + /* * sfsyscall.h --- SFLib syscall macros for OpenBSD/i386 * see http://www.secdev.org/projects/shellforge.html for more informations diff --git a/librz/io/io.c b/librz/io/io.c index b471c175cd..e6647e0f3e 100644 --- a/librz/io/io.c +++ b/librz/io/io.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2008-2019 - condret, pancake, alvaro_fe */ +// SPDX-FileCopyrightText: 2008-2019 condret +// SPDX-FileCopyrightText: 2008-2019 pancake +// SPDX-FileCopyrightText: 2008-2019 alvaro_fe +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/io_cache.c b/librz/io/io_cache.c index 9c768987e8..1a4a168701 100644 --- a/librz/io/io_cache.c +++ b/librz/io/io_cache.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/io_desc.c b/librz/io/io_desc.c index 8300ba62a9..0a730d1ec6 100644 --- a/librz/io/io_desc.c +++ b/librz/io/io_desc.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2017-2020 - condret, pancake, alvaro */ +// SPDX-FileCopyrightText: 2017-2020 condret +// SPDX-FileCopyrightText: 2017-2020 pancake +// SPDX-FileCopyrightText: 2017-2020 alvaro +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/io_fd.c b/librz/io/io_fd.c index 9dc0bcaf3e..45e29e201d 100644 --- a/librz/io/io_fd.c +++ b/librz/io/io_fd.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2020 - condret */ +// SPDX-FileCopyrightText: 2017-2020 condret +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/io_map.c b/librz/io/io_map.c index 91550faa5c..0cbc29e08a 100644 --- a/librz/io/io_map.c +++ b/librz/io/io_map.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2017-2019 - condret, MaskRay */ +// SPDX-FileCopyrightText: 2017-2020 condret +// SPDX-FileCopyrightText: 2017-2020 MaskRay +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/io_memory.c b/librz/io/io_memory.c index 07c2903de1..dd11890aff 100644 --- a/librz/io/io_memory.c +++ b/librz/io/io_memory.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "io_memory.h" diff --git a/librz/io/io_plugin.c b/librz/io/io_plugin.c index 591caf52dc..de3fe71790 100644 --- a/librz/io/io_plugin.c +++ b/librz/io/io_plugin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/ioutils.c b/librz/io/ioutils.c index 2531ef80ab..a3196d5016 100644 --- a/librz/io/ioutils.c +++ b/librz/io/ioutils.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2019 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_ar.c b/librz/io/p/io_ar.c index 23e8ac6f75..8757e40eed 100644 --- a/librz/io/p/io_ar.c +++ b/librz/io/p/io_ar.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 xarkes // SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/p/io_bfdbg.c b/librz/io/p/io_bfdbg.c index ef0789b42b..48fe2f299f 100644 --- a/librz/io/p/io_bfdbg.c +++ b/librz/io/p/io_bfdbg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2013 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_bochs.c b/librz/io/p/io_bochs.c index f24feddee9..3177f405cd 100644 --- a/librz/io/p/io_bochs.c +++ b/librz/io/p/io_bochs.c @@ -1,4 +1,5 @@ -// Copyright (c) 2016-2017 - LGPL, SkUaTeR, All rights reserved. +// SPDX-FileCopyrightText: 2016-2017 SkUaTeR +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/p/io_debug.c b/librz/io/p/io_debug.c index 0546522d11..3e189bae6d 100644 --- a/librz/io/p/io_debug.c +++ b/librz/io/p/io_debug.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_default.c b/librz/io/p/io_default.c index 238e4378a6..3d8c664751 100644 --- a/librz/io/p/io_default.c +++ b/librz/io/p/io_default.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_fd.c b/librz/io/p/io_fd.c index 7c0a2c703f..421bcf3d58 100644 --- a/librz/io/p/io_fd.c +++ b/librz/io/p/io_fd.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_gdb.c b/librz/io/p/io_gdb.c index e3066095e3..20f55918e4 100644 --- a/librz/io/p/io_gdb.c +++ b/librz/io/p/io_gdb.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_gprobe.c b/librz/io/p/io_gprobe.c index fc8970f4d6..5d8852c8c2 100644 --- a/librz/io/p/io_gprobe.c +++ b/librz/io/p/io_gprobe.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2018 Dirk Eibach +// SPDX-FileCopyrightText: 2018 Guntermann +// SPDX-FileCopyrightText: 2018 Drunck GmbH // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_gzip.c b/librz/io/p/io_gzip.c index 7285feddc5..0b2fd34756 100644 --- a/librz/io/p/io_gzip.c +++ b/librz/io/p/io_gzip.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_http.c b/librz/io/p/io_http.c index 3b5cd432e9..e1f3c33061 100644 --- a/librz/io/p/io_http.c +++ b/librz/io/p/io_http.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_ihex.c b/librz/io/p/io_ihex.c index 583a46fe39..8860754dba 100644 --- a/librz/io/p/io_ihex.c +++ b/librz/io/p/io_ihex.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2013-2017 pancake +// SPDX-FileCopyrightText: 2013-2017 fenugrec // SPDX-License-Identifier: LGPL-3.0-only /* diff --git a/librz/io/p/io_mach.c b/librz/io/p/io_mach.c index 96309d9255..5650d35289 100644 --- a/librz/io/p/io_mach.c +++ b/librz/io/p/io_mach.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_malloc.c b/librz/io/p/io_malloc.c index 3969db90ca..2190135b08 100644 --- a/librz/io/p/io_malloc.c +++ b/librz/io/p/io_malloc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_lib.h" diff --git a/librz/io/p/io_null.c b/librz/io/p/io_null.c index 8e197eee26..d6f1b6ccc9 100644 --- a/librz/io/p/io_null.c +++ b/librz/io/p/io_null.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2017 condret +// SPDX-FileCopyrightText: 2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_procpid.c b/librz/io/p/io_procpid.c index 960a9dd47d..6ed247f81a 100644 --- a/librz/io/p/io_procpid.c +++ b/librz/io/p/io_procpid.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_ptrace.c b/librz/io/p/io_ptrace.c index ab78a04ca3..46d759e502 100644 --- a/librz/io/p/io_ptrace.c +++ b/librz/io/p/io_ptrace.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_qnx.c b/librz/io/p/io_qnx.c index d78d376e8f..ddc0b2bd6e 100644 --- a/librz/io/p/io_qnx.c +++ b/librz/io/p/io_qnx.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_rap.c b/librz/io/p/io_rap.c index b8cc3dfc00..b9f91a5d07 100644 --- a/librz/io/p/io_rap.c +++ b/librz/io/p/io_rap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: MIT #include diff --git a/librz/io/p/io_rzk.c b/librz/io/p/io_rzk.c index 2459f5ec4d..39df0b9ebd 100644 --- a/librz/io/p/io_rzk.c +++ b/librz/io/p/io_rzk.c @@ -1,4 +1,6 @@ -/* io_rzk - rizin - LGPL - Copyright 2016-2018 - SkUaTeR + panda */ +// SPDX-FileCopyrightText: 2016-2018 SkUaTeR +// SPDX-FileCopyrightText: 2016-2018 panda +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/p/io_rzpipe.c b/librz/io/p/io_rzpipe.c index 6eb6390c3d..99fc07d9e0 100644 --- a/librz/io/p/io_rzpipe.c +++ b/librz/io/p/io_rzpipe.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_rzweb.c b/librz/io/p/io_rzweb.c index ba258213e4..96d6a18acb 100644 --- a/librz/io/p/io_rzweb.c +++ b/librz/io/p/io_rzweb.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_self.c b/librz/io/p/io_self.c index c7c9bf38ee..f9ff183775 100644 --- a/librz/io/p/io_self.c +++ b/librz/io/p/io_self.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_shm.c b/librz/io/p/io_shm.c index 6c1f1f542f..0da266b11d 100644 --- a/librz/io/p/io_shm.c +++ b/librz/io/p/io_shm.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_sparse.c b/librz/io/p/io_sparse.c index 679cd04d24..29683cd3d8 100644 --- a/librz/io/p/io_sparse.c +++ b/librz/io/p/io_sparse.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_tcp.c b/librz/io/p/io_tcp.c index 5ab593e693..1a95a6c9f9 100644 --- a/librz/io/p/io_tcp.c +++ b/librz/io/p/io_tcp.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_w32.c b/librz/io/p/io_w32.c index 1e6e4501b4..66b97fb0d7 100644 --- a/librz/io/p/io_w32.c +++ b/librz/io/p/io_w32.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2011 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_io.h" diff --git a/librz/io/p/io_w32dbg.c b/librz/io/p/io_w32dbg.c index 75bde7b392..366ac5f70f 100644 --- a/librz/io/p/io_w32dbg.c +++ b/librz/io/p/io_w32dbg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p/io_windbg.c b/librz/io/p/io_windbg.c index d9e04fad22..61c19c8f18 100644 --- a/librz/io/p/io_windbg.c +++ b/librz/io/p/io_windbg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #define INITGUID diff --git a/librz/io/p/io_winedbg.c b/librz/io/p/io_winedbg.c index 83291fca1b..f771752e15 100644 --- a/librz/io/p/io_winedbg.c +++ b/librz/io/p/io_winedbg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types_base.h" diff --git a/librz/io/p/io_winkd.c b/librz/io/p/io_winkd.c index d2218275e8..8ad9f92a17 100644 --- a/librz/io/p/io_winkd.c +++ b/librz/io/p/io_winkd.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only + // Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 // This library is free software; you can redistribute it and/or diff --git a/librz/io/p/io_zip.c b/librz/io/p/io_zip.c index eb5dd817d3..84badf3eb0 100644 --- a/librz/io/p/io_zip.c +++ b/librz/io/p/io_zip.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2012-2016 pancake +// SPDX-FileCopyrightText: 2012-2016 Adam Pridgen // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/io/p_cache.c b/librz/io/p_cache.c index c6b92713f6..2d6140e7d5 100644 --- a/librz/io/p_cache.c +++ b/librz/io/p_cache.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2017-2018 - condret, alvaro */ +// SPDX-FileCopyrightText: 2017-2018 condret +// SPDX-FileCopyrightText: 2017-2018 alvaro +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/io/serialize_io.c b/librz/io/serialize_io.c index d32adeccf2..41794c4c4b 100644 --- a/librz/io/serialize_io.c +++ b/librz/io/serialize_io.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2020 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2020 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/lang/lang.c b/librz/lang/lang.c index 75b423fde1..d603ca4fc2 100644 --- a/librz/lang/lang.c +++ b/librz/lang/lang.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/lang/p/c.c b/librz/lang/p/c.c index 948621c57f..e8d12eb2a1 100644 --- a/librz/lang/p/c.c +++ b/librz/lang/p/c.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only /* vala extension for librz (rizin) */ // TODO: add cache directory (~/.r2/cache) diff --git a/librz/lang/p/cpipe.c b/librz/lang/p/cpipe.c index f453788fee..2f345e1b2a 100644 --- a/librz/lang/p/cpipe.c +++ b/librz/lang/p/cpipe.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only /* vala extension for librz (rizin) */ // TODO: add cache directory (~/.r2/cache) diff --git a/librz/lang/p/lib.c b/librz/lang/p/lib.c index d0bca67703..c910118c18 100644 --- a/librz/lang/p/lib.c +++ b/librz/lang/p/lib.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2020 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/lang/p/pipe.c b/librz/lang/p/pipe.c index c7a156287a..519269d6d7 100644 --- a/librz/lang/p/pipe.c +++ b/librz/lang/p/pipe.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2015-2019 pancake */ +// SPDX-FileCopyrightText: 2015-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include "rz_lib.h" #include "rz_core.h" diff --git a/librz/lang/p/rust.c b/librz/lang/p/rust.c index db31760e3f..8a568e4cee 100644 --- a/librz/lang/p/rust.c +++ b/librz/lang/p/rust.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_lib.h" diff --git a/librz/lang/p/spp.c b/librz/lang/p/spp.c index a086065840..8595113b8a 100644 --- a/librz/lang/p/spp.c +++ b/librz/lang/p/spp.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_lib.h" diff --git a/librz/lang/p/vala.c b/librz/lang/p/vala.c index 485f21dfe8..c4d2479a1f 100644 --- a/librz/lang/p/vala.c +++ b/librz/lang/p/vala.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only /* vala extension for librz (rizin) */ // TODO: add cache directory (~/.r2/cache) diff --git a/librz/lang/p/zig.c b/librz/lang/p/zig.c index 38c8c04dbd..8111d11422 100644 --- a/librz/lang/p/zig.c +++ b/librz/lang/p/zig.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/magic/magic.c b/librz/magic/magic.c index b7f22a086e..83ec7c6931 100644 --- a/librz/magic/magic.c +++ b/librz/magic/magic.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only /* $OpenBSD: magic.c,v 1.8 2009/10/27 23:59:37 deraadt Exp $ */ diff --git a/librz/main/main.c b/librz/main/main.c index a9ccc3a733..bbe63ba617 100644 --- a/librz/main/main.c +++ b/librz/main/main.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rizin.c b/librz/main/rizin.c index 98671e5dcf..dc9936c812 100644 --- a/librz/main/rizin.c +++ b/librz/main/rizin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #define USE_THREADS 1 diff --git a/librz/main/rz-agent.c b/librz/main/rz-agent.c index d6e2b94c9c..5c1d7734a1 100644 --- a/librz/main/rz-agent.c +++ b/librz/main/rz-agent.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2020 - pancake */ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include "index.h" #include diff --git a/librz/main/rz-asm.c b/librz/main/rz-asm.c index 49936f0b7e..a59698a5ef 100644 --- a/librz/main/rz-asm.c +++ b/librz/main/rz-asm.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2009-2021 pancake +// SPDX-FileCopyrightText: 2009-2021 nibble +// SPDX-FileCopyrightText: 2009-2021 maijin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-ax.c b/librz/main/rz-ax.c index 5dc037d4a9..3ce097bacc 100644 --- a/librz/main/rz-ax.c +++ b/librz/main/rz-ax.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-bin.c b/librz/main/rz-bin.c index 976952788c..e98f835bfc 100644 --- a/librz/main/rz-bin.c +++ b/librz/main/rz-bin.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-diff.c b/librz/main/rz-diff.c index a4435e5557..d01a313ec7 100644 --- a/librz/main/rz-diff.c +++ b/librz/main/rz-diff.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-find.c b/librz/main/rz-find.c index 3450d1acad..4334a36de1 100644 --- a/librz/main/rz-find.c +++ b/librz/main/rz-find.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-gg.c b/librz/main/rz-gg.c index fea7b7d528..6296cb4e78 100644 --- a/librz/main/rz-gg.c +++ b/librz/main/rz-gg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-hash.c b/librz/main/rz-hash.c index 52d851a286..fee15ef4dc 100644 --- a/librz/main/rz-hash.c +++ b/librz/main/rz-hash.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/main/rz-run.c b/librz/main/rz-run.c index 856b32b5da..32fbfad5fc 100644 --- a/librz/main/rz-run.c +++ b/librz/main/rz-run.c @@ -1,4 +1,5 @@ -/* rizin - Copyleft 2011-2020 - pancake */ +// SPDX-FileCopyrightText: 2011-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/main/rz-sign.c b/librz/main/rz-sign.c index cb758c8139..963bba8d1d 100644 --- a/librz/main/rz-sign.c +++ b/librz/main/rz-sign.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/parse/ctype.c b/librz/parse/ctype.c index 787a406cd7..38eb9fd9e4 100644 --- a/librz/parse/ctype.c +++ b/librz/parse/ctype.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/filter.c b/librz/parse/filter.c index 907dd60c2d..bcf2b2a47c 100644 --- a/librz/parse/filter.c +++ b/librz/parse/filter.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2019 - nibble, pancake, maijin */ +// SPDX-FileCopyrightText: 2009-2019 nibble +// SPDX-FileCopyrightText: 2009-2019 pancake +// SPDX-FileCopyrightText: 2009-2019 maijin +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_6502_pseudo.c b/librz/parse/p/parse_6502_pseudo.c index 6f3c26dcbe..37debba5dc 100644 --- a/librz/parse/p/parse_6502_pseudo.c +++ b/librz/parse/p/parse_6502_pseudo.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2015 pancake +// SPDX-FileCopyrightText: 2015 qnix // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_arm_pseudo.c b/librz/parse/p/parse_arm_pseudo.c index dfe15dbbf8..d7e73137da 100644 --- a/librz/parse/p/parse_arm_pseudo.c +++ b/librz/parse/p/parse_arm_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_att2intel.c b/librz/parse/p/parse_att2intel.c index e639822136..0cc79d3d24 100644 --- a/librz/parse/p/parse_att2intel.c +++ b/librz/parse/p/parse_att2intel.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_avr_pseudo.c b/librz/parse/p/parse_avr_pseudo.c index c11ca4fb01..e3d64004db 100644 --- a/librz/parse/p/parse_avr_pseudo.c +++ b/librz/parse/p/parse_avr_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2019 deroad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_chip8_pseudo.c b/librz/parse/p/parse_chip8_pseudo.c index ad9c80b208..88ede5f82b 100644 --- a/librz/parse/p/parse_chip8_pseudo.c +++ b/librz/parse/p/parse_chip8_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 Vasilij Schneidermann // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_dalvik_pseudo.c b/librz/parse/p/parse_dalvik_pseudo.c index 2badf080ec..63f79da795 100644 --- a/librz/parse/p/parse_dalvik_pseudo.c +++ b/librz/parse/p/parse_dalvik_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_m68k_pseudo.c b/librz/parse/p/parse_m68k_pseudo.c index 894911416f..ecbc830582 100644 --- a/librz/parse/p/parse_m68k_pseudo.c +++ b/librz/parse/p/parse_m68k_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_mips_pseudo.c b/librz/parse/p/parse_mips_pseudo.c index bbdc5b3bdf..e2c012a2e3 100644 --- a/librz/parse/p/parse_mips_pseudo.c +++ b/librz/parse/p/parse_mips_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_ppc_pseudo.c b/librz/parse/p/parse_ppc_pseudo.c index 6f8251f386..7036f17965 100644 --- a/librz/parse/p/parse_ppc_pseudo.c +++ b/librz/parse/p/parse_ppc_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_riscv_pseudo.c b/librz/parse/p/parse_riscv_pseudo.c index f188eb61fe..920d8c27b5 100644 --- a/librz/parse/p/parse_riscv_pseudo.c +++ b/librz/parse/p/parse_riscv_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 Aswin C (officialcjunior) // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_sh_pseudo.c b/librz/parse/p/parse_sh_pseudo.c index 9325d5f892..28f955a8bc 100644 --- a/librz/parse/p/parse_sh_pseudo.c +++ b/librz/parse/p/parse_sh_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 deroad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_tms320_pseudo.c b/librz/parse/p/parse_tms320_pseudo.c index 282fe192cb..d900e75377 100644 --- a/librz/parse/p/parse_tms320_pseudo.c +++ b/librz/parse/p/parse_tms320_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_v850_pseudo.c b/librz/parse/p/parse_v850_pseudo.c index b280ec7c53..157fbaae64 100644 --- a/librz/parse/p/parse_v850_pseudo.c +++ b/librz/parse/p/parse_v850_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_wasm_pseudo.c b/librz/parse/p/parse_wasm_pseudo.c index fdceeffcfc..f8d90c3e87 100644 --- a/librz/parse/p/parse_wasm_pseudo.c +++ b/librz/parse/p/parse_wasm_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 deroad // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_x86_pseudo.c b/librz/parse/p/parse_x86_pseudo.c index 78e3300bbc..b2b33e1d44 100644 --- a/librz/parse/p/parse_x86_pseudo.c +++ b/librz/parse/p/parse_x86_pseudo.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/p/parse_z80_pseudo.c b/librz/parse/p/parse_z80_pseudo.c index 4d8c41da67..c2467e1def 100644 --- a/librz/parse/p/parse_z80_pseudo.c +++ b/librz/parse/p/parse_z80_pseudo.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 julien (jvoisin) voisin // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/parse/parse.c b/librz/parse/parse.c index bba3ecfb50..51d6ec0a52 100644 --- a/librz/parse/parse.c +++ b/librz/parse/parse.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2009-2020 - nibble, pancake, maijin */ +// SPDX-FileCopyrightText: 2009-2020 nibble +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 maijin +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/reg/arena.c b/librz/reg/arena.c index b66e1dfc30..9f7ab68203 100644 --- a/librz/reg/arena.c +++ b/librz/reg/arena.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/reg/double.c b/librz/reg/double.c index df09b19795..1483374460 100644 --- a/librz/reg/double.c +++ b/librz/reg/double.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/reg/profile.c b/librz/reg/profile.c index c8ccd9f32a..d99511973e 100644 --- a/librz/reg/profile.c +++ b/librz/reg/profile.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/reg/rcond.c b/librz/reg/rcond.c index a5676f59e4..72a3910729 100644 --- a/librz/reg/rcond.c +++ b/librz/reg/rcond.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/reg/reg.c b/librz/reg/reg.c index 2476b93113..9b52332e73 100644 --- a/librz/reg/reg.c +++ b/librz/reg/reg.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/reg/rvalue.c b/librz/reg/rvalue.c index 104b43078d..5b6757c507 100644 --- a/librz/reg/rvalue.c +++ b/librz/reg/rvalue.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/search/aes-find.c b/librz/search/aes-find.c index c7e6a77bdf..7556dc4e9f 100644 --- a/librz/search/aes-find.c +++ b/librz/search/aes-find.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2007 Victor Muñoz +// SPDX-License-Identifier: CC0-1.0 + /* * Find expanded AES keys in memory * diff --git a/librz/search/bytepat.c b/librz/search/bytepat.c index 299aeb25b6..4dca320ac7 100644 --- a/librz/search/bytepat.c +++ b/librz/search/bytepat.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2006-2019 esteve +// SPDX-FileCopyrightText: 2006-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/search/keyword.c b/librz/search/keyword.c index 4f2efae652..bda7427d14 100644 --- a/librz/search/keyword.c +++ b/librz/search/keyword.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/search/privkey-find.c b/librz/search/privkey-find.c index 2974078794..b17f6471f5 100644 --- a/librz/search/privkey-find.c +++ b/librz/search/privkey-find.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2008 Nadia Heninger and J. Alex Halderman +// SPDX-FileCopyrightText: 2008 J. Alex Halderman +// SPDX-License-Identifier: BSD-3-Clause + // From RSAKeyFinder 1.0 (2008-07-18) // By Nadia Heninger and J. Alex Halderman // Contribution to r2 by @santitox diff --git a/librz/search/regexp.c b/librz/search/regexp.c index 974a46c72e..22f669a2b2 100644 --- a/librz/search/regexp.c +++ b/librz/search/regexp.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake +// SPDX-FileCopyrightText: 2008-2020 TheLemonMan // SPDX-License-Identifier: LGPL-3.0-only #include "rz_search.h" diff --git a/librz/search/search.c b/librz/search/search.c index 1924fae19a..87cc7c83fd 100644 --- a/librz/search/search.c +++ b/librz/search/search.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/search/strings.c b/librz/search/strings.c index d89a2daa57..90587c6486 100644 --- a/librz/search/strings.c +++ b/librz/search/strings.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2006-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_search.h" diff --git a/librz/socket/run.c b/librz/socket/run.c index 084c28c798..4fcdcfd56a 100644 --- a/librz/socket/run.c +++ b/librz/socket/run.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only /* this helper api is here because it depends on rz_util and rz_socket */ diff --git a/librz/socket/rzpipe.c b/librz/socket/rzpipe.c index e041b45f6a..f2ef122e95 100644 --- a/librz/socket/rzpipe.c +++ b/librz/socket/rzpipe.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2015-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only /* Usage Example: diff --git a/librz/socket/socket.c b/librz/socket/socket.c index 9721759d86..cfa39006bd 100644 --- a/librz/socket/socket.c +++ b/librz/socket/socket.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2006-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only /* must be included first because of winsock2.h and windows.h */ diff --git a/librz/socket/socket_http.c b/librz/socket/socket_http.c index 330f90ac38..24bde22af4 100644 --- a/librz/socket/socket_http.c +++ b/librz/socket/socket_http.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/socket/socket_http_server.c b/librz/socket/socket_http_server.c index 19a80c414e..7a57048e73 100644 --- a/librz/socket/socket_http_server.c +++ b/librz/socket/socket_http_server.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/socket/socket_proc.c b/librz/socket/socket_proc.c index 5d0c74bfe1..22f16ded4b 100644 --- a/librz/socket/socket_proc.c +++ b/librz/socket/socket_proc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2012 pancake // SPDX-License-Identifier: LGPL-3.0-only /* XXX : move to rz_util??? rename method names.. to long? */ diff --git a/librz/socket/socket_rap_client.c b/librz/socket/socket_rap_client.c index 0396c28541..78cd6186aa 100644 --- a/librz/socket/socket_rap_client.c +++ b/librz/socket/socket_rap_client.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/socket/socket_rap_server.c b/librz/socket/socket_rap_server.c index 2c1e4dd296..4c126befed 100644 --- a/librz/socket/socket_rap_server.c +++ b/librz/socket/socket_rap_server.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2019 pancake +// SPDX-FileCopyrightText: 2014-2019 condret // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/socket/socket_serial.c b/librz/socket/socket_serial.c index 1995e9afd8..a294d08c97 100644 --- a/librz/socket/socket_serial.c +++ b/librz/socket/socket_serial.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/syscall/syscall.c b/librz/syscall/syscall.c index 356d0e6a04..f596bfda24 100644 --- a/librz/syscall/syscall.c +++ b/librz/syscall/syscall.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/alloc.c b/librz/util/alloc.c index 0000ec49b7..32c3c8292c 100644 --- a/librz/util/alloc.c +++ b/librz/util/alloc.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/annotated_code.c b/librz/util/annotated_code.c index eb318dba91..5e0d291c8e 100644 --- a/librz/util/annotated_code.c +++ b/librz/util/annotated_code.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 NIRMAL MANOJ C +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/ascii_table.c b/librz/util/ascii_table.c index a37fc61425..2b6caf7b52 100644 --- a/librz/util/ascii_table.c +++ b/librz/util/ascii_table.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-FileCopyrightText: 2018 r00tus3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/asn1.c b/librz/util/asn1.c index 46c7ca9da0..8e2e181bd5 100644 --- a/librz/util/asn1.c +++ b/librz/util/asn1.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - wargio */ +// SPDX-FileCopyrightText: 2017-2018 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/assert.c b/librz/util/assert.c index cd9f986de3..7b06745b89 100644 --- a/librz/util/assert.c +++ b/librz/util/assert.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018-2020 - ret2libc */ +// SPDX-FileCopyrightText: 2018-2020 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/astr.c b/librz/util/astr.c index 4298f326b8..9208bacb2c 100644 --- a/librz/util/astr.c +++ b/librz/util/astr.c @@ -1,4 +1,6 @@ -/* rizin - LGPL - Copyright 2017-2018 - wargio, pancake */ +// SPDX-FileCopyrightText: 2017-2018 deroad +// SPDX-FileCopyrightText: 2017-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include "asn1_oids.h" diff --git a/librz/util/base85.c b/librz/util/base85.c index 7c6843f6f4..680853226c 100644 --- a/librz/util/base85.c +++ b/librz/util/base85.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2011 Remy Oukaour +// SPDX-FileCopyrightText: 2017 pancake +// SPDX-License-Identifier: MIT + /* * ascii85 - Ascii85 encode/decode data and print to standard output * diff --git a/librz/util/base91.c b/librz/util/base91.c index 4b6992476d..37eb7f7918 100644 --- a/librz/util/base91.c +++ b/librz/util/base91.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Rakholiya Jenish +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/librz/util/bdiff.c b/librz/util/bdiff.c index 0368592501..4eef643119 100644 --- a/librz/util/bdiff.c +++ b/librz/util/bdiff.c @@ -1,4 +1,7 @@ -// SPDX-License-Identifier: LGPL-3.0-only +// SPDX-FileCopyrightText: 2005, 2006 Matt Mackall +// SPDX-FileCopyrightText: 2009-2010 pancake +// SPDX-License-Identifier: GPL-2.0-or-later + /* Adapted code from: bdiff.c - efficient binary diff extension for Mercurial diff --git a/librz/util/big-gmp.c b/librz/util/big-gmp.c index 20079512f4..cd90c41500 100644 --- a/librz/util/big-gmp.c +++ b/librz/util/big-gmp.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2010 pancake +// SPDX-FileCopyrightText: 2020 FXTi +// SPDX-License-Identifier: LGPL-3.0-only + #include RZ_API RNumBig *rz_big_new(void) { diff --git a/librz/util/big-ssl.c b/librz/util/big-ssl.c index 76b371d48c..8e00383532 100644 --- a/librz/util/big-ssl.c +++ b/librz/util/big-ssl.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2010 pancake +// SPDX-FileCopyrightText: 2020 FXTi +// SPDX-License-Identifier: LGPL-3.0-only + #include RZ_API RNumBig *rz_big_new(void) { diff --git a/librz/util/big.c b/librz/util/big.c index 94a3f36b5c..f08a0685c4 100644 --- a/librz/util/big.c +++ b/librz/util/big.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 FXTi +// SPDX-License-Identifier: LGPL-3.0-only + /* Based on https://github.com/kokke/tiny-bignum-c. * Enjoy it --FXTi */ diff --git a/librz/util/binheap.c b/librz/util/binheap.c index 383e49126d..81e0df0bb0 100644 --- a/librz/util/binheap.c +++ b/librz/util/binheap.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - maskray */ +// SPDX-FileCopyrightText: 2017-2018 maskray +// SPDX-License-Identifier: LGPL-3.0-only #include "rz_binheap.h" diff --git a/librz/util/bitmap.c b/librz/util/bitmap.c index e2380495e8..2366971ce3 100644 --- a/librz/util/bitmap.c +++ b/librz/util/bitmap.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2017-2020 pancake +// SPDX-FileCopyrightText: 2017-2020 crowell // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf.c b/librz/util/buf.c index 4ba489e516..aaabfa3307 100644 --- a/librz/util/buf.c +++ b/librz/util/buf.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf_bytes.c b/librz/util/buf_bytes.c index 1a91dab814..b3035524b3 100644 --- a/librz/util/buf_bytes.c +++ b/librz/util/buf_bytes.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf_file.c b/librz/util/buf_file.c index f33d4ab589..d8b5b2e240 100644 --- a/librz/util/buf_file.c +++ b/librz/util/buf_file.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf_io.c b/librz/util/buf_io.c index 636e1d9ca2..0ecfeb389d 100644 --- a/librz/util/buf_io.c +++ b/librz/util/buf_io.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf_mmap.c b/librz/util/buf_mmap.c index c4c6d9eb77..cf067b49e9 100644 --- a/librz/util/buf_mmap.c +++ b/librz/util/buf_mmap.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf_ref.c b/librz/util/buf_ref.c index d5dbb46f65..a735036f29 100644 --- a/librz/util/buf_ref.c +++ b/librz/util/buf_ref.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/buf_sparse.c b/librz/util/buf_sparse.c index 8617a3b5a9..774980876d 100644 --- a/librz/util/buf_sparse.c +++ b/librz/util/buf_sparse.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/cache.c b/librz/util/cache.c index 872d888b70..aae38c711b 100644 --- a/librz/util/cache.c +++ b/librz/util/cache.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only // XXX: should use the same code as librz/io/cache.c diff --git a/librz/util/calc.c b/librz/util/calc.c index 8146615366..a6f011098b 100644 --- a/librz/util/calc.c +++ b/librz/util/calc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012-2017 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* ported to C by pancake for r2 in 2012-2017 */ // TODO: integrate floating point support // TODO: do not use global variables diff --git a/librz/util/chmod.c b/librz/util/chmod.c index 9460b8a385..8f8f87a457 100644 --- a/librz/util/chmod.c +++ b/librz/util/chmod.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/debruijn.c b/librz/util/debruijn.c index f8a299aa32..cfba39f571 100644 --- a/librz/util/debruijn.c +++ b/librz/util/debruijn.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2014-2016 crowell +// SPDX-FileCopyrightText: 2014-2016 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/event.c b/librz/util/event.c index 6eb9c503ec..4dab175fb2 100644 --- a/librz/util/event.c +++ b/librz/util/event.c @@ -1,4 +1,5 @@ -/* rizin - MIT - Copyright 2018 - pancake */ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: MIT #include #include diff --git a/librz/util/file.c b/librz/util/file.c index c2f880f46e..7056d8d80b 100644 --- a/librz/util/file.c +++ b/librz/util/file.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" diff --git a/librz/util/flist.c b/librz/util/flist.c index e42d3672da..ef7169ee7f 100644 --- a/librz/util/flist.c +++ b/librz/util/flist.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2010-2013 pancake // SPDX-License-Identifier: LGPL-3.0-only // XXX. this is dupped inside the rz_flist.h for optimizations diff --git a/librz/util/format.c b/librz/util/format.c index ffb3d38c72..882e04bd85 100644 --- a/librz/util/format.c +++ b/librz/util/format.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake +// SPDX-FileCopyrightText: 2007-2020 Skia // SPDX-License-Identifier: LGPL-3.0-only #include "rz_cons.h" diff --git a/librz/util/getopt.c b/librz/util/getopt.c index acf3211001..410b3df968 100644 --- a/librz/util/getopt.c +++ b/librz/util/getopt.c @@ -1,4 +1,7 @@ +// SPDX-FileCopyrightText: 1987, 1993, 1994 The Regents of the University of California +// SPDX-FileCopyrightText: 2019-2020 pancake // SPDX-License-Identifier: MIT + /* * Copyright (c) 1987, 1993, 1994 * The Regents of the University of California. All rights reserved. diff --git a/librz/util/graph.c b/librz/util/graph.c index 3111ffa73b..1643fe1d0d 100644 --- a/librz/util/graph.c +++ b/librz/util/graph.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake +// SPDX-FileCopyrightText: 2007-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/graph_drawable.c b/librz/util/graph_drawable.c index 02370ed560..a527e3f170 100644 --- a/librz/util/graph_drawable.c +++ b/librz/util/graph_drawable.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Anton Kochkov +// SPDX-FileCopyrightText: 2020 karliss +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/librz/util/hex.c b/librz/util/hex.c index 901d70324d..0eb29c49aa 100644 --- a/librz/util/hex.c +++ b/librz/util/hex.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" diff --git a/librz/util/idpool.c b/librz/util/idpool.c index 2c44aea570..317568905d 100644 --- a/librz/util/idpool.c +++ b/librz/util/idpool.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2020 - condret */ +// SPDX-FileCopyrightText: 2017-2020 condret +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/intervaltree.c b/librz/util/intervaltree.c index 1474eaf82c..5a3bac57a9 100644 --- a/librz/util/intervaltree.c +++ b/librz/util/intervaltree.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2019 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2019 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/json_indent.c b/librz/util/json_indent.c index e6550a4e5b..51a33d78e1 100644 --- a/librz/util/json_indent.c +++ b/librz/util/json_indent.c @@ -1,4 +1,5 @@ -/* rizin (from sdb) - MIT - Copyright 2012-2017 - pancake */ +// SPDX-FileCopyrightText: 2012-2017 pancake +// SPDX-License-Identifier: MIT #include diff --git a/librz/util/json_parser.c b/librz/util/json_parser.c index 2670664c1a..4d06de3eb9 100644 --- a/librz/util/json_parser.c +++ b/librz/util/json_parser.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 thestr4ng3r +// SPDX-FileCopyrightText: 2020 Yaroslav Stavnichiy // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/lib.c b/librz/util/lib.c index 4dae729102..22cc77dd72 100644 --- a/librz/util/lib.c +++ b/librz/util/lib.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/list.c b/librz/util/list.c index c2183ce7e2..79b6aec4de 100644 --- a/librz/util/list.c +++ b/librz/util/list.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2007-2019 pancake +// SPDX-FileCopyrightText: 2007-2019 alvarofe // SPDX-License-Identifier: LGPL-3.0-only // TODO: RRef - reference counting diff --git a/librz/util/log.c b/librz/util/log.c index 3b0df72a8e..45a821ef44 100644 --- a/librz/util/log.c +++ b/librz/util/log.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2007-2018 pancake +// SPDX-FileCopyrightText: 2007-2018 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #define LOG_CONFIGSTR_SIZE 512 diff --git a/librz/util/mem.c b/librz/util/mem.c index 9beb16a2c0..538ec808b5 100644 --- a/librz/util/mem.c +++ b/librz/util/mem.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/meson.build b/librz/util/meson.build index ca2e9b3d0f..98e3c589f6 100644 --- a/librz/util/meson.build +++ b/librz/util/meson.build @@ -63,7 +63,6 @@ rz_util_sources = [ 'thread_sem.c', 'thread_lock.c', 'thread_cond.c', - 'thread_pipe.c', 'time.c', 'tree.c', 'pj.c', diff --git a/librz/util/name.c b/librz/util/name.c index 3bc511535a..96bc35ab0f 100644 --- a/librz/util/name.c +++ b/librz/util/name.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/pie.c b/librz/util/pie.c index f6d7c0e366..745495d0d7 100644 --- a/librz/util/pie.c +++ b/librz/util/pie.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - pancake */ +// SPDX-FileCopyrightText: 2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/pj.c b/librz/util/pj.c index 29c5c2638c..42c53f10cc 100644 --- a/librz/util/pj.c +++ b/librz/util/pj.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2018-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/pkcs7.c b/librz/util/pkcs7.c index f94bcdca5e..5fe7574bd1 100644 --- a/librz/util/pkcs7.c +++ b/librz/util/pkcs7.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - wargio */ +// SPDX-FileCopyrightText: 2017-2018 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/print.c b/librz/util/print.c index d8da8886af..b2d52ef04d 100644 --- a/librz/util/print.c +++ b/librz/util/print.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/print_code.c b/librz/util/print_code.c index f312e0e1ac..fb895258b5 100644 --- a/librz/util/print_code.c +++ b/librz/util/print_code.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/prof.c b/librz/util/prof.c index 00c7e50eec..7f0bbd5c1f 100644 --- a/librz/util/prof.c +++ b/librz/util/prof.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2019 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_util.h" diff --git a/librz/util/protobuf.c b/librz/util/protobuf.c index 9ae297ec42..b395856795 100644 --- a/librz/util/protobuf.c +++ b/librz/util/protobuf.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2019 - wargio */ +// SPDX-FileCopyrightText: 2017-2019 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/punycode.c b/librz/util/punycode.c index 8cd938a701..d32a71c0c5 100644 --- a/librz/util/punycode.c +++ b/librz/util/punycode.c @@ -1,4 +1,5 @@ -/* Rakholiya Jenish - 2017 */ +// SPDX-FileCopyrightText: 2017 Rakholiya Jenish +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/qrcode.c b/librz/util/qrcode.c index eb0d321c47..38f6d1257d 100644 --- a/librz/util/qrcode.c +++ b/librz/util/qrcode.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 Project Nayuki +// SPDX-License-Identifier: MIT + /* * modified by pancake to adapt it to the r2 coding style and make a simpler api * QR Code generator library (C) diff --git a/librz/util/queue.c b/librz/util/queue.c index 841199ea24..ae5711502b 100644 --- a/librz/util/queue.c +++ b/librz/util/queue.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2015 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/randomart.c b/librz/util/randomart.c index 90a27ae613..b625288d2a 100644 --- a/librz/util/randomart.c +++ b/librz/util/randomart.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 1995 Tatu Ylonen +// SPDX-FileCopyrightText: 2000, 2001 Markus Friedl +// SPDX-License-Identifier: BSD-2-Clause + /* * This code is originally taken from OpenSSH: * http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/key.c?rev=1.75&content-type=text/x-cvsweb-markup diff --git a/librz/util/range.c b/librz/util/range.c index 67c53efe11..fa749d3fe1 100644 --- a/librz/util/range.c +++ b/librz/util/range.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2008-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/rbtree.c b/librz/util/rbtree.c index 3baae1e060..c8d186f388 100644 --- a/librz/util/rbtree.c +++ b/librz/util/rbtree.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 MaskRay // SPDX-License-Identifier: BSD-3-Clause #include diff --git a/librz/util/serialize_spaces.c b/librz/util/serialize_spaces.c index 95abcb5037..a0ac4d6b2a 100644 --- a/librz/util/serialize_spaces.c +++ b/librz/util/serialize_spaces.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/seven.c b/librz/util/seven.c index af0ce23f11..1290b09db8 100644 --- a/librz/util/seven.c +++ b/librz/util/seven.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2013 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/signal.c b/librz/util/signal.c index c42b7105c6..7ecf41aee9 100644 --- a/librz/util/signal.c +++ b/librz/util/signal.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017-2020 polsha3 // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/skiplist.c b/librz/util/skiplist.c index 9279ca129c..398c08b9a6 100644 --- a/librz/util/skiplist.c +++ b/librz/util/skiplist.c @@ -1,6 +1,6 @@ -// (c) 2016 Jeffrey Crowell, Riccardo Schirone(ret2libc) -// BSD 3 Clause License -// rizin +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-FileCopyrightText: 2016 ret2libc +// SPDX-License-Identifier: BSD-3-Clause // Skiplists are a probabilistic datastructure than can be used as a k-v store // with average case O(lg n) lookup time, and worst case O(n). diff --git a/librz/util/skyline.c b/librz/util/skyline.c index d378bce2b3..c30c53b8ce 100644 --- a/librz/util/skyline.c +++ b/librz/util/skyline.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2020 GustavoLCR // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/spaces.c b/librz/util/spaces.c index d0b196fc82..d1c03cf59b 100644 --- a/librz/util/spaces.c +++ b/librz/util/spaces.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-FileCopyrightText: 2019 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include "rz_util/rz_spaces.h" diff --git a/librz/util/stack.c b/librz/util/stack.c index 79eb5b83db..3e4f5f1a19 100644 --- a/librz/util/stack.c +++ b/librz/util/stack.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/str.c b/librz/util/str.c index 84e9805417..97445f09a1 100644 --- a/librz/util/str.c +++ b/librz/util/str.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" diff --git a/librz/util/str_constpool.c b/librz/util/str_constpool.c index 07181ac142..d60ec306a0 100644 --- a/librz/util/str_constpool.c +++ b/librz/util/str_constpool.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_util/rz_str_constpool.h" diff --git a/librz/util/str_trim.c b/librz/util/str_trim.c index 1b3cae0bcc..44cbd48adf 100644 --- a/librz/util/str_trim.c +++ b/librz/util/str_trim.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" diff --git a/librz/util/strbuf.c b/librz/util/strbuf.c index a1f39b8997..7a80cc0e46 100644 --- a/librz/util/strbuf.c +++ b/librz/util/strbuf.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" diff --git a/librz/util/strpool.c b/librz/util/strpool.c index 35f8bc66f2..f0ea4e44ee 100644 --- a/librz/util/strpool.c +++ b/librz/util/strpool.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2012-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/subprocess.c b/librz/util/subprocess.c index 875b88aa58..bc06502808 100644 --- a/librz/util/subprocess.c +++ b/librz/util/subprocess.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/librz/util/sys.c b/librz/util/sys.c index 354caf8d39..4e52905495 100644 --- a/librz/util/sys.c +++ b/librz/util/sys.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/syscmd.c b/librz/util/syscmd.c index 993ca9d5f7..ecefb669f9 100644 --- a/librz/util/syscmd.c +++ b/librz/util/syscmd.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/table.c b/librz/util/table.c index af52edce99..15d81797e7 100644 --- a/librz/util/table.c +++ b/librz/util/table.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2019-2021 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/thread.c b/librz/util/thread.c index 64b6b36265..e624b35473 100644 --- a/librz/util/thread.c +++ b/librz/util/thread.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2018 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/thread_cond.c b/librz/util/thread_cond.c index 4ee3027173..59be5f5fb1 100644 --- a/librz/util/thread_cond.c +++ b/librz/util/thread_cond.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/thread_lock.c b/librz/util/thread_lock.c index e88d7505a8..93b9ed35ab 100644 --- a/librz/util/thread_lock.c +++ b/librz/util/thread_lock.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2017 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/thread_pipe.c b/librz/util/thread_pipe.c deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/librz/util/thread_sem.c b/librz/util/thread_sem.c index 5491e2577a..684eaa2da7 100644 --- a/librz/util/thread_sem.c +++ b/librz/util/thread_sem.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2018 - thestr4ng3r */ +// SPDX-FileCopyrightText: 2018 thestr4ng3r +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/time.c b/librz/util/time.c index eb0f69ce23..973197187e 100644 --- a/librz/util/time.c +++ b/librz/util/time.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake +// SPDX-FileCopyrightText: 2007-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/tree.c b/librz/util/tree.c index 8b34b69d52..67a409ca4f 100644 --- a/librz/util/tree.c +++ b/librz/util/tree.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2015 ret2libc // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/ubase64.c b/librz/util/ubase64.c index 1dc4d37bf8..846ec73e7b 100644 --- a/librz/util/ubase64.c +++ b/librz/util/ubase64.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017-2021 pancake +// SPDX-License-Identifier: LGPL-3.0-only + /* Original code from: * dmc - dynamic mail client -- author: pancake * See LICENSE file for copyright and license details. diff --git a/librz/util/udiff.c b/librz/util/udiff.c index 6ea9e27580..0e3d698331 100644 --- a/librz/util/udiff.c +++ b/librz/util/udiff.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2009-2020 pancake +// SPDX-FileCopyrightText: 2009-2020 nikolai // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/uleb128.c b/librz/util/uleb128.c index 0931b8ca80..9403224f79 100644 --- a/librz/util/uleb128.c +++ b/librz/util/uleb128.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_util/rz_str.h" diff --git a/librz/util/unum.c b/librz/util/unum.c index 3139c3b036..b4a5776948 100644 --- a/librz/util/unum.c +++ b/librz/util/unum.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2007-2020 pancake // SPDX-License-Identifier: LGPL-3.0-only #if __WINDOWS__ diff --git a/librz/util/utf16.c b/librz/util/utf16.c index 78a608ca0c..a759946f7d 100644 --- a/librz/util/utf16.c +++ b/librz/util/utf16.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017 - kazarmy */ +// SPDX-FileCopyrightText: 2017 kazarmy +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/utf32.c b/librz/util/utf32.c index d7a5fab009..26acc4fa37 100644 --- a/librz/util/utf32.c +++ b/librz/util/utf32.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017 - kazarmy */ +// SPDX-FileCopyrightText: 2017 kazarmy +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/utf8.c b/librz/util/utf8.c index da1339b0ec..fbc3d87eb6 100644 --- a/librz/util/utf8.c +++ b/librz/util/utf8.c @@ -1,4 +1,7 @@ -/* rizin - LGPL - Copyright 2014-2018 - thelemon, kazarmy, pancake */ +// SPDX-FileCopyrightText: 2014-2018 thelemon +// SPDX-FileCopyrightText: 2014-2018 kazarmy +// SPDX-FileCopyrightText: 2014-2018 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/utype.c b/librz/util/utype.c index 64594f9e0d..25a95816aa 100644 --- a/librz/util/utype.c +++ b/librz/util/utype.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-FileCopyrightText: 2013-2020 oddcoder +// SPDX-FileCopyrightText: 2013-2020 sivaramaaa // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/librz/util/vector.c b/librz/util/vector.c index 808f3d2509..d6bb15cc9d 100644 --- a/librz/util/vector.c +++ b/librz/util/vector.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2017-2020 maskray +// SPDX-FileCopyrightText: 2017-2020 thestr4ng3r // SPDX-License-Identifier: LGPL-3.0-only #include "rz_vector.h" diff --git a/librz/util/w32-sys.c b/librz/util/w32-sys.c index 7a560d621f..1ef6877a77 100644 --- a/librz/util/w32-sys.c +++ b/librz/util/w32-sys.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2010 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/librz/util/x509.c b/librz/util/x509.c index 633b8756a8..623b98c361 100644 --- a/librz/util/x509.c +++ b/librz/util/x509.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2017-2018 - wargio */ +// SPDX-FileCopyrightText: 2017-2018 deroad +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/librz/util/zip.c b/librz/util/zip.c index ae05fd8817..68df943b99 100644 --- a/librz/util/zip.c +++ b/librz/util/zip.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2014-2015 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/shlr/ar/ar.c b/shlr/ar/ar.c index dc17f85063..7d29f6078e 100644 --- a/shlr/ar/ar.c +++ b/shlr/ar/ar.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 xarkes // SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/shlr/ar/ar.h b/shlr/ar/ar.h index c414e8771e..c2ae499aae 100644 --- a/shlr/ar/ar.h +++ b/shlr/ar/ar.h @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2017 xarkes // SPDX-License-Identifier: LGPL-3.0-only #ifndef _AR_H #define _AR_H diff --git a/shlr/bochs/src/libbochs.c b/shlr/bochs/src/libbochs.c index 6d495792e2..d93a9ee016 100644 --- a/shlr/bochs/src/libbochs.c +++ b/shlr/bochs/src/libbochs.c @@ -1,4 +1,5 @@ -/* libbochs - rizin - LGPL - Copyright 2016 - SkUaTeR */ +// SPDX-FileCopyrightText: 2016 SkUaTeR +// SPDX-License-Identifier: LGPL-3.0-only #include "libbochs.h" diff --git a/shlr/gdb/src/gdbclient/core.c b/shlr/gdb/src/gdbclient/core.c index 5c4e47bf3f..ad0cb5383c 100644 --- a/shlr/gdb/src/gdbclient/core.c +++ b/shlr/gdb/src/gdbclient/core.c @@ -1,4 +1,5 @@ -/* libgdbr - LGPL - Copyright 2014-2018 - defragger */ +// SPDX-FileCopyrightText: 2014-2018 defragger +// SPDX-License-Identifier: LGPL-3.0-only #include "gdbclient/responses.h" #include "gdbclient/commands.h" diff --git a/shlr/gdb/src/gdbclient/responses.c b/shlr/gdb/src/gdbclient/responses.c index 186b812ae8..6cd4ef5ffd 100644 --- a/shlr/gdb/src/gdbclient/responses.c +++ b/shlr/gdb/src/gdbclient/responses.c @@ -1,4 +1,5 @@ -/* libgdbr - LGPL - Copyright 2014 - defragger */ +// SPDX-FileCopyrightText: 2014 defragger +// SPDX-License-Identifier: LGPL-3.0-only #include "arch.h" #include "gdbclient/responses.h" diff --git a/shlr/gdb/src/gdbclient/xml.c b/shlr/gdb/src/gdbclient/xml.c index d914629dd5..016f577668 100644 --- a/shlr/gdb/src/gdbclient/xml.c +++ b/shlr/gdb/src/gdbclient/xml.c @@ -1,4 +1,5 @@ -/* libgdbr - LGPL - Copyright 2017-2018 - srimanta.barua1 */ +// SPDX-FileCopyrightText: 2017-2018 srimanta.barua1 +// SPDX-License-Identifier: LGPL-3.0-only #include "gdbclient/xml.h" #include "gdbclient/commands.h" diff --git a/shlr/gdb/src/libgdbr.c b/shlr/gdb/src/libgdbr.c index 32fa4f63d8..252fdac109 100644 --- a/shlr/gdb/src/libgdbr.c +++ b/shlr/gdb/src/libgdbr.c @@ -1,4 +1,5 @@ -/* libgdbr - LGPL - Copyright 2014 - defragger */ +// SPDX-FileCopyrightText: 2014 defragger +// SPDX-License-Identifier: LGPL-3.0-only #include "libgdbr.h" #include "arch.h" diff --git a/shlr/gdb/src/packet.c b/shlr/gdb/src/packet.c index e4123387d1..4b24a802d4 100644 --- a/shlr/gdb/src/packet.c +++ b/shlr/gdb/src/packet.c @@ -1,4 +1,5 @@ -/* libgdbr - LGPL - Copyright 2014-2016 - defragger */ +// SPDX-FileCopyrightText: 2014-2016 defragger +// SPDX-License-Identifier: LGPL-3.0-only #include "packet.h" #include "utils.h" diff --git a/shlr/gdb/src/utils.c b/shlr/gdb/src/utils.c index 910ff83db8..893e121d42 100644 --- a/shlr/gdb/src/utils.c +++ b/shlr/gdb/src/utils.c @@ -1,4 +1,5 @@ -/* libgdbr - LGPL - Copyright 2014 - defragger */ +// SPDX-FileCopyrightText: 2014 defragger +// SPDX-License-Identifier: LGPL-3.0-only #include "rz_types.h" #include "rz_util.h" diff --git a/shlr/qnx/include/dsmsgs.h b/shlr/qnx/include/dsmsgs.h index a676b2c19f..2f0e58b226 100644 --- a/shlr/qnx/include/dsmsgs.h +++ b/shlr/qnx/include/dsmsgs.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2003 Free Software Foundation, Inc. +// SPDX-FileCopyrightText: 2005 QNX Software Systems +// SPDX-License-Identifier: GPL-2.0-or-later + /* * $QNXtpLicenseC: * Copyright 2005, QNX Software Systems. All Rights Reserved. diff --git a/shlr/qnx/include/gdb_signals.h b/shlr/qnx/include/gdb_signals.h index d21b29a619..475db304b7 100644 --- a/shlr/qnx/include/gdb_signals.h +++ b/shlr/qnx/include/gdb_signals.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. +// SPDX-License-Identifier: GPL-3.0-or-later + /* Target signal numbers for GDB and the GDB remote protocol. Copyright 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. diff --git a/shlr/qnx/src/core.c b/shlr/qnx/src/core.c index 9a71b148ef..943ef595b7 100644 --- a/shlr/qnx/src/core.c +++ b/shlr/qnx/src/core.c @@ -1,4 +1,7 @@ -/* libqnxr - GPL - Copyright 2016 - defragger, madprogrammer, FSF Inc */ +// SPDX-FileCopyrightText: 2016 defragger +// SPDX-FileCopyrightText: 2016 madprogrammer +// SPDX-FileCopyrightText: 2016 FSF Inc +// SPDX-License-Identifier: GPL-2.0-only #include #include diff --git a/shlr/qnx/src/packet.c b/shlr/qnx/src/packet.c index 0c991d66b2..044aedb07c 100644 --- a/shlr/qnx/src/packet.c +++ b/shlr/qnx/src/packet.c @@ -1,4 +1,6 @@ -/* libqnxr - GPL - Copyright 2014-2016 - defragger, madprogrammer */ +// SPDX-FileCopyrightText: 2014-2016 defragger +// SPDX-FileCopyrightText: 2014-2016 madprogrammer +// SPDX-License-Identifier: GPL-2.0-only #include #include "packet.h" diff --git a/shlr/qnx/src/sigutil.c b/shlr/qnx/src/sigutil.c index 7046543e7f..821bf6d289 100644 --- a/shlr/qnx/src/sigutil.c +++ b/shlr/qnx/src/sigutil.c @@ -1,4 +1,6 @@ -/* libqnxr - GPL - Copyright 2016 - madprogrammer, FSF Inc */ +// SPDX-FileCopyrightText: 2016 madprogrammer +// SPDX-FileCopyrightText: 2016 FSF Inc +// SPDX-License-Identifier: GPL-2.0-only #include #include "gdb_signals.h" diff --git a/shlr/qnx/src/utils.c b/shlr/qnx/src/utils.c index 83d936941e..3eaa2309de 100644 --- a/shlr/qnx/src/utils.c +++ b/shlr/qnx/src/utils.c @@ -1,4 +1,6 @@ -/* libqnxr - GPL - Copyright 2016 - madprogrammer, FSF Inc */ +// SPDX-FileCopyrightText: 2016 madprogrammer +// SPDX-FileCopyrightText: 2016 FSF Inc +// SPDX-License-Identifier: GPL-2.0-only #include #include diff --git a/shlr/rizin-shell-parser/grammar.js b/shlr/rizin-shell-parser/grammar.js index 20c1bd6eca..259c75867d 100644 --- a/shlr/rizin-shell-parser/grammar.js +++ b/shlr/rizin-shell-parser/grammar.js @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + const SPECIAL_CHARACTERS = ["\\s", "@", "|", "#", '"', "'", ">", ";", "$", "`", "~", "\\", ",", "(", ")"]; const PF_SPECIAL_CHARACTERS = ["\\s", "@", "|", "#", '"', "'", ">", ";", "$", "`", "~", "\\", "(", ")"]; diff --git a/shlr/rizin-shell-parser/src/scanner.c b/shlr/rizin-shell-parser/src/scanner.c index f443232b20..639b6427e7 100644 --- a/shlr/rizin-shell-parser/src/scanner.c +++ b/shlr/rizin-shell-parser/src/scanner.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/shlr/spp/rz_api.c b/shlr/spp/rz_api.c index e2c3bcb4e2..99be85bfbd 100644 --- a/shlr/spp/rz_api.c +++ b/shlr/spp/rz_api.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2013-2020 - pancake */ +// SPDX-FileCopyrightText: 2013-2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #if __UNIX__ #include diff --git a/shlr/tcc/libtcc.c b/shlr/tcc/libtcc.c index 933d93d9d7..f18bfbb183 100644 --- a/shlr/tcc/libtcc.c +++ b/shlr/tcc/libtcc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* * TCC - Tiny C Compiler * diff --git a/shlr/tcc/libtcc.h b/shlr/tcc/libtcc.h index 9750815ba3..d384078ee3 100644 --- a/shlr/tcc/libtcc.h +++ b/shlr/tcc/libtcc.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + #ifndef LIBTCC_H #define LIBTCC_H diff --git a/shlr/tcc/stab.def b/shlr/tcc/stab.def index 48ea231e60..892e42ad99 100644 --- a/shlr/tcc/stab.def +++ b/shlr/tcc/stab.def @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 1988, 1997 Free Software Foundation, Inc. +// SPDX-License-Identifier: LGPL-2.0-or-later + /* Table of DBX symbol codes for the GNU system. Copyright (C) 1988, 1997 Free Software Foundation, Inc. This file is part of the GNU C Library. diff --git a/shlr/tcc/stab.h b/shlr/tcc/stab.h index 1bf4d61e36..b0a19c5ca2 100644 --- a/shlr/tcc/stab.h +++ b/shlr/tcc/stab.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + #ifndef __GNU_STAB__ /* Indicate the GNU stab.h is in use. */ diff --git a/shlr/tcc/tcc.h b/shlr/tcc/tcc.h index 38c9ffe42b..1cdb097719 100644 --- a/shlr/tcc/tcc.h +++ b/shlr/tcc/tcc.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* * TCC - Tiny C Compiler * diff --git a/shlr/tcc/tcc_config.h b/shlr/tcc/tcc_config.h index c47f2f9d64..e205baba21 100644 --- a/shlr/tcc/tcc_config.h +++ b/shlr/tcc/tcc_config.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* Automatically generated by configure - do not modify */ #ifndef CONFIG_TCCDIR #define CONFIG_TCCDIR "/usr/local/lib/tcc" diff --git a/shlr/tcc/tccgen.c b/shlr/tcc/tccgen.c index b64b817f0c..968f0449bb 100644 --- a/shlr/tcc/tccgen.c +++ b/shlr/tcc/tccgen.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* * TCC - Tiny C Compiler * diff --git a/shlr/tcc/tcclib.h b/shlr/tcc/tcclib.h index 8a66ea94e7..e9add5cd01 100644 --- a/shlr/tcc/tcclib.h +++ b/shlr/tcc/tcclib.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* Simple libc header for TCC * * Add any function you want from the libc there. This file is here diff --git a/shlr/tcc/tccpp.c b/shlr/tcc/tccpp.c index 130ad6a8e7..ef7930d73c 100644 --- a/shlr/tcc/tccpp.c +++ b/shlr/tcc/tccpp.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* * TCC - Tiny C Compiler * diff --git a/shlr/tcc/tcctok.h b/shlr/tcc/tcctok.h index fe76f33662..c889e66610 100644 --- a/shlr/tcc/tcctok.h +++ b/shlr/tcc/tcctok.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2001-2004 Fabrice Bellard +// SPDX-License-Identifier: LGPL-2.0-or-later + /* keywords */ /* Here we define intN_t as an atoms * due to the specific application of this parser */ diff --git a/shlr/winkd/iob_net.c b/shlr/winkd/iob_net.c index df1c78aa43..83123accee 100644 --- a/shlr/winkd/iob_net.c +++ b/shlr/winkd/iob_net.c @@ -1,4 +1,5 @@ -// Copyright (c) 2014-2020, abcSup, All rights reserved. LGPLv3 +// SPDX-FileCopyrightText: 2014-2020 abcSup +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/shlr/winkd/iob_pipe.c b/shlr/winkd/iob_pipe.c index 7315a66d7f..66f3020d7b 100644 --- a/shlr/winkd/iob_pipe.c +++ b/shlr/winkd/iob_pipe.c @@ -1,4 +1,5 @@ -// Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/shlr/winkd/kd.c b/shlr/winkd/kd.c index a6b826b3be..e2cf4c296e 100644 --- a/shlr/winkd/kd.c +++ b/shlr/winkd/kd.c @@ -1,4 +1,5 @@ -// Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/shlr/winkd/kd.h b/shlr/winkd/kd.h index a18cf1fef0..a7b77a2208 100644 --- a/shlr/winkd/kd.h +++ b/shlr/winkd/kd.h @@ -1,4 +1,6 @@ -// Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only + #ifndef KD_H #define KD_H #include diff --git a/shlr/winkd/transport.c b/shlr/winkd/transport.c index 42dac244b6..107362bbb6 100644 --- a/shlr/winkd/transport.c +++ b/shlr/winkd/transport.c @@ -1,4 +1,5 @@ -// Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only #include #include "transport.h" diff --git a/shlr/winkd/winkd.c b/shlr/winkd/winkd.c index 83463f380e..5c57a54796 100644 --- a/shlr/winkd/winkd.c +++ b/shlr/winkd/winkd.c @@ -1,4 +1,5 @@ -// Copyright (c) 2014-2017, The Lemon Man, All rights reserved. LGPLv3 +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only #include #include #include diff --git a/shlr/winkd/winkd.h b/shlr/winkd/winkd.h index f798bd0381..d6339fc228 100644 --- a/shlr/winkd/winkd.h +++ b/shlr/winkd/winkd.h @@ -1,17 +1,5 @@ -// Copyright (c) 2014, The Lemon Man, All rights reserved. - -// 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 3.0 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. +// SPDX-FileCopyrightText: 2014-2017 The Lemon Man +// SPDX-License-Identifier: LGPL-3.0-only #ifndef _winkd_H_ #define _winkd_H_ diff --git a/snapcraft.yaml b/snapcraft.yaml index c45f5cafb8..3718e9b63e 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2018 Simos Xenitellis +# SPDX-License-Identifier: LGPL-3.0-only + name: rizin version: '4.5.0' base: core18 diff --git a/subprojects/xxhash/xxhash.c b/subprojects/xxhash/xxhash.c index da06ea72bf..0bd8f7ae50 100644 --- a/subprojects/xxhash/xxhash.c +++ b/subprojects/xxhash/xxhash.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012-2016, Yann Collet +// SPDX-License-Identifier: BSD-2-Clause + /* * xxHash - Fast Hash algorithm * Copyright (C) 2012-2016, Yann Collet diff --git a/subprojects/xxhash/xxhash.h b/subprojects/xxhash/xxhash.h index d6bad94335..b458aa12a3 100644 --- a/subprojects/xxhash/xxhash.h +++ b/subprojects/xxhash/xxhash.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2012-2016, Yann Collet +// SPDX-License-Identifier: BSD-2-Clause + /* xxHash - Extremely Fast Hash algorithm Header File diff --git a/subprojects/yxml/yxml.c b/subprojects/yxml/yxml.c index 23d04a9725..154b4ea571 100644 --- a/subprojects/yxml/yxml.c +++ b/subprojects/yxml/yxml.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2013-2014 Yoran Heling +// SPDX-License-Identifier: MIT + /* This file is generated by yxml-gen.pl using yxml-states and yxml.c.in as input files. * It is preferable to edit those files instead of this one if you want to make a change. * The source files can be found through the homepage: https://dev.yorhel.nl/yxml */ diff --git a/subprojects/yxml/yxml.h b/subprojects/yxml/yxml.h index a0cc5f9d70..16b259d537 100644 --- a/subprojects/yxml/yxml.h +++ b/subprojects/yxml/yxml.h @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2013-2014 Yoran Heling +// SPDX-License-Identifier: MIT + /* Copyright (c) 2013-2014 Yoran Heling Permission is hereby granted, free of charge, to any person obtaining diff --git a/sys/check_meson_subproject.py b/sys/check_meson_subproject.py index 26c1bf8f16..3d58bb3526 100644 --- a/sys/check_meson_subproject.py +++ b/sys/check_meson_subproject.py @@ -1,5 +1,8 @@ #!/usr/bin/env python # +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only +# # This script is necessary to make sure people notice a subproject has been # changed and need to be updated. Meson does not warn you now (0.56.0) diff --git a/sys/clang-format.py b/sys/clang-format.py index 7f9b450317..ea8b0b7de1 100755 --- a/sys/clang-format.py +++ b/sys/clang-format.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# +# SPDX-FileCopyrightText: 2021 Anton Kochkov +# SPDX-License-Identifier: LGPL-3.0-only import argparse import glob diff --git a/sys/create_tags_rz.py b/sys/create_tags_rz.py index 2af4485d33..50c1ad0036 100644 --- a/sys/create_tags_rz.py +++ b/sys/create_tags_rz.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only """ Portable python script to create tags.rz file from a list of files """ diff --git a/sys/macos-cert.sh b/sys/macos-cert.sh index 5a34ed9628..f76749ec25 100755 --- a/sys/macos-cert.sh +++ b/sys/macos-cert.sh @@ -1,5 +1,8 @@ #!/bin/sh # Credits to https://github.com/derekparker/delve/blob/master/scripts/gencert.sh +# +# SPDX-FileCopyrightText: 2014 Derek Parker +# SPDX-License-Identifier: MIT # Check if the certificate is already present in the system keychain security find-certificate -Z -p -c "re.rizin.rizin" /Library/Keychains/System.keychain > /dev/null 2>&1 diff --git a/sys/meson_git_wrapper.py b/sys/meson_git_wrapper.py index 005b03745b..646672d8bc 100755 --- a/sys/meson_git_wrapper.py +++ b/sys/meson_git_wrapper.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only """ Portable python script to execute git -C (even on system where -C is not available) """ diff --git a/sys/sdb_version.py b/sys/sdb_version.py index 6c22ce4cad..4f59dfa96f 100644 --- a/sys/sdb_version.py +++ b/sys/sdb_version.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only """ Portable python script to read version from configure.acr """ diff --git a/sys/syscall_preprocessing.py b/sys/syscall_preprocessing.py index 8d3732650c..9b1b8a75f9 100644 --- a/sys/syscall_preprocessing.py +++ b/sys/syscall_preprocessing.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only """ Portable python script to preprocess syscall/d files """ diff --git a/sys/version.py b/sys/version.py index cbb72c7865..0f1154fbf0 100755 --- a/sys/version.py +++ b/sys/version.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only """ Portable python script to read version from meson.build until meson provides a proper way """ diff --git a/test/unit/auxiliary/subprocess-helloworld.c b/test/unit/auxiliary/subprocess-helloworld.c index f06f8ffc1f..4f2191afb0 100644 --- a/test/unit/auxiliary/subprocess-helloworld.c +++ b/test/unit/auxiliary/subprocess-helloworld.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/test/unit/auxiliary/subprocess-interactive.c b/test/unit/auxiliary/subprocess-interactive.c index a5ff981929..b933fa7d6f 100644 --- a/test/unit/auxiliary/subprocess-interactive.c +++ b/test/unit/auxiliary/subprocess-interactive.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/test/unit/auxiliary/subprocess-multiargs.c b/test/unit/auxiliary/subprocess-multiargs.c index 99b3135c05..a302e50f83 100644 --- a/test/unit/auxiliary/subprocess-multiargs.c +++ b/test/unit/auxiliary/subprocess-multiargs.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/test/unit/auxiliary/subprocess-stdin.c b/test/unit/auxiliary/subprocess-stdin.c index 233661f2c9..4cefe06c02 100644 --- a/test/unit/auxiliary/subprocess-stdin.c +++ b/test/unit/auxiliary/subprocess-stdin.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/test/unit/legacy_unit/debug/main.c b/test/unit/legacy_unit/debug/main.c index 9bd92ac5bc..1c974c7a81 100644 --- a/test/unit/legacy_unit/debug/main.c +++ b/test/unit/legacy_unit/debug/main.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2010 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/test/unit/legacy_unit/egg/test.c b/test/unit/legacy_unit/egg/test.c index 2e199c651b..ab6413412b 100644 --- a/test/unit/legacy_unit/egg/test.c +++ b/test/unit/legacy_unit/egg/test.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2011-2012 pancake // SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/test/unit/legacy_unit/util/array.c b/test/unit/legacy_unit/util/array.c index ff3f8bad9a..9697c5e852 100644 --- a/test/unit/legacy_unit/util/array.c +++ b/test/unit/legacy_unit/util/array.c @@ -1,3 +1,4 @@ +// SPDX-FileCopyrightText: 2009-2011 pancake // SPDX-License-Identifier: LGPL-3.0-only #include "rz_util.h" diff --git a/test/unit/minunit.h b/test/unit/minunit.h index f9a736d0eb..d96757d15b 100644 --- a/test/unit/minunit.h +++ b/test/unit/minunit.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2015 Jeffrey Crowell +// SPDX-FileCopyrightText: 2018 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + // minunit.h comes from http://www.jera.com/techinfo/jtns/jtn002.html // // You may use the code in this tech note for any purpose, diff --git a/test/unit/mock_io.inl b/test/unit/mock_io.inl index 67eb3abb2b..061a684b99 100644 --- a/test/unit/mock_io.inl +++ b/test/unit/mock_io.inl @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/test/unit/test_addr_interval.c b/test/unit/test_addr_interval.c index 7a73324a51..db896c10fd 100644 --- a/test/unit/test_addr_interval.c +++ b/test/unit/test_addr_interval.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 Fangrui Song +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_agraph.c b/test/unit/test_agraph.c index 58188b4195..ae47280ff4 100644 --- a/test/unit/test_agraph.c +++ b/test/unit/test_agraph.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_analysis_block.c b/test/unit/test_analysis_block.c index d93e02d950..03b392fc66 100644 --- a/test/unit/test_analysis_block.c +++ b/test/unit/test_analysis_block.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_analysis_block_invars.inl b/test/unit/test_analysis_block_invars.inl index a36626fcbc..fa909fb53d 100644 --- a/test/unit/test_analysis_block_invars.inl +++ b/test/unit/test_analysis_block_invars.inl @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only static bool block_check_invariants(RzAnalysis *analysis) { RBIter iter; diff --git a/test/unit/test_analysis_cc.c b/test/unit/test_analysis_cc.c index a3a8e6e0df..dc7d1d0e35 100644 --- a/test/unit/test_analysis_cc.c +++ b/test/unit/test_analysis_cc.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_analysis_class_graph.c b/test/unit/test_analysis_class_graph.c index 997f565305..575cfe5a26 100644 --- a/test/unit/test_analysis_class_graph.c +++ b/test/unit/test_analysis_class_graph.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_analysis_function.c b/test/unit/test_analysis_function.c index 6dce6eadb3..4b9a641098 100644 --- a/test/unit/test_analysis_function.c +++ b/test/unit/test_analysis_function.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_analysis_hints.c b/test/unit/test_analysis_hints.c index 178cef1f48..71e9e4ba3a 100644 --- a/test/unit/test_analysis_hints.c +++ b/test/unit/test_analysis_hints.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/test/unit/test_analysis_meta.c b/test/unit/test_analysis_meta.c index 446aa33a70..010075fd20 100644 --- a/test/unit/test_analysis_meta.c +++ b/test/unit/test_analysis_meta.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include diff --git a/test/unit/test_analysis_types.c b/test/unit/test_analysis_types.c index 7604bc85d6..e52f66d662 100644 --- a/test/unit/test_analysis_types.c +++ b/test/unit/test_analysis_types.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/test/unit/test_analysis_var.c b/test/unit/test_analysis_var.c index c7a20d1e52..554dabc799 100644 --- a/test/unit/test_analysis_var.c +++ b/test/unit/test_analysis_var.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_analysis_xrefs.c b/test/unit/test_analysis_xrefs.c index 748f0b29dc..ae7d3a8a75 100644 --- a/test/unit/test_analysis_xrefs.c +++ b/test/unit/test_analysis_xrefs.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 xvilka +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_annotated_code.c b/test/unit/test_annotated_code.c index 6e4aed8043..c864062d53 100644 --- a/test/unit/test_annotated_code.c +++ b/test/unit/test_annotated_code.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 NIRMAL MANOJ C +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_autocmplt.c b/test/unit/test_autocmplt.c index bace633fee..ffa972b51c 100644 --- a/test/unit/test_autocmplt.c +++ b/test/unit/test_autocmplt.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_base64.c b/test/unit/test_base64.c index 0bed564f47..689c059bc7 100644 --- a/test/unit/test_base64.c +++ b/test/unit/test_base64.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_big.c b/test/unit/test_big.c index acb83a476b..b491f46d5d 100644 --- a/test/unit/test_big.c +++ b/test/unit/test_big.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 FXTi +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_bin.c b/test/unit/test_bin.c index 0d9a301caf..d305a32dbf 100644 --- a/test/unit/test_bin.c +++ b/test/unit/test_bin.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #include diff --git a/test/unit/test_binheap.c b/test/unit/test_binheap.c index 7ac10143a1..701a126132 100644 --- a/test/unit/test_binheap.c +++ b/test/unit/test_binheap.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_bitmap.c b/test/unit/test_bitmap.c index cc383df31e..1e0197eae2 100644 --- a/test/unit/test_bitmap.c +++ b/test/unit/test_bitmap.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_buf.c b/test/unit/test_buf.c index 18b966c6cd..ade66568a5 100644 --- a/test/unit/test_buf.c +++ b/test/unit/test_buf.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 xarkes +// SPDX-FileCopyrightText: 2019 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_cmd.c b/test/unit/test_cmd.c index fda7a2a749..49430476b3 100644 --- a/test/unit/test_cmd.c +++ b/test/unit/test_cmd.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_config.c b/test/unit/test_config.c index abceb927f4..f234f866a1 100644 --- a/test/unit/test_config.c +++ b/test/unit/test_config.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 Anton Kochkov +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_cons.c b/test/unit/test_cons.c index d2ca12fbf2..5ae1876c7b 100644 --- a/test/unit/test_cons.c +++ b/test/unit/test_cons.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_contrbtree.c b/test/unit/test_contrbtree.c index ed802a4091..42c1d6f424 100644 --- a/test/unit/test_contrbtree.c +++ b/test/unit/test_contrbtree.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_core_cmd.c b/test/unit/test_core_cmd.c index 59b587cff3..572c2f4bb5 100644 --- a/test/unit/test_core_cmd.c +++ b/test/unit/test_core_cmd.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_core_seek.c b/test/unit/test_core_seek.c index ec768258b6..8260252771 100644 --- a/test/unit/test_core_seek.c +++ b/test/unit/test_core_seek.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_core_task.c b/test/unit/test_core_task.c index ad09e26f9f..225f4798f0 100644 --- a/test/unit/test_core_task.c +++ b/test/unit/test_core_task.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_debruijn.c b/test/unit/test_debruijn.c index 1a1e95d006..67f62ff4cb 100644 --- a/test/unit/test_debruijn.c +++ b/test/unit/test_debruijn.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_debug.c b/test/unit/test_debug.c index a9419bba88..168f354704 100644 --- a/test/unit/test_debug.c +++ b/test/unit/test_debug.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Khairulmizam Samsudin +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #if __linux__ diff --git a/test/unit/test_debug_session.c b/test/unit/test_debug_session.c index cb55172dfe..f350f08eeb 100644 --- a/test/unit/test_debug_session.c +++ b/test/unit/test_debug_session.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Zi Fan +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_diff.c b/test/unit/test_diff.c index d59c1cf83f..3b601facb8 100644 --- a/test/unit/test_diff.c +++ b/test/unit/test_diff.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 lonetech +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_dwarf.c b/test/unit/test_dwarf.c index 51355eceab..bcfdb15ed4 100644 --- a/test/unit/test_dwarf.c +++ b/test/unit/test_dwarf.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #include diff --git a/test/unit/test_dwarf_info.c b/test/unit/test_dwarf_info.c index ba8b01e235..de552a9c36 100644 --- a/test/unit/test_dwarf_info.c +++ b/test/unit/test_dwarf_info.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #include diff --git a/test/unit/test_dwarf_integration.c b/test/unit/test_dwarf_integration.c index ac21ce55a2..804c3397d7 100644 --- a/test/unit/test_dwarf_integration.c +++ b/test/unit/test_dwarf_integration.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_esil_dfg_filter.c b/test/unit/test_esil_dfg_filter.c index cd9c5cce9f..ceb4b87387 100644 --- a/test/unit/test_esil_dfg_filter.c +++ b/test/unit/test_esil_dfg_filter.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_event.c b/test/unit/test_event.c index cbabc253c2..d8a292ddf8 100644 --- a/test/unit/test_event.c +++ b/test/unit/test_event.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2019 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include #include "minunit.h" diff --git a/test/unit/test_file.c b/test/unit/test_file.c index 3db5f045a7..0273ec8ee8 100644 --- a/test/unit/test_file.c +++ b/test/unit/test_file.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_flags.c b/test/unit/test_flags.c index 68312e9a26..e8590b0b73 100644 --- a/test/unit/test_flags.c +++ b/test/unit/test_flags.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 xarkes +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_glob.c b/test/unit/test_glob.c index 31a7342af8..878b9a22f7 100644 --- a/test/unit/test_glob.c +++ b/test/unit/test_glob.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Maijin +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_graph.c b/test/unit/test_graph.c index b349af3f6b..0fccd3a430 100644 --- a/test/unit/test_graph.c +++ b/test/unit/test_graph.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_hex.c b/test/unit/test_hex.c index 8c53c6fc4e..040780dd4e 100644 --- a/test/unit/test_hex.c +++ b/test/unit/test_hex.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 kriw +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_id_storage.c b/test/unit/test_id_storage.c index 2a69821c1d..99540f684a 100644 --- a/test/unit/test_id_storage.c +++ b/test/unit/test_id_storage.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_idpool.c b/test/unit/test_idpool.c index 9fff06a446..4768003e58 100644 --- a/test/unit/test_idpool.c +++ b/test/unit/test_idpool.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_idstorage.c b/test/unit/test_idstorage.c index 7942fda261..9ef91b4a54 100644 --- a/test/unit/test_idstorage.c +++ b/test/unit/test_idstorage.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_intervaltree.c b/test/unit/test_intervaltree.c index d99ed71e7e..c9fd429cc7 100644 --- a/test/unit/test_intervaltree.c +++ b/test/unit/test_intervaltree.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_io.c b/test/unit/test_io.c index 5390cee6b3..635da8b360 100644 --- a/test/unit/test_io.c +++ b/test/unit/test_io.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 condret +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_json.c b/test/unit/test_json.c index e5e95860dc..bd8c90088e 100644 --- a/test/unit/test_json.c +++ b/test/unit/test_json.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 thestr4ng3r +// SPDX-FileCopyrightText: 2020 Yaroslav Stavnichiy // SPDX-License-Identifier: LGPL-3.0-only /* rz_json based on nxjson by Yaroslav Stavnichiy */ diff --git a/test/unit/test_list.c b/test/unit/test_list.c index 1bf896998f..2db83eaeb8 100644 --- a/test/unit/test_list.c +++ b/test/unit/test_list.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2015 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #define BUF_LENGTH 100 diff --git a/test/unit/test_ovf.c b/test/unit/test_ovf.c index 0ece686b54..c2026900ea 100644 --- a/test/unit/test_ovf.c +++ b/test/unit/test_ovf.c @@ -1,4 +1,5 @@ -/* rizin - LGPL - Copyright 2020 - pancake */ +// SPDX-FileCopyrightText: 2020 pancake +// SPDX-License-Identifier: LGPL-3.0-only #include #include "minunit.h" diff --git a/test/unit/test_parse_ctype.c b/test/unit/test_parse_ctype.c index 1c4e9dc51d..948eecc116 100644 --- a/test/unit/test_parse_ctype.c +++ b/test/unit/test_parse_ctype.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_pdb.c b/test/unit/test_pdb.c index 33e0f88ecb..97af8b40fe 100644 --- a/test/unit/test_pdb.c +++ b/test/unit/test_pdb.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 HoundThe +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #include diff --git a/test/unit/test_pj.c b/test/unit/test_pj.c index ae428bea5b..65bc8396b6 100644 --- a/test/unit/test_pj.c +++ b/test/unit/test_pj.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_queue.c b/test/unit/test_queue.c index d86a231645..77e830f4dd 100644 --- a/test/unit/test_queue.c +++ b/test/unit/test_queue.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_rbtree.c b/test/unit/test_rbtree.c index 2a6a49e68c..35137c44e3 100644 --- a/test/unit/test_rbtree.c +++ b/test/unit/test_rbtree.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 Fangrui Song +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_reg.c b/test/unit/test_reg.c index 742fc304dc..5af77951d0 100644 --- a/test/unit/test_reg.c +++ b/test/unit/test_reg.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Khairulmizam Samsudin +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_rz_test.c b/test/unit/test_rz_test.c index 95f5c8ea12..ae4b060866 100644 --- a/test/unit/test_rz_test.c +++ b/test/unit/test_rz_test.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #define main not_main #include "../../binrz/rz-test/rz-test.c" diff --git a/test/unit/test_rzpipe.c b/test/unit/test_rzpipe.c index d88a8699b5..3f77217e7e 100644 --- a/test/unit/test_rzpipe.c +++ b/test/unit/test_rzpipe.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_serialize_analysis.c b/test/unit/test_serialize_analysis.c index 7e3e9b0303..4c122dea65 100644 --- a/test/unit/test_serialize_analysis.c +++ b/test/unit/test_serialize_analysis.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include #include diff --git a/test/unit/test_serialize_config.c b/test/unit/test_serialize_config.c index 7742d43570..eb5a0389c8 100644 --- a/test/unit/test_serialize_config.c +++ b/test/unit/test_serialize_config.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include #include "minunit.h" diff --git a/test/unit/test_serialize_flag.c b/test/unit/test_serialize_flag.c index 052e8f0a36..3b0d7fa0db 100644 --- a/test/unit/test_serialize_flag.c +++ b/test/unit/test_serialize_flag.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include #include "minunit.h" diff --git a/test/unit/test_serialize_spaces.c b/test/unit/test_serialize_spaces.c index 8f6d589059..4ff4c335b6 100644 --- a/test/unit/test_serialize_spaces.c +++ b/test/unit/test_serialize_spaces.c @@ -1,3 +1,5 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only #include #include "minunit.h" diff --git a/test/unit/test_sign.c b/test/unit/test_sign.c index 17a429926a..7cfbba6898 100644 --- a/test/unit/test_sign.c +++ b/test/unit/test_sign.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include diff --git a/test/unit/test_skiplist.c b/test/unit/test_skiplist.c index 91de98fa16..169773e82f 100644 --- a/test/unit/test_skiplist.c +++ b/test/unit/test_skiplist.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 Lowly Worm +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_skyline.c b/test/unit/test_skyline.c index 72cfc6c4c0..cd303bfff0 100644 --- a/test/unit/test_skyline.c +++ b/test/unit/test_skyline.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 GustavoLCR +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/test/unit/test_spaces.c b/test/unit/test_spaces.c index 9926a841e8..1514544049 100644 --- a/test/unit/test_spaces.c +++ b/test/unit/test_spaces.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_sparse.c b/test/unit/test_sparse.c index a441e3b000..7a42a99456 100644 --- a/test/unit/test_sparse.c +++ b/test/unit/test_sparse.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 Maijin +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_stack.c b/test/unit/test_stack.c index 5375046f8b..4499eb01e7 100644 --- a/test/unit/test_stack.c +++ b/test/unit/test_stack.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_str.c b/test/unit/test_str.c index d9725dc2e8..2d50f20aef 100644 --- a/test/unit/test_str.c +++ b/test/unit/test_str.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_strbuf.c b/test/unit/test_strbuf.c index e58b2ff4b3..3de849befd 100644 --- a/test/unit/test_strbuf.c +++ b/test/unit/test_strbuf.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 radare +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_subprocess.c b/test/unit/test_subprocess.c index 72a6e2435b..bdfe986cbb 100644 --- a/test/unit/test_subprocess.c +++ b/test/unit/test_subprocess.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_table.c b/test/unit/test_table.c index af26849a32..6633c379d8 100644 --- a/test/unit/test_table.c +++ b/test/unit/test_table.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 pancake +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" #define BUF_LENGTH 100 diff --git a/test/unit/test_task.c b/test/unit/test_task.c index 843094e0c5..77d6cb4e91 100644 --- a/test/unit/test_task.c +++ b/test/unit/test_task.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2020 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_tree.c b/test/unit/test_tree.c index e93b3a8420..167f967d62 100644 --- a/test/unit/test_tree.c +++ b/test/unit/test_tree.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2016 Jeffrey Crowell +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_uleb128.c b/test/unit/test_uleb128.c index 6e5b59082a..a1a059f06c 100644 --- a/test/unit/test_uleb128.c +++ b/test/unit/test_uleb128.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2019 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include diff --git a/test/unit/test_unum.c b/test/unit/test_unum.c index e31646a05c..76de2da026 100644 --- a/test/unit/test_unum.c +++ b/test/unit/test_unum.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2017 kriw +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_util.c b/test/unit/test_util.c index 5247e78d7c..7415428bde 100644 --- a/test/unit/test_util.c +++ b/test/unit/test_util.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2018 ret2libc +// SPDX-License-Identifier: LGPL-3.0-only + #include #include "minunit.h" diff --git a/test/unit/test_vector.c b/test/unit/test_vector.c index 9c54127335..f15ceaa117 100644 --- a/test/unit/test_vector.c +++ b/test/unit/test_vector.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2018 Florian Märkl +// SPDX-License-Identifier: LGPL-3.0-only + #include #include #include "minunit.h" diff --git a/travis-extract-var.sh b/travis-extract-var.sh index 8f2de6e555..dc361be08d 100644 --- a/travis-extract-var.sh +++ b/travis-extract-var.sh @@ -1,4 +1,7 @@ #!/bin/bash +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only print_var() { diff --git a/travis-script b/travis-script index 01ee2701b7..4ea9bb6c79 100644 --- a/travis-script +++ b/travis-script @@ -1,4 +1,8 @@ #!/bin/bash +# +# SPDX-FileCopyrightText: 2021 ret2libc +# SPDX-License-Identifier: LGPL-3.0-only + set -x export PATH=${TRAVIS_BUILD_DIR}/install/bin:${PATH}