/third_party/libunwind/libunwind/src/ppc32/ |
D | ucontext_i.h | 49 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[0] - (void *)&dmy_ctxt) 50 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[1] - (void *)&dmy_ctxt) 51 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[2] - (void *)&dmy_ctxt) 52 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[3] - (void *)&dmy_ctxt) 53 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[4] - (void *)&dmy_ctxt) 54 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[5] - (void *)&dmy_ctxt) 55 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[6] - (void *)&dmy_ctxt) 56 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[7] - (void *)&dmy_ctxt) 57 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[8] - (void *)&dmy_ctxt) 58 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[9] - (void *)&dmy_ctxt) [all …]
|
/third_party/libunwind/libunwind/src/aarch64/ |
D | Gresume.c | 44 regs[0] = uc->uc_mcontext.regs[0]; in aarch64_local_resume() 45 regs[1] = uc->uc_mcontext.regs[1]; in aarch64_local_resume() 46 regs[2] = uc->uc_mcontext.regs[2]; in aarch64_local_resume() 47 regs[3] = uc->uc_mcontext.regs[3]; in aarch64_local_resume() 48 regs[4] = uc->uc_mcontext.regs[19]; in aarch64_local_resume() 49 regs[5] = uc->uc_mcontext.regs[20]; in aarch64_local_resume() 50 regs[6] = uc->uc_mcontext.regs[21]; in aarch64_local_resume() 51 regs[7] = uc->uc_mcontext.regs[22]; in aarch64_local_resume() 52 regs[8] = uc->uc_mcontext.regs[23]; in aarch64_local_resume() 53 regs[9] = uc->uc_mcontext.regs[24]; in aarch64_local_resume() [all …]
|
/third_party/libunwind/libunwind/src/x86_64/ |
D | Gos-freebsd.c | 164 case UNW_X86_64_R8: addr = &uc->uc_mcontext.mc_r8; break; in x86_64_r_uc_addr() 165 case UNW_X86_64_R9: addr = &uc->uc_mcontext.mc_r9; break; in x86_64_r_uc_addr() 166 case UNW_X86_64_R10: addr = &uc->uc_mcontext.mc_r10; break; in x86_64_r_uc_addr() 167 case UNW_X86_64_R11: addr = &uc->uc_mcontext.mc_r11; break; in x86_64_r_uc_addr() 168 case UNW_X86_64_R12: addr = &uc->uc_mcontext.mc_r12; break; in x86_64_r_uc_addr() 169 case UNW_X86_64_R13: addr = &uc->uc_mcontext.mc_r13; break; in x86_64_r_uc_addr() 170 case UNW_X86_64_R14: addr = &uc->uc_mcontext.mc_r14; break; in x86_64_r_uc_addr() 171 case UNW_X86_64_R15: addr = &uc->uc_mcontext.mc_r15; break; in x86_64_r_uc_addr() 172 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.mc_rdi; break; in x86_64_r_uc_addr() 173 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.mc_rsi; break; in x86_64_r_uc_addr() [all …]
|
D | Gos-linux.c | 112 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr() 113 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr() 114 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr() 115 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr() 116 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr() 117 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr() 118 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr() 119 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr() 120 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr() 121 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RSI]; break; in x86_64_r_uc_addr() [all …]
|
D | Gos-solaris.c | 103 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr() 104 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr() 105 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr() 106 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr() 107 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr() 108 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr() 109 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr() 110 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr() 111 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr() 112 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RSI]; break; in x86_64_r_uc_addr() [all …]
|
/third_party/libunwind/libunwind/src/sh/ |
D | Gresume.c | 44 regs[0] = uc->uc_mcontext.gregs[8]; in sh_local_resume() 45 regs[1] = uc->uc_mcontext.gregs[9]; in sh_local_resume() 46 regs[2] = uc->uc_mcontext.gregs[10]; in sh_local_resume() 47 regs[3] = uc->uc_mcontext.gregs[11]; in sh_local_resume() 48 regs[4] = uc->uc_mcontext.gregs[12]; in sh_local_resume() 49 regs[5] = uc->uc_mcontext.gregs[13]; in sh_local_resume() 50 regs[6] = uc->uc_mcontext.gregs[14]; in sh_local_resume() 51 regs[7] = uc->uc_mcontext.gregs[15]; in sh_local_resume() 52 unsigned long pc = uc->uc_mcontext.pr; in sh_local_resume() 81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; in sh_local_resume() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | examine_stack.cc | 48 return reinterpret_cast<void*>(context->uc_mcontext.pc); in GetProgramCounter() 50 return reinterpret_cast<void*>(context->uc_mcontext.sc_pc); in GetProgramCounter() 52 return reinterpret_cast<void*>(context->uc_mcontext.arm_pc); in GetProgramCounter() 54 return reinterpret_cast<void*>(context->uc_mcontext.sc_iaoq[0]); in GetProgramCounter() 56 if (14 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter() 57 return reinterpret_cast<void*>(context->uc_mcontext.gregs[14]); in GetProgramCounter() 59 return reinterpret_cast<void*>(context->uc_mcontext.sc_ip); in GetProgramCounter() 61 return reinterpret_cast<void*>(context->uc_mcontext.gregs[16]); in GetProgramCounter() 63 return reinterpret_cast<void*>(context->uc_mcontext.pc); in GetProgramCounter() 65 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); in GetProgramCounter() [all …]
|
/third_party/libunwind/libunwind/src/x86/ |
D | Gos-linux.c | 260 case UNW_X86_GS: addr = &uc->uc_mcontext.gregs[REG_GS]; break; in x86_r_uc_addr() 261 case UNW_X86_FS: addr = &uc->uc_mcontext.gregs[REG_FS]; break; in x86_r_uc_addr() 262 case UNW_X86_ES: addr = &uc->uc_mcontext.gregs[REG_ES]; break; in x86_r_uc_addr() 263 case UNW_X86_DS: addr = &uc->uc_mcontext.gregs[REG_DS]; break; in x86_r_uc_addr() 264 case UNW_X86_EAX: addr = &uc->uc_mcontext.gregs[REG_EAX]; break; in x86_r_uc_addr() 265 case UNW_X86_EBX: addr = &uc->uc_mcontext.gregs[REG_EBX]; break; in x86_r_uc_addr() 266 case UNW_X86_ECX: addr = &uc->uc_mcontext.gregs[REG_ECX]; break; in x86_r_uc_addr() 267 case UNW_X86_EDX: addr = &uc->uc_mcontext.gregs[REG_EDX]; break; in x86_r_uc_addr() 268 case UNW_X86_ESI: addr = &uc->uc_mcontext.gregs[REG_ESI]; break; in x86_r_uc_addr() 269 case UNW_X86_EDI: addr = &uc->uc_mcontext.gregs[REG_EDI]; break; in x86_r_uc_addr() [all …]
|
D | Gos-freebsd.c | 320 case UNW_X86_GS: addr = &uc->uc_mcontext.mc_gs; break; in x86_r_uc_addr() 321 case UNW_X86_FS: addr = &uc->uc_mcontext.mc_fs; break; in x86_r_uc_addr() 322 case UNW_X86_ES: addr = &uc->uc_mcontext.mc_es; break; in x86_r_uc_addr() 323 case UNW_X86_DS: addr = &uc->uc_mcontext.mc_ds; break; in x86_r_uc_addr() 324 case UNW_X86_EAX: addr = &uc->uc_mcontext.mc_eax; break; in x86_r_uc_addr() 325 case UNW_X86_EBX: addr = &uc->uc_mcontext.mc_ebx; break; in x86_r_uc_addr() 326 case UNW_X86_ECX: addr = &uc->uc_mcontext.mc_ecx; break; in x86_r_uc_addr() 327 case UNW_X86_EDX: addr = &uc->uc_mcontext.mc_edx; break; in x86_r_uc_addr() 328 case UNW_X86_ESI: addr = &uc->uc_mcontext.mc_esi; break; in x86_r_uc_addr() 329 case UNW_X86_EDI: addr = &uc->uc_mcontext.mc_edi; break; in x86_r_uc_addr() [all …]
|
/third_party/libunwind/libunwind/src/s390x/ |
D | Gresume.c | 43 uc.uc_mcontext.psw.addr = c->dwarf.ip; in s390x_local_resume() 63 sc->sregs->regs.gprs[i-UNW_S390X_R0] = uc.uc_mcontext.gregs[i-UNW_S390X_R0]; in s390x_local_resume() 65 sc->sregs->fpregs.fprs[i-UNW_S390X_F0] = uc.uc_mcontext.fpregs.fprs[i-UNW_S390X_F0].d; in s390x_local_resume() 66 sc->sregs->regs.psw.addr = uc.uc_mcontext.psw.addr; in s390x_local_resume() 81 rt->uc_mcontext.gregs[i-UNW_S390X_R0] = uc.uc_mcontext.gregs[i-UNW_S390X_R0]; in s390x_local_resume() 83 rt->uc_mcontext.fpregs.fprs[i-UNW_S390X_F0] = uc.uc_mcontext.fpregs.fprs[i-UNW_S390X_F0]; in s390x_local_resume() 84 rt->uc_mcontext.psw.addr = uc.uc_mcontext.psw.addr; in s390x_local_resume()
|
/third_party/libunwind/libunwind/src/ppc64/ |
D | Ginit.c | 52 addr = &uc->uc_mcontext.gp_regs[reg - UNW_PPC64_R0]; in uc_addr() 54 addr = &uc->uc_mcontext.mc_gpr[reg - UNW_PPC64_R0]; in uc_addr() 59 addr = &uc->uc_mcontext.fp_regs[reg - UNW_PPC64_F0]; in uc_addr() 61 addr = &uc->uc_mcontext.mc_fpreg[reg - UNW_PPC64_F0]; in uc_addr() 66 …addr = (uc->uc_mcontext.v_regs == 0) ? NULL : &uc->uc_mcontext.v_regs->vrregs[reg - UNW_PPC64_V0][… in uc_addr() 68 addr = &uc->uc_mcontext.mc_avec[(reg - UNW_PPC64_V0)*2]; in uc_addr() 96 addr = &uc->uc_mcontext.gp_regs[gregs_idx]; in uc_addr() 98 addr = &uc->uc_mcontext.mc_gpr[gregs_idx]; in uc_addr()
|
/third_party/node/deps/v8/src/libsampler/ |
D | sampler.cc | 85 mcontext_t uc_mcontext; member 97 mcontext_t uc_mcontext; member 128 mcontext_t uc_mcontext; member 146 mcontext_t uc_mcontext; member 163 mcontext_t uc_mcontext; member 378 mcontext_t& mcontext = ucontext->uc_mcontext; in FillRegisterState() 424 state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->nip); in FillRegisterState() 425 state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R1]); in FillRegisterState() 426 state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->gpr[PT_R31]); in FillRegisterState() 427 state->lr = reinterpret_cast<void*>(ucontext->uc_mcontext.regs->link); in FillRegisterState() [all …]
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/arm/ |
D | align.rs | 14 pub uc_mcontext: ::mcontext_t, 27 && self.uc_mcontext == other.uc_mcontext 38 .field("uc_mcontext", &self.uc_mcontext) 48 self.uc_mcontext.hash(state);
|
/third_party/libunwind/libunwind/src/ia64/ |
D | unwind_i.h | 69 case UNW_IA64_IP: addr = &uc->uc_mcontext.sc_br[0]; break; in inlined_uc_addr() 70 case UNW_IA64_CFM: addr = &uc->uc_mcontext.sc_ar_pfs; break; in inlined_uc_addr() 71 case UNW_IA64_AR_RNAT: addr = &uc->uc_mcontext.sc_ar_rnat; break; in inlined_uc_addr() 72 case UNW_IA64_AR_UNAT: addr = &uc->uc_mcontext.sc_ar_unat; break; in inlined_uc_addr() 73 case UNW_IA64_AR_LC: addr = &uc->uc_mcontext.sc_ar_lc; break; in inlined_uc_addr() 74 case UNW_IA64_AR_FPSR: addr = &uc->uc_mcontext.sc_ar_fpsr; break; in inlined_uc_addr() 75 case UNW_IA64_PR: addr = &uc->uc_mcontext.sc_pr; break; in inlined_uc_addr() 76 case UNW_IA64_AR_BSPSTORE: addr = &uc->uc_mcontext.sc_ar_bsp; break; in inlined_uc_addr() 80 addr = &uc->uc_mcontext.sc_gr[reg - UNW_IA64_GR]; in inlined_uc_addr() 85 addr = &uc->uc_mcontext.sc_nat; in inlined_uc_addr() [all …]
|
D | Ginit_local.c | 62 sol = (uc->uc_mcontext.sc_ar_pfs >> 7) & 0x7f; in get_initial_stack_pointers() 63 bspstore = uc->uc_mcontext.sc_ar_bsp; in get_initial_stack_pointers() 64 *sp = uc->uc_mcontext.sc_gr[12]; in get_initial_stack_pointers()
|
/third_party/rust/crates/libc/src/fuchsia/ |
D | x86_64.rs | 72 pub uc_mcontext: mcontext_t, 85 && self.uc_mcontext == other.uc_mcontext 101 .field("uc_mcontext", &self.uc_mcontext) 112 self.uc_mcontext.hash(state);
|
/third_party/libunwind/libunwind/tests/ |
D | Gtest-trace.c | 192 printf (" @ %lx", uc->uc_mcontext.sc_ip); in sighandler() 205 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_EIP]); in sighandler() 207 printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_eip); in sighandler() 211 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_RIP]); in sighandler() 213 printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_rip); in sighandler() 217 printf (" @ %lx", (unsigned long) uc->uc_mcontext.arm_pc); in sighandler() 219 printf (" @ %lx", (unsigned long) uc->uc_mcontext.__gregs[_REG_PC]); in sighandler()
|
D | test-coredump-unwind.c | 219 ip = uc->uc_mcontext.gregs[REG_EIP]; in handle_sigsegv() 221 ip = uc->uc_mcontext.gregs[REG_RIP]; in handle_sigsegv() 223 ip = uc->uc_mcontext.arm_pc; in handle_sigsegv() 227 ip = uc->uc_mcontext.mc_eip; in handle_sigsegv() 229 ip = uc->uc_mcontext.mc_rip; in handle_sigsegv()
|
D | Gtest-bt.c | 180 printf (" @ %lx", uc->uc_mcontext.sc_ip); in sighandler() 193 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_EIP]); in sighandler() 195 printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_eip); in sighandler() 199 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_RIP]); in sighandler() 201 printf (" @ %lx", (unsigned long) uc->uc_mcontext.mc_rip); in sighandler()
|
/third_party/node/deps/v8/src/trap-handler/ |
D | handler-inside-posix.cc | 51 #define CONTEXT_REG(reg, REG) &uc->uc_mcontext.gregs[REG_##REG] 53 #define CONTEXT_REG(reg, REG) &uc->uc_mcontext->__ss.__##reg 55 #define CONTEXT_REG(reg, REG) &uc->uc_mcontext.mc_##reg
|
/third_party/ltp/testcases/cve/ |
D | cve-2015-3290.c | 151 struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; in ssptr() 158 struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; in csptr() 170 return &ctx->uc_mcontext.gregs[REG_SS]; in ssptr() 176 return &ctx->uc_mcontext.gregs[REG_CS]; in csptr()
|
/third_party/rust/crates/libc/src/unix/solarish/ |
D | x86_64.rs | 73 pub uc_mcontext: mcontext_t, 140 && self.uc_mcontext == other.uc_mcontext 152 .field("uc_mcontext", &self.uc_mcontext)
|
/third_party/rust/crates/libc/src/unix/haiku/ |
D | x86_64.rs | 54 pub uc_mcontext: mcontext_t, 241 && self.uc_mcontext == other.uc_mcontext 251 .field("uc_mcontext", &self.uc_mcontext) 260 self.uc_mcontext.hash(state);
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_cancel.c | 53 uintptr_t pc = uc->uc_mcontext.MC_PC; in cancel_handler() 61 uc->uc_mcontext.MC_PC = (uintptr_t)__cp_cancel; in cancel_handler() 63 uc->uc_mcontext.MC_GOT = CANCEL_GOT; in cancel_handler()
|
/third_party/musl/src/thread/ |
D | pthread_cancel.c | 54 uintptr_t pc = uc->uc_mcontext.MC_PC; in cancel_handler() 68 uc->uc_mcontext.MC_PC = (uintptr_t)__cp_cancel; in cancel_handler() 70 uc->uc_mcontext.MC_GOT = CANCEL_GOT; in cancel_handler()
|