Searched refs:INT3_INSN_SIZE (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/arch/x86/kernel/kprobes/ |
| H A D | opt.c | 192 regs->ip = (unsigned long)op->kp.addr + INT3_INSN_SIZE; in optimized_callback() 344 insn_jump_into_range(&insn, paddr + INT3_INSN_SIZE, in can_optimize() 498 memcpy(op->optinsn.copied_insn, op->kp.addr + INT3_INSN_SIZE, in arch_optimize_kprobes() 524 memcpy(new + INT3_INSN_SIZE, in arch_unoptimize_kprobe() 526 JMP32_INSN_SIZE - INT3_INSN_SIZE); in arch_unoptimize_kprobe() 528 text_poke(addr, new, INT3_INSN_SIZE); in arch_unoptimize_kprobe() 530 text_poke(addr + INT3_INSN_SIZE, in arch_unoptimize_kprobe() 531 new + INT3_INSN_SIZE, in arch_unoptimize_kprobe() 532 JMP32_INSN_SIZE - INT3_INSN_SIZE); in arch_unoptimize_kprobe()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | alternative.c | 948 if (regs->ip - INT3_INSN_SIZE != int3_selftest_ip) in int3_exception_notify() 1384 ip = (void *) regs->ip - INT3_INSN_SIZE; in poke_int3_handler() 1488 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch() 1500 if (len - INT3_INSN_SIZE > 0) { in text_poke_bp_batch() 1501 memcpy(old + INT3_INSN_SIZE, in text_poke_bp_batch() 1502 text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch() 1503 len - INT3_INSN_SIZE); in text_poke_bp_batch() 1504 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE, in text_poke_bp_batch() 1505 (const char *)tp[i].text + INT3_INSN_SIZE, in text_poke_bp_batch() 1506 len - INT3_INSN_SIZE); in text_poke_bp_batch() [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/include/asm/ |
| H A D | text-patching.h | 53 #define INT3_INSN_SIZE 1 macro 158 int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE); in int3_emulate_call()
|