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

/linux-master/arch/x86/kernel/kprobes/
H A Dopt.c195 regs->ip = (unsigned long)op->kp.addr + INT3_INSN_SIZE;
331 if (insn_jump_into_range(&insn, paddr + INT3_INSN_SIZE,
485 memcpy(op->optinsn.copied_insn, op->kp.addr + INT3_INSN_SIZE,
511 memcpy(new + INT3_INSN_SIZE,
513 JMP32_INSN_SIZE - INT3_INSN_SIZE);
515 text_poke(addr, new, INT3_INSN_SIZE);
517 text_poke(addr + INT3_INSN_SIZE,
518 new + INT3_INSN_SIZE,
519 JMP32_INSN_SIZE - INT3_INSN_SIZE);
H A Dcore.c483 if (MAX_INSN_SIZE - len < INT3_INSN_SIZE)
487 len += INT3_INSN_SIZE;
529 regs->ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
541 unsigned long func = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
550 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
559 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
567 unsigned long ip = regs->ip - INT3_INSN_SIZE + p->ainsn.size;
626 int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + p->ainsn.size);
957 regs->ip += (orig_ip - copy_ip) - INT3_INSN_SIZE;
/linux-master/arch/x86/include/asm/
H A Dtext-patching.h46 #define INT3_INSN_SIZE 1 macro
167 int3_emulate_push(regs, regs->ip - INT3_INSN_SIZE + CALL_INSN_SIZE);
/linux-master/arch/x86/kernel/
H A Dalternative.c1601 if (regs->ip - INT3_INSN_SIZE != selftest)
2175 ip = (void *) regs->ip - INT3_INSN_SIZE;
2293 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); local
2307 if (len - INT3_INSN_SIZE > 0) {
2308 memcpy(old + INT3_INSN_SIZE,
2309 text_poke_addr(&tp[i]) + INT3_INSN_SIZE,
2310 len - INT3_INSN_SIZE);
2318 text_poke(text_poke_addr(&tp[i]) + INT3_INSN_SIZE,
2319 new + INT3_INSN_SIZE, local
2320 len - INT3_INSN_SIZE);
2374 text_poke(text_poke_addr(&tp[i]), &byte, INT3_INSN_SIZE); local
[all...]

Completed in 122 milliseconds