Skip to content

Commit

Permalink
Add some missing copyright marks
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Mar 8, 2021
1 parent b035033 commit c319449
Show file tree
Hide file tree
Showing 52 changed files with 112 additions and 7 deletions.
4 changes: 4 additions & 0 deletions librz/analysis/arch/hexagon/hexagon_analysis.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// THIS FILE IS AUTOGENERATED - SEE IMPORTER.PY FILE

// SPDX-FileCopyrightText: 2018-2021 Anton Kochkov <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <stdio.h>
#include <stdbool.h>
#include <rz_types.h>
Expand Down
3 changes: 3 additions & 0 deletions librz/analysis/arch/hexagon/hexagon_analysis.h
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
// SPDX-FileCopyrightText: 2018-2021 Anton Kochkov <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

int hexagon_analysis_instruction(HexInsn *hi, RzAnalysisOp *op);
2 changes: 2 additions & 0 deletions librz/asm/arch/hexagon/hexagon.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2018-2021 Anton Kochkov <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <stdio.h>
#include <stdbool.h>
#include <rz_types.h>
Expand Down
4 changes: 3 additions & 1 deletion librz/asm/arch/hexagon/hexagon.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// Predicates - declare the predicate state
// SPDX-FileCopyrightText: 2018-2021 Anton Kochkov <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#ifndef HEXAGON_H
#define HEXAGON_H

// Predicates - declare the predicate state
typedef enum {
HEX_NOPRED, // no conditional execution
HEX_PRED_TRUE, // if (Pd) ...
Expand Down
4 changes: 4 additions & 0 deletions librz/asm/arch/hexagon/hexagon_disas.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// THIS FILE IS AUTOGENERATED - SEE IMPORTER.PY FILE

// SPDX-FileCopyrightText: 2018-2021 Anton Kochkov <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <stdio.h>
#include <stdbool.h>
#include <rz_types.h>
Expand Down
5 changes: 5 additions & 0 deletions librz/asm/arch/hexagon/hexagon_insn.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// THIS FILE IS AUTOGENERATED - SEE IMPORTER.PY FILE

// SPDX-FileCopyrightText: 2018-2021 Anton Kochkov <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#ifndef HEXAGON_INSN_H
#define HEXAGON_INSN_H

Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

static version_opcode version_op[] = {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_10.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_10(void) {
Expand Down
1 change: 1 addition & 0 deletions librz/asm/arch/pyc/opcode_11.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_12.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_12(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_13.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_13(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_14.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_14(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_15.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_15(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_16.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_16(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_20.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_20(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_21.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_21(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_22.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_22(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_23.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_23(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_24.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_24(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_25.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_25(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_26.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_26(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_27.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_27(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_2x.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_2x(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_30.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_30(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_31.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_31(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_32.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_32(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_33.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_33(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_34.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_34(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_35.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_35(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_36.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_36(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_37.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_37(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_38.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_38(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_39.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_39(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_3x.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

pyc_opcodes *opcode_3x(void) {
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_analysis.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

// The actual code of one opcode varies across the versions.
Expand Down
2 changes: 2 additions & 0 deletions librz/asm/arch/pyc/opcode_arg_fmt.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "opcode.h"

const char *format_extended_arg(ut32 oparg) {
Expand Down
2 changes: 2 additions & 0 deletions librz/bin/pdb/dbi.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2014-2020 inisider <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "types.h"
#include "dbi.h"
#include "stream_file.h"
Expand Down
2 changes: 2 additions & 0 deletions librz/bin/pdb/fpo.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2014-2020 inisider <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "types.h"
#include "fpo.h"
#include "stream_file.h"
Expand Down
2 changes: 2 additions & 0 deletions librz/bin/pdb/gdata.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2014-2020 inisider <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "types.h"
#include "gdata.h"
#include "stream_file.h"
Expand Down
1 change: 1 addition & 0 deletions librz/config/serialize_config.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-FileCopyrightText: 2020 Florian Märkl <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_util/rz_serialize.h>
Expand Down
4 changes: 3 additions & 1 deletion librz/core/cagraph.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2014-2020 pancake <[email protected]>
// SPDX-FileCopyrightText: 2014-2021 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_core.h>
Expand Down Expand Up @@ -198,4 +200,4 @@ RZ_IPI void rz_core_agraph_print_gml(RzCore *core) {
rz_agraph_foreach(core->graph, agraph_print_node_gml, NULL);
rz_agraph_foreach_edge(core->graph, agraph_print_edge_gml, NULL);
rz_cons_print("]\n");
}
}
1 change: 1 addition & 0 deletions librz/core/cautocmpl.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-FileCopyrightText: 2020 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <tree_sitter/api.h>
Expand Down
3 changes: 3 additions & 0 deletions librz/core/cdebug.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2009-2020 pancake <[email protected]>
// SPDX-FileCopyrightText: 2021 Anton Kochkov <[email protected]>
// SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_core.h>
Expand Down
4 changes: 3 additions & 1 deletion librz/core/cmd_interpret.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// SPDX-FileCopyrightText: 2020 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_cmd.h>
#include <rz_core.h>
#include "cmd_descs/cmd_descs.h"
Expand Down Expand Up @@ -69,4 +71,4 @@ RZ_IPI RzCmdStatus rz_interpret_system_handler(RzCore *core, int argc, const cha
RZ_IPI RzCmdStatus rz_interpret_macro_handler(RzCore *core, int argc, const char **argv) {
rz_cmd_macro_call(&core->rcmd->macro, argv[1]);
return RZ_CMD_STATUS_OK;
}
}
2 changes: 2 additions & 0 deletions librz/core/cmd_plugins.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2009-2020 pancake <[email protected]>
// SPDX-FileCopyrightText: 2020 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <string.h>
Expand Down
6 changes: 5 additions & 1 deletion librz/core/cmd_remote.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// SPDX-FileCopyrightText: 2009-2020 nibble <[email protected]>
// SPDX-FileCopyrightText: 2009-2020 pancake <[email protected]>
// SPDX-FileCopyrightText: 2020 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include "rz_cmd.h"
#include "rz_core.h"

Expand Down Expand Up @@ -249,4 +253,4 @@ RZ_IPI RzCmdStatus rz_remote_tcp_handler(RzCore *core, int argc, const char **ar
return RZ_CMD_STATUS_OK;
}
return RZ_CMD_STATUS_ERROR;
}
}
1 change: 1 addition & 0 deletions librz/core/cmd_tasks.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-FileCopyrightText: 2020 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_cmd.h>
Expand Down
2 changes: 2 additions & 0 deletions librz/core/seek.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2009-2020 pancake <[email protected]>
// SPDX-FileCopyrightText: 2021 ret2libc <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_core.h>
Expand Down
1 change: 1 addition & 0 deletions librz/core/serialize_core.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-FileCopyrightText: 2020 Florian Märkl <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_util/rz_serialize.h>
Expand Down
1 change: 1 addition & 0 deletions librz/flag/serialize_flag.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-FileCopyrightText: 2020 Florian Märkl <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <rz_util/rz_serialize.h>
Expand Down
2 changes: 1 addition & 1 deletion librz/util/big.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2020 FXTi
// SPDX-FileCopyrightText: 2020 FXTi <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

/* Based on https://github.com/kokke/tiny-bignum-c.
Expand Down
4 changes: 2 additions & 2 deletions shlr/rar/cpu.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* RAR-VM assembler/disassembler by pancake for rizin with love */
/* this implementation is licensed under LGPLv3 - 2012 */
// SPDX-FileCopyrightText: 2012 pancake <[email protected]>
// SPDX-License-Identifier: LGPL-3.0-only

#include <stdio.h>
#include <string.h>
Expand Down

0 comments on commit c319449

Please sign in to comment.