Home
last modified time | relevance | path

Searched refs:INT3_INSN_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/arch/x86/kernel/kprobes/
A Dopt.c195 regs->ip = (unsigned long)op->kp.addr + INT3_INSN_SIZE; in optimized_callback()
339 insn_jump_into_range(&insn, paddr + INT3_INSN_SIZE, in can_optimize()
493 memcpy(op->optinsn.copied_insn, op->kp.addr + INT3_INSN_SIZE, in arch_optimize_kprobes()
519 memcpy(new + INT3_INSN_SIZE, in arch_unoptimize_kprobe()
521 JMP32_INSN_SIZE - INT3_INSN_SIZE); in arch_unoptimize_kprobe()
523 text_poke(addr, new, INT3_INSN_SIZE); in arch_unoptimize_kprobe()
525 text_poke(addr + INT3_INSN_SIZE, in arch_unoptimize_kprobe()
526 new + INT3_INSN_SIZE, in arch_unoptimize_kprobe()
527 JMP32_INSN_SIZE - INT3_INSN_SIZE); in arch_unoptimize_kprobe()
A Dcore.c402 if (MAX_INSN_SIZE - len < INT3_INSN_SIZE) in prepare_singlestep()
406 len += INT3_INSN_SIZE; in prepare_singlestep()
448 regs->ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size; in kprobe_emulate_ifmodifiers()
460 unsigned long func = regs->ip - INT3_INSN_SIZE + p->ainsn.size; in kprobe_emulate_call()
469 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size; in kprobe_emulate_jmp()
478 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size; in kprobe_emulate_jcc()
486 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size; in kprobe_emulate_loop()
875 regs->ip += (orig_ip - copy_ip) - INT3_INSN_SIZE; in resume_singlestep()
/linux-6.3-rc2/arch/x86/kernel/
A Dalternative.c1299 if (regs->ip - INT3_INSN_SIZE != selftest) in int3_exception_notify()
1859 ip = (void *) regs->ip - INT3_INSN_SIZE; in poke_int3_handler()
1967 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch()
1981 if (len - INT3_INSN_SIZE > 0) { in text_poke_bp_batch()
1982 memcpy(old + INT3_INSN_SIZE, in text_poke_bp_batch()
1983 text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
1984 len - INT3_INSN_SIZE); in text_poke_bp_batch()
1992 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch()
1993 new + INT3_INSN_SIZE, in text_poke_bp_batch()
1994 len - INT3_INSN_SIZE); in text_poke_bp_batch()
[all …]
/linux-6.3-rc2/arch/x86/include/asm/
A Dtext-patching.h56 #define INT3_INSN_SIZE 1 macro
177 int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE); in int3_emulate_call()

Completed in 11 milliseconds