/linux/arch/arm/probes/kprobes/ |
H A D | actions-thumb.c | 24 t32_simulate_table_branch(probes_opcode_t insn, in t32_simulate_table_branch() 44 t32_simulate_mrs(probes_opcode_t insn, in t32_simulate_mrs() 53 t32_simulate_cond_branch(probes_opcode_t insn, in t32_simulate_cond_branch() 68 t32_decode_cond_branch(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_cond_branch() 78 t32_simulate_branch(probes_opcode_t insn, in t32_simulate_branch() 106 t32_simulate_ldr_literal(probes_opcode_t insn, in t32_simulate_ldr_literal() 144 t32_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in t32_decode_ldmstm() 158 t32_emulate_ldrdstrd(probes_opcode_t insn, in t32_emulate_ldrdstrd() 185 t32_emulate_ldrstr(probes_opcode_t insn, in t32_emulate_ldrstr() 211 t32_emulate_rd8rn16rm0_rwflags(probes_opcode_t insn, in t32_emulate_rd8rn16rm0_rwflags() [all …]
|
H A D | checkers-common.c | 13 enum probes_insn checker_stack_use_none(probes_opcode_t insn, in checker_stack_use_none() 21 enum probes_insn checker_stack_use_unknown(probes_opcode_t insn, in checker_stack_use_unknown() 30 enum probes_insn checker_stack_use_imm_0xx(probes_opcode_t insn, in checker_stack_use_imm_0xx() 43 static enum probes_insn checker_stack_use_t32strd(probes_opcode_t insn, in checker_stack_use_t32strd() 52 enum probes_insn checker_stack_use_imm_x0x(probes_opcode_t insn, in checker_stack_use_imm_x0x() 62 enum probes_insn checker_stack_use_imm_xxx(probes_opcode_t insn, in checker_stack_use_imm_xxx() 71 enum probes_insn checker_stack_use_stmdx(probes_opcode_t insn, in checker_stack_use_stmdx()
|
H A D | actions-common.c | 18 static void __kprobes simulate_ldm1stm1(probes_opcode_t insn, in simulate_ldm1stm1() 60 static void __kprobes simulate_stm1_pc(probes_opcode_t insn, in simulate_stm1_pc() 71 static void __kprobes simulate_ldm1_pc(probes_opcode_t insn, in simulate_ldm1_pc() 80 emulate_generic_r0_12_noflags(probes_opcode_t insn, in emulate_generic_r0_12_noflags() 110 emulate_generic_r2_14_noflags(probes_opcode_t insn, in emulate_generic_r2_14_noflags() 118 emulate_ldm_r3_15(probes_opcode_t insn, in emulate_ldm_r3_15() 127 kprobe_decode_ldmstm(probes_opcode_t insn, struct arch_probes_insn *asi, in kprobe_decode_ldmstm()
|
H A D | checkers-arm.c | 13 static enum probes_insn __kprobes arm_check_stack(probes_opcode_t insn, in arm_check_stack() 93 static enum probes_insn __kprobes arm_check_regs_nouse(probes_opcode_t insn, in arm_check_regs_nouse() 101 static enum probes_insn arm_check_regs_normal(probes_opcode_t insn, in arm_check_regs_normal() 117 static enum probes_insn arm_check_regs_ldmstm(probes_opcode_t insn, in arm_check_regs_ldmstm() 127 static enum probes_insn arm_check_regs_mov_ip_sp(probes_opcode_t insn, in arm_check_regs_mov_ip_sp() 148 static enum probes_insn arm_check_regs_ldrdstrd(probes_opcode_t insn, in arm_check_regs_ldrdstrd()
|
H A D | actions-arm.c | 69 emulate_ldrdstrd(probes_opcode_t insn, in emulate_ldrdstrd() 98 emulate_ldr(probes_opcode_t insn, in emulate_ldr() 128 emulate_str(probes_opcode_t insn, in emulate_str() 155 emulate_rd12rn16rm0rs8_rwflags(probes_opcode_t insn, in emulate_rd12rn16rm0rs8_rwflags() 190 emulate_rd12rn16rm0_rwflags_nopc(probes_opcode_t insn, in emulate_rd12rn16rm0_rwflags_nopc() 217 emulate_rd16rn12rm0rs8_rwflags_nopc(probes_opcode_t insn, in emulate_rd16rn12rm0rs8_rwflags_nopc() 247 emulate_rd12rm0_noflags_nopc(probes_opcode_t insn, in emulate_rd12rm0_noflags_nopc() 267 emulate_rdlo12rdhi16rn0rm8_rwflags_nopc(probes_opcode_t insn, in emulate_rdlo12rdhi16rn0rm8_rwflags_nopc()
|
H A D | checkers-thumb.c | 13 static enum probes_insn __kprobes t32_check_stack(probes_opcode_t insn, in t32_check_stack() 87 static enum probes_insn __kprobes t16_check_stack(probes_opcode_t insn, in t16_check_stack()
|
H A D | core.h | 31 typedef enum probes_insn (kprobe_decode_insn_t)(probes_opcode_t,
|
/linux/arch/arm/probes/ |
H A D | decode-arm.h | 50 void __kprobes simulate_bbl(probes_opcode_t opcode, 52 void __kprobes simulate_blx1(probes_opcode_t opcode, 54 void __kprobes simulate_blx2bx(probes_opcode_t opcode, 56 void __kprobes simulate_mrs(probes_opcode_t opcode, 58 void __kprobes simulate_mov_ipsp(probes_opcode_t opcode, 63 enum probes_insn arm_probes_decode_insn(probes_opcode_t,
|
H A D | decode.c | 175 void __kprobes probes_simulate_nop(probes_opcode_t opcode, in probes_simulate_nop() 181 void __kprobes probes_emulate_none(probes_opcode_t opcode, in probes_emulate_none() 195 static probes_opcode_t __kprobes 196 prepare_emulated_insn(probes_opcode_t insn, struct arch_probes_insn *asi, in prepare_emulated_insn() 222 set_emulated_insn(probes_opcode_t insn, struct arch_probes_insn *asi, in set_emulated_insn() 258 static bool __kprobes decode_regs(probes_opcode_t *pinsn, u32 regs, bool modify) in decode_regs() 260 probes_opcode_t insn = *pinsn; in decode_regs() 261 probes_opcode_t mask = 0xf; /* Start at least significant nibble */ in decode_regs() 265 probes_opcode_t new_bits = INSN_NEW_BITS; in decode_regs() 343 int action, probes_opcode_t insn, in run_checkers() [all …]
|
H A D | decode-arm.c | 53 void __kprobes simulate_bbl(probes_opcode_t insn, in simulate_bbl() 65 void __kprobes simulate_blx1(probes_opcode_t insn, in simulate_blx1() 76 void __kprobes simulate_blx2bx(probes_opcode_t insn, in simulate_blx2bx() 91 void __kprobes simulate_mrs(probes_opcode_t insn, in simulate_mrs() 99 void __kprobes simulate_mov_ipsp(probes_opcode_t insn, in simulate_mov_ipsp() 700 static void __kprobes arm_singlestep(probes_opcode_t insn, in arm_singlestep() 720 arm_probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi, in arm_probes_decode_insn()
|
H A D | decode-thumb.h | 87 thumb16_probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi, 91 thumb32_probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi,
|
H A D | decode.h | 277 typedef enum probes_insn (probes_custom_decode_t)(probes_opcode_t, 286 typedef enum probes_insn (probes_check_t)(probes_opcode_t, 380 probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi,
|
H A D | decode-thumb.c | 843 static void __kprobes thumb16_singlestep(probes_opcode_t opcode, in thumb16_singlestep() 852 static void __kprobes thumb32_singlestep(probes_opcode_t opcode, in thumb32_singlestep() 862 thumb16_probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi, in thumb16_probes_decode_insn() 873 thumb32_probes_decode_insn(probes_opcode_t insn, struct arch_probes_insn *asi, in thumb32_probes_decode_insn()
|
/linux/arch/arm/probes/uprobes/ |
H A D | core.h | 9 enum probes_insn uprobe_decode_ldmstm(probes_opcode_t insn, 13 enum probes_insn decode_ldr(probes_opcode_t insn, 18 decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn, 23 decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi, 27 decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi,
|
H A D | actions-arm.c | 19 probes_opcode_t insn = __mem_to_opcode_arm(*pinsn); in uprobes_substitute_pc() 20 probes_opcode_t temp; in uprobes_substitute_pc() 21 probes_opcode_t mask; in uprobes_substitute_pc() 105 decode_pc_ro(probes_opcode_t insn, struct arch_probes_insn *asi, in decode_pc_ro() 129 decode_wb_pc(probes_opcode_t insn, struct arch_probes_insn *asi, in decode_wb_pc() 144 decode_rd12rn16rm0rs8_rwflags(probes_opcode_t insn, in decode_rd12rn16rm0rs8_rwflags() 152 decode_ldr(probes_opcode_t insn, struct arch_probes_insn *asi, in decode_ldr() 159 uprobe_decode_ldmstm(probes_opcode_t insn, in uprobe_decode_ldmstm()
|
H A D | core.c | 48 probes_opcode_t opcode; in arch_uprobe_skip_sstep()
|
/linux/arch/arm/include/asm/ |
H A D | probes.h | 16 typedef u32 probes_opcode_t; typedef 19 typedef void (probes_insn_handler_t)(probes_opcode_t, 23 typedef void (probes_insn_singlestep_t)(probes_opcode_t, 30 probes_opcode_t *insn;
|