Lines Matching full:int3
920 * Self-test for the INT3 based CALL emulation code.
922 * This exercises int3_emulate_call() to make sure INT3 pt_regs are set up
923 * properly and that there is a stack gap between the INT3 frame and the
925 * stack would corrupt the INT3 IRET frame.
968 * Stick the address of the INT3 instruction into int3_selftest_ip, in int3_selftest()
969 * then trigger the INT3, padded with NOPs to match a CALL instruction in int3_selftest()
972 asm volatile ("1: int3; nop; nop; nop; nop\n\t" in int3_selftest()
1368 * Having observed our INT3 instruction, we now must observe in poke_int3_handler()
1371 * bp_desc.refs = 1 INT3 in poke_int3_handler()
1373 * write INT3 if (bp_desc.refs != 0) in poke_int3_handler()
1382 * Discount the INT3. See text_poke_bp_batch(). in poke_int3_handler()
1406 * Someone poked an explicit INT3, they'll want to handle it, in poke_int3_handler()
1444 * Modify multi-byte instruction by using int3 breakpoint on SMP.
1446 * synchronization using int3 breakpoint.
1450 * - add a int3 trap to the address that will be patched
1456 * - replace the first byte (int3) by the first byte of
1462 unsigned char int3 = INT3_INSN_OPCODE; in text_poke_bp_batch() local
1478 * Corresponding read barrier in int3 notifier for making sure the in text_poke_bp_batch()
1484 * First step: add a int3 trap to the address that will be patched. in text_poke_bp_batch()
1488 text_poke(text_poke_addr(&tp[i]), &int3, INT3_INSN_SIZE); in text_poke_bp_batch()
1514 * - write INT3 byte in text_poke_bp_batch()
1518 * INT3 and handler and not hit the old or new instruction. in text_poke_bp_batch()
1519 * Intel PT outputs FUP/TIP packets for the INT3, so the flow in text_poke_bp_batch()
1526 * either the old instruction flow or FUP/TIP of INT3. After the in text_poke_bp_batch()
1528 * new instruction flow or FUP/TIP of INT3. Thus decoders can in text_poke_bp_batch()
1548 * Third step: replace the first byte (int3) by the first byte of in text_poke_bp_batch()
1592 * next instruction can be padded with INT3. in text_poke_loc_init()