1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2015 Josh Poimboeuf <jpoimboe@redhat.com>
10 #include <linux/list.h>
15 INSN_JUMP_CONDITIONAL
,
16 INSN_JUMP_UNCONDITIONAL
,
18 INSN_JUMP_DYNAMIC_CONDITIONAL
,
43 enum op_dest_type type
;
59 enum op_src_type type
;
69 void arch_initial_func_cfi_state(struct cfi_state
*state
);
71 int arch_decode_instruction(struct elf
*elf
, struct section
*sec
,
72 unsigned long offset
, unsigned int maxlen
,
73 unsigned int *len
, enum insn_type
*type
,
74 unsigned long *immediate
, struct stack_op
*op
);
76 bool arch_callee_saved_reg(unsigned char reg
);