Home
last modified time | relevance | path

Searched full:int3 (Results 1 – 25 of 60) sorted by relevance

123

/linux-5.10/tools/testing/selftests/x86/
Dsigreturn.c93 * An aligned int3 instruction used as a trampoline. Some of the tests
95 * before the int3.
98 ".type int3, @function\n\t"
100 "int3:\n\t"
102 "int3\n\t"
103 ".size int3, . - int3\n\t"
106 extern char int3[4096];
113 * - code16_sel: A 16-bit LDT code segment pointing to int3.
115 * - npcode32_sel: A 32-bit not-present LDT code segment pointing to int3.
181 if ((unsigned long)int3 > (1ULL << 32) - sizeof(int3)) in setup_ldt()
[all …]
Dmov_ss_trap.c12 * - INT $N, INT3, INTO, SYSCALL, SYSENTER: enter the kernel and then
161 printf("[RUN]\tMOV SS; INT3\n"); in main()
162 asm volatile ("mov %[ss], %%ss; int3" :: [ss] "m" (ss)); in main()
167 printf("[RUN]\tMOV SS; CS CS INT3\n"); in main()
168 asm volatile ("mov %[ss], %%ss; .byte 0x2e, 0x2e; int3" :: [ss] "m" (ss)); in main()
170 printf("[RUN]\tMOV SS; CSx14 INT3\n"); in main()
171 asm volatile ("mov %[ss], %%ss; .fill 14,1,0x2e; int3" :: [ss] "m" (ss)); in main()
Dentry_from_vm86.c86 "int3\n\t"
94 "int3\n\t"
116 "int3\n\t"
121 "int3\n\t"
202 /* UMIP -- exit with INT3 unless kernel emulation did not trap #GP */ in do_umip_tests()
321 /* INT3 -- should cause #BP */ in main()
322 do_test(&v86, vmcode_int3 - vmcode, VM86_TRAP, 3, "INT3"); in main()
/linux-5.10/arch/x86/kernel/
Dalternative.c622 * Self-test for the INT3 based CALL emulation code.
624 * This exercises int3_emulate_call() to make sure INT3 pt_regs are set up
625 * properly and that there is a stack gap between the INT3 frame and the
627 * stack would corrupt the INT3 IRET frame.
683 * Stick the address of the INT3 instruction into int3_selftest_ip, in int3_selftest()
684 * then trigger the INT3, padded with NOPs to match a CALL instruction in int3_selftest()
687 asm volatile ("1: int3; nop; nop; nop; nop\n\t" in int3_selftest()
1071 * Having observed our INT3 instruction, we now must observe in poke_int3_handler()
1074 * bp_desc = desc INT3 in poke_int3_handler()
1076 * write INT3 if (desc) in poke_int3_handler()
[all …]
Dtraps.c606 if (kgdb_ll_trap(DIE_INT3, "int3", regs, 0, X86_TRAP_BP, in do_int3()
615 res = notify_die(DIE_INT3, "int3", regs, 0, X86_TRAP_BP, SIGTRAP); in do_int3()
626 do_trap(X86_TRAP_BP, SIGTRAP, "int3", regs, 0, 0, NULL); in do_int3_user()
635 * INT3. in DEFINE_IDTENTRY_RAW()
642 * and therefore can trigger INT3, hence poke_int3_handler() must in DEFINE_IDTENTRY_RAW()
644 * nmi_enter() because the INT3 could have been hit in any context in DEFINE_IDTENTRY_RAW()
657 die("int3", regs, 0); in DEFINE_IDTENTRY_RAW()
/linux-5.10/arch/x86/kernel/kprobes/
Dopt.c328 * a padding INT3 between functions. Let's check that all the in can_optimize()
329 * rest of the bytes are also INT3. in can_optimize()
474 * Replace breakpoints (INT3) with relative jumps (JMP.d32).
479 * the 4 bytes after the INT3 are unused and can now be overwritten.
506 * Replace a relative jump (JMP.d32) with a breakpoint (INT3).
508 * After that, we can restore the 4 bytes after the INT3 to undo what
510 * unused once the INT3 lands.
Dcore.c237 * by int3. And the instruction at kp->addr is not modified by kprobes in __recover_probed_insn()
510 u8 int3 = INT3_INSN_OPCODE; in arch_arm_kprobe() local
512 text_poke(p->addr, &int3, 1); in arch_arm_kprobe()
514 perf_event_text_poke(p->addr, &p->opcode, 1, &int3, 1); in arch_arm_kprobe()
519 u8 int3 = INT3_INSN_OPCODE; in arch_disarm_kprobe() local
521 perf_event_text_poke(p->addr, &int3, 1, &p->opcode, 1); in arch_disarm_kprobe()
628 /* single step inline if the instruction is an int3 */ in setup_singlestep()
687 * processing. Since int3 and debug trap disables irqs and we clear in kprobe_int3_handler()
722 * Back up over the (now missing) int3 and run in kprobe_int3_handler()
/linux-5.10/arch/mips/sgi-ip22/
Dip22-hpc.c49 /* Guiness comes with INT3 which is part of IOC */ in sgihpc_init()
50 sgint = &sgioc->int3; in sgihpc_init()
/linux-5.10/tools/testing/selftests/kvm/x86_64/
Ddebug_regs.c27 * NOTE: sw_bp need to be before the cmd here, because int3 is an in guest_code()
31 asm volatile("sw_bp: int3"); in guest_code()
91 /* Test software BPs - int3 */ in main()
99 "INT3: exit %d exception %d rip 0x%llx (should be 0x%llx)", in main()
/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dloongson,liointc.yaml43 - const: int3
88 <0x00000000>; /* int3 */
/linux-5.10/arch/x86/include/asm/
Dtext-patching.h78 __CASE(INT3); in text_opcode_size()
135 * The int3 handler in entry_64.S adds a gap between the in int3_emulate_push()
/linux-5.10/arch/x86/um/
Dstub_32.S51 int3
Dstub_64.S51 int3
/linux-5.10/arch/mips/boot/dts/loongson/
Dloongson64g-package.dtsi38 <0x00000000>; /* int3 */
Dloongson64c-package.dtsi41 <0x00000000>; /* int3 */
Dloongson64v_4core_virtio.dts40 <0x00000000>; /* int3 */
/linux-5.10/drivers/pinctrl/
Dpinctrl-pic32.c279 FUNCTION(INT3, input0),
389 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 13),
539 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 8),
644 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 5),
671 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 6),
749 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 10),
875 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 7),
926 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 0),
1028 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 14),
1170 PIC32_PINCTRL_FUNCTION(INT3, INT3R, 11),
[all …]
/linux-5.10/arch/x86/um/shared/sysdep/
Dstub_32.h77 __asm("int3"); in trap_myself()
Dstub_64.h82 __asm("int3"); in trap_myself()
/linux-5.10/arch/m68k/include/asm/
Dtraps.h248 unsigned short int3[2]; member
258 unsigned short int3[4]; member
DMC68328.h277 #define INT3_IRQ_NUM 11 /* External INT3 */
308 #define IMR_MINT3 (1 << INT3_IRQ_NUM) /* Mask External INT3 */
342 #define IWR_INT3 (1 << INT3_IRQ_NUM) /* External INT3 */
372 #define ISR_INT3 (1 << INT3_IRQ_NUM) /* External INT3 */
406 #define IPR_INT3 (1 << INT3_IRQ_NUM) /* External INT3 */
DMC68EZ328.h240 #define INT3_IRQ_NUM 11 /* External INT3 */
266 #define IMR_MINT3 (1 << INT3_IRQ_NUM) /* Mask External INT3 */
295 #define ISR_INT3 (1 << INT3_IRQ_NUM) /* External INT3 */
324 #define IPR_INT3 (1 << INT3_IRQ_NUM) /* External INT3 */
430 #define PD_INT3 0x08 /* Use INT3 as PD[3] */
/linux-5.10/arch/x86/include/uapi/asm/
Dvm86.h36 #define VM86_INTx 2 /* int3/int x instruction (ARG = x) */
/linux-5.10/arch/mips/include/asm/sgi/
Dip22.h68 #define SGI_VERT_IRQ SGINT_LOCAL2 + 0 /* INT3: newport vertical status */
/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dwlan.h236 /* 19: INT3 flag */
258 /* 3: Clear INT3 */

123