Home
last modified time | relevance | path

Searched refs:gregs (Results 1 – 25 of 41) sorted by relevance

12

/third_party/libunwind/src/ppc32/
Ducontext_i.h49 #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 …]
DGinit.c51 addr = &uc->uc_mcontext.uc_regs->gregs[reg - UNW_PPC32_R0]; in uc_addr()
79 addr = &uc->uc_mcontext.uc_regs->gregs[gregs_idx]; in uc_addr()
/third_party/libunwind/src/sh/
DGresume.c44 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()
81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; in sh_local_resume()
82 sc->sc_regs[1] = uc->uc_mcontext.gregs[1]; in sh_local_resume()
[all …]
/third_party/libunwind/src/x86_64/
DGos-linux.c112 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 …]
DGos-solaris.c107 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr()
108 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr()
109 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr()
110 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr()
111 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr()
112 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr()
113 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr()
114 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr()
115 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr()
116 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RSI]; break; in x86_64_r_uc_addr()
[all …]
/third_party/libunwind/src/x86/
DGos-linux.c260 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 …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc56 if (14 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter()
57 return reinterpret_cast<void*>(context->uc_mcontext.gregs[14]); in GetProgramCounter()
61 return reinterpret_cast<void*>(context->uc_mcontext.gregs[16]); in GetProgramCounter()
67 return reinterpret_cast<void*>(context->uc_mcontext.uc_regs->gregs[32]); in GetProgramCounter()
77 return reinterpret_cast<void*>(context->uc_mcontext.gregs[19]); in GetProgramCounter()
81 if (16 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter()
82 return reinterpret_cast<void*>(context->uc_mcontext.gregs[16]); in GetProgramCounter()
Dstacktrace_x86-inl.inc126 const auto bp = uc->uc_mcontext.gregs[REG_EBP];
127 const auto sp = uc->uc_mcontext.gregs[REG_ESP];
129 const auto bp = uc->uc_mcontext.gregs[REG_RBP];
130 const auto sp = uc->uc_mcontext.gregs[REG_RSP];
214 reinterpret_cast<void **>(ucv->uc_mcontext.gregs[REG_EBP]);
216 reinterpret_cast<unsigned char *>(ucv->uc_mcontext.gregs[REG_EIP]);
222 reinterpret_cast<void **>(ucv->uc_mcontext.gregs[REG_ESP]);
/third_party/abseil-cpp/absl/debugging/internal/
Dexamine_stack.cc52 if (14 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter()
53 return reinterpret_cast<void*>(context->uc_mcontext.gregs[14]); in GetProgramCounter()
67 if (16 < ABSL_ARRAYSIZE(context->uc_mcontext.gregs)) in GetProgramCounter()
68 return reinterpret_cast<void*>(context->uc_mcontext.gregs[16]); in GetProgramCounter()
Dstacktrace_x86-inl.inc126 const auto bp = uc->uc_mcontext.gregs[REG_EBP];
127 const auto sp = uc->uc_mcontext.gregs[REG_ESP];
129 const auto bp = uc->uc_mcontext.gregs[REG_RBP];
130 const auto sp = uc->uc_mcontext.gregs[REG_RSP];
215 reinterpret_cast<void **>(ucv->uc_mcontext.gregs[REG_EBP]);
217 reinterpret_cast<unsigned char *>(ucv->uc_mcontext.gregs[REG_EIP]);
223 reinterpret_cast<void **>(ucv->uc_mcontext.gregs[REG_ESP]);
/third_party/ltp/testcases/cve/
Dcve-2015-3290.c150 struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; in ssptr()
157 struct selectors *sels = (void *)&ctx->uc_mcontext.gregs[REG_CSGSFS]; in csptr()
169 return &ctx->uc_mcontext.gregs[REG_SS]; in ssptr()
175 return &ctx->uc_mcontext.gregs[REG_CS]; in csptr()
/third_party/libunwind/src/s390x/
DGresume.c63 sc->sregs->regs.gprs[i-UNW_S390X_R0] = uc.uc_mcontext.gregs[i-UNW_S390X_R0]; 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()
/third_party/musl/arch/x86_64/
Dpthread_arch.h10 #define MC_PC gregs[REG_RIP]
/third_party/musl/arch/i386/
Dpthread_arch.h10 #define MC_PC gregs[REG_EIP]
/third_party/musl/arch/x32/
Dpthread_arch.h10 #define MC_PC gregs[REG_RIP]
/third_party/musl/arch/m68k/
Dpthread_arch.h13 #define MC_PC gregs[R_PC]
/third_party/musl/arch/powerpc/
Dpthread_arch.h16 #define MC_PC gregs[32]
/third_party/libunwind/src/tilegx/
Dgen-offsets.c27 UC ("MCONTEXT_GREGS", uc_mcontext.gregs); in main()
/third_party/libunwind/src/mips/
Dgen-offsets.c27 UC ("MCONTEXT_GREGS", uc_mcontext.gregs); in main()
/third_party/libunwind/tests/
Dtest-coredump-unwind.c219 ip = uc->uc_mcontext.gregs[REG_EIP]; in handle_sigsegv()
221 ip = uc->uc_mcontext.gregs[REG_RIP]; in handle_sigsegv()
DGtest-bt.c193 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_EIP]); in sighandler()
199 printf (" @ %lx", (unsigned long) uc->uc_mcontext.gregs[REG_RIP]); in sighandler()
/third_party/musl/arch/powerpc/bits/
Dsignal.h35 gregset_t gregs; member
/third_party/musl/arch/s390x/bits/
Dsignal.h31 unsigned long gregs[16]; member
/third_party/musl/arch/riscv64/bits/
Dsignal.h52 gregset_t gregs; member
/third_party/musl/arch/mipsn32/bits/
Dsignal.h41 gregset_t gregs; member

12