Home
last modified time | relevance | path

Searched refs:uc_mcontext (Results 1 – 25 of 101) sorted by relevance

12345

/external/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 …]
/external/libunwind/src/ppc64/
Ducontext_i.h57 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[0] - (void *)&dmy_ctxt)
58 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[1] - (void *)&dmy_ctxt)
59 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[2] - (void *)&dmy_ctxt)
60 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[3] - (void *)&dmy_ctxt)
61 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[4] - (void *)&dmy_ctxt)
62 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[5] - (void *)&dmy_ctxt)
63 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[6] - (void *)&dmy_ctxt)
64 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[7] - (void *)&dmy_ctxt)
65 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[8] - (void *)&dmy_ctxt)
66 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[9] - (void *)&dmy_ctxt)
[all …]
/external/libunwind/src/aarch64/
DGresume.c44 regs[0] = uc->uc_mcontext.regs[19]; in aarch64_local_resume()
45 regs[1] = uc->uc_mcontext.regs[20]; in aarch64_local_resume()
46 regs[2] = uc->uc_mcontext.regs[21]; in aarch64_local_resume()
47 regs[3] = uc->uc_mcontext.regs[22]; in aarch64_local_resume()
48 regs[4] = uc->uc_mcontext.regs[23]; in aarch64_local_resume()
49 regs[5] = uc->uc_mcontext.regs[24]; in aarch64_local_resume()
50 regs[6] = uc->uc_mcontext.regs[25]; in aarch64_local_resume()
51 regs[7] = uc->uc_mcontext.regs[26]; in aarch64_local_resume()
52 regs[8] = uc->uc_mcontext.regs[27]; in aarch64_local_resume()
53 regs[9] = uc->uc_mcontext.regs[28]; in aarch64_local_resume()
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-amd64-solaris.c104 uc->uc_mcontext.gregs[VKI_REG_RDI] = (UWord)tst; /* the parameter */ in ML_()
105 uc->uc_mcontext.gregs[VKI_REG_RIP] = (UWord)ML_(start_thread_NORETURN); in ML_()
106 uc->uc_mcontext.gregs[VKI_REG_RSP] = (UWord)stack; in ML_()
115 = &uc->uc_mcontext.fpregs.fp_reg_set.fpchip_state; in ML_()
120 uc->uc_mcontext.gregs[VKI_REG_RIP] = tst->arch.vex.guest_RIP; in ML_()
122 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RIP], sizeof(UWord)); in ML_()
123 uc->uc_mcontext.gregs[VKI_REG_RAX] = tst->arch.vex.guest_RAX; in ML_()
125 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RAX], sizeof(UWord)); in ML_()
126 uc->uc_mcontext.gregs[VKI_REG_RBX] = tst->arch.vex.guest_RBX; in ML_()
128 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RBX], sizeof(UWord)); in ML_()
[all …]
Dsyswrap-x86-solaris.c112 uc->uc_mcontext.gregs[VKI_EIP] = (UWord)ML_(start_thread_NORETURN); in ML_()
113 uc->uc_mcontext.gregs[VKI_UESP] = (UWord)stack; in ML_()
125 uc->uc_mcontext.gregs[VKI_CS] = cs; in ML_()
126 uc->uc_mcontext.gregs[VKI_DS] = ds; in ML_()
127 uc->uc_mcontext.gregs[VKI_SS] = ss; in ML_()
128 uc->uc_mcontext.gregs[VKI_ES] = es; in ML_()
129 uc->uc_mcontext.gregs[VKI_FS] = fs; in ML_()
130 uc->uc_mcontext.gregs[VKI_GS] = gs; in ML_()
139 = &uc->uc_mcontext.fpregs.fp_reg_set.fpchip_state; in ML_()
144 uc->uc_mcontext.gregs[VKI_EIP] = tst->arch.vex.guest_EIP; in ML_()
[all …]
/external/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()
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 …]
/external/google-breakpad/src/client/linux/dump_writer_common/
Ducontext_reader.cc44 return uc->uc_mcontext.gregs[REG_ESP]; in GetStackPointer()
48 return uc->uc_mcontext.gregs[REG_EIP]; in GetInstructionPointer()
53 const greg_t* regs = uc->uc_mcontext.gregs; in FillCPUContext()
92 return uc->uc_mcontext.gregs[REG_RSP];
96 return uc->uc_mcontext.gregs[REG_RIP];
101 const greg_t* regs = uc->uc_mcontext.gregs;
149 return uc->uc_mcontext.arm_sp;
153 return uc->uc_mcontext.arm_pc;
159 out->iregs[0] = uc->uc_mcontext.arm_r0;
160 out->iregs[1] = uc->uc_mcontext.arm_r1;
[all …]
/external/valgrind/none/tests/amd64-darwin/
Dbug341419.c112 ASSERT_NE(uc->uc_mcontext, NULL); in handle_signal()
126 ASSERT_EQ(uc->uc_mcontext->__ss.__rax, 0xfeed01010101cafe); in handle_signal()
130 ASSERT_EQ(uc->uc_mcontext->__ss.__rdi, 0xbabe01010101cedeULL); in handle_signal()
131 ASSERT_EQ(uc->uc_mcontext->__ss.__rsi, 0xbabe02020202cedeULL); in handle_signal()
132 ASSERT_EQ(uc->uc_mcontext->__ss.__rdx, 0xbabe03030303cedeULL); in handle_signal()
133 ASSERT_EQ(uc->uc_mcontext->__ss.__rcx, 0xbabe04040404cedeULL); in handle_signal()
134 ASSERT_EQ(uc->uc_mcontext->__ss.__r8, 0xbabe05050505cedeULL); in handle_signal()
135 ASSERT_EQ(uc->uc_mcontext->__ss.__r9, 0xbabe06060606cedeULL); in handle_signal()
139 ASSERT_GTE(uc->uc_mcontext->__ss.__rbp, bottom_of_stack); in handle_signal()
140 ASSERT_LTE(uc->uc_mcontext->__ss.__rbp, top_of_stack); in handle_signal()
[all …]
/external/libchrome/base/debug/
Dstack_trace_posix.cc316 { " gs: ", context->uc_mcontext.gregs[REG_GS] }, in StackDumpSignalHandler()
317 { " fs: ", context->uc_mcontext.gregs[REG_FS] }, in StackDumpSignalHandler()
318 { " es: ", context->uc_mcontext.gregs[REG_ES] }, in StackDumpSignalHandler()
319 { " ds: ", context->uc_mcontext.gregs[REG_DS] }, in StackDumpSignalHandler()
320 { " edi: ", context->uc_mcontext.gregs[REG_EDI] }, in StackDumpSignalHandler()
321 { " esi: ", context->uc_mcontext.gregs[REG_ESI] }, in StackDumpSignalHandler()
322 { " ebp: ", context->uc_mcontext.gregs[REG_EBP] }, in StackDumpSignalHandler()
323 { " esp: ", context->uc_mcontext.gregs[REG_ESP] }, in StackDumpSignalHandler()
324 { " ebx: ", context->uc_mcontext.gregs[REG_EBX] }, in StackDumpSignalHandler()
325 { " edx: ", context->uc_mcontext.gregs[REG_EDX] }, in StackDumpSignalHandler()
[all …]
/external/libunwind/src/x86_64/
DGos-linux.c113 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr()
114 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr()
115 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr()
116 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr()
117 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr()
118 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr()
119 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr()
120 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr()
121 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr()
122 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RSI]; break; in x86_64_r_uc_addr()
[all …]
DGos-freebsd.c163 case UNW_X86_64_R8: addr = &uc->uc_mcontext.mc_r8; break; in x86_64_r_uc_addr()
164 case UNW_X86_64_R9: addr = &uc->uc_mcontext.mc_r9; break; in x86_64_r_uc_addr()
165 case UNW_X86_64_R10: addr = &uc->uc_mcontext.mc_r10; break; in x86_64_r_uc_addr()
166 case UNW_X86_64_R11: addr = &uc->uc_mcontext.mc_r11; break; in x86_64_r_uc_addr()
167 case UNW_X86_64_R12: addr = &uc->uc_mcontext.mc_r12; break; in x86_64_r_uc_addr()
168 case UNW_X86_64_R13: addr = &uc->uc_mcontext.mc_r13; break; in x86_64_r_uc_addr()
169 case UNW_X86_64_R14: addr = &uc->uc_mcontext.mc_r14; break; in x86_64_r_uc_addr()
170 case UNW_X86_64_R15: addr = &uc->uc_mcontext.mc_r15; break; in x86_64_r_uc_addr()
171 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.mc_rdi; break; in x86_64_r_uc_addr()
172 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.mc_rsi; break; in x86_64_r_uc_addr()
[all …]
/external/google-breakpad/src/common/android/
Dbreakpad_getcontext_unittest.cc55 offsetof(ucontext_t,uc_mcontext.arm_r0)); in TEST()
60 offsetof(ucontext_t,uc_mcontext.regs[0])); in TEST()
62 offsetof(ucontext_t,uc_mcontext.sp)); in TEST()
64 offsetof(ucontext_t,uc_mcontext.pc)); in TEST()
66 offsetof(ucontext_t,uc_mcontext.pstate)); in TEST()
68 offsetof(ucontext_t,uc_mcontext.__reserved)); in TEST()
71 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST()
74 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x])) in TEST()
96 offsetof(ucontext_t,uc_mcontext.fpregs)); in TEST()
102 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST()
[all …]
/external/valgrind/coregrind/
Dm_signals.c268 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.eip)
269 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.esp)
272 VG_(mk_SysRes_x86_linux)( (uc)->uc_mcontext.eax )
274 { (srP)->r_pc = (ULong)((uc)->uc_mcontext.eip); \
275 (srP)->r_sp = (ULong)((uc)->uc_mcontext.esp); \
276 (srP)->misc.X86.r_ebp = (uc)->uc_mcontext.ebp; \
280 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.rip)
281 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.rsp)
284 VG_(mk_SysRes_amd64_linux)( (uc)->uc_mcontext.rax )
286 { (srP)->r_pc = (uc)->uc_mcontext.rip; \
[all …]
/external/valgrind/none/tests/x86-darwin/
Dbug341419.c113 ASSERT_NE(uc->uc_mcontext, NULL); in handle_signal()
127 ASSERT_EQ(uc->uc_mcontext->__ss.__eax, 0xfeed0101); in handle_signal()
128 ASSERT_EQ(uc->uc_mcontext->__ss.__ebx, 0xfeed0202); in handle_signal()
129 ASSERT_EQ(uc->uc_mcontext->__ss.__ecx, 0xfeed0303); in handle_signal()
130 ASSERT_EQ(uc->uc_mcontext->__ss.__edx, 0xfeed0404); in handle_signal()
131 ASSERT_EQ(uc->uc_mcontext->__ss.__edi, 0xfeed0505); in handle_signal()
132 ASSERT_EQ(uc->uc_mcontext->__ss.__esi, 0xfeed0606); in handle_signal()
136 ASSERT_GTE(uc->uc_mcontext->__ss.__ebp, bottom_of_stack); in handle_signal()
137 ASSERT_LTE(uc->uc_mcontext->__ss.__ebp, top_of_stack); in handle_signal()
138 ASSERT_GTE(uc->uc_mcontext->__ss.__esp, bottom_of_stack); in handle_signal()
[all …]
/external/valgrind/memcheck/tests/amd64-solaris/
Dcontext_gpr.c25 ucp->uc_mcontext.gregs[REG_RCX] = x0; in sighandler()
28 *(uintptr_t*)&ucp->uc_mcontext.gregs[REG_RIP] = (uintptr_t)break_out; in sighandler()
79 uc.uc_mcontext.gregs[REG_RAX], uc.uc_mcontext.gregs[REG_RCX], in main()
80 uc.uc_mcontext.gregs[REG_RDX], uc.uc_mcontext.gregs[REG_RSI], in main()
81 uc.uc_mcontext.gregs[REG_RDI]); in main()
83 if (uc.uc_mcontext.gregs[REG_RBX]) in main()
/external/libunwind/src/x86/
DGos-linux.c258 case UNW_X86_GS: addr = &uc->uc_mcontext.gregs[REG_GS]; break; in x86_r_uc_addr()
259 case UNW_X86_FS: addr = &uc->uc_mcontext.gregs[REG_FS]; break; in x86_r_uc_addr()
260 case UNW_X86_ES: addr = &uc->uc_mcontext.gregs[REG_ES]; break; in x86_r_uc_addr()
261 case UNW_X86_DS: addr = &uc->uc_mcontext.gregs[REG_DS]; break; in x86_r_uc_addr()
262 case UNW_X86_EAX: addr = &uc->uc_mcontext.gregs[REG_EAX]; break; in x86_r_uc_addr()
263 case UNW_X86_EBX: addr = &uc->uc_mcontext.gregs[REG_EBX]; break; in x86_r_uc_addr()
264 case UNW_X86_ECX: addr = &uc->uc_mcontext.gregs[REG_ECX]; break; in x86_r_uc_addr()
265 case UNW_X86_EDX: addr = &uc->uc_mcontext.gregs[REG_EDX]; break; in x86_r_uc_addr()
266 case UNW_X86_ESI: addr = &uc->uc_mcontext.gregs[REG_ESI]; break; in x86_r_uc_addr()
267 case UNW_X86_EDI: addr = &uc->uc_mcontext.gregs[REG_EDI]; break; in x86_r_uc_addr()
[all …]
DGos-freebsd.c310 case UNW_X86_GS: addr = &uc->uc_mcontext.mc_gs; break; in x86_r_uc_addr()
311 case UNW_X86_FS: addr = &uc->uc_mcontext.mc_fs; break; in x86_r_uc_addr()
312 case UNW_X86_ES: addr = &uc->uc_mcontext.mc_es; break; in x86_r_uc_addr()
313 case UNW_X86_DS: addr = &uc->uc_mcontext.mc_ds; break; in x86_r_uc_addr()
314 case UNW_X86_EAX: addr = &uc->uc_mcontext.mc_eax; break; in x86_r_uc_addr()
315 case UNW_X86_EBX: addr = &uc->uc_mcontext.mc_ebx; break; in x86_r_uc_addr()
316 case UNW_X86_ECX: addr = &uc->uc_mcontext.mc_ecx; break; in x86_r_uc_addr()
317 case UNW_X86_EDX: addr = &uc->uc_mcontext.mc_edx; break; in x86_r_uc_addr()
318 case UNW_X86_ESI: addr = &uc->uc_mcontext.mc_esi; break; in x86_r_uc_addr()
319 case UNW_X86_EDI: addr = &uc->uc_mcontext.mc_edi; break; in x86_r_uc_addr()
[all …]
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dresumption.c155 ctx->uc_mcontext.gregs[REG_ARG0], in TRAP_action()
156 ctx->uc_mcontext.gregs[REG_ARG1], in TRAP_action()
157 ctx->uc_mcontext.gregs[REG_ARG2], in TRAP_action()
158 ctx->uc_mcontext.gregs[REG_ARG3], in TRAP_action()
159 ctx->uc_mcontext.gregs[REG_ARG4], in TRAP_action()
160 ctx->uc_mcontext.gregs[REG_ARG5]); in TRAP_action()
163 if (ctx->uc_mcontext.gregs[REG_IP] >= 0xffffffffff600000ULL && in TRAP_action()
164 ctx->uc_mcontext.gregs[REG_IP] < 0xffffffffff601000ULL) in TRAP_action()
168 ctx->uc_mcontext.gregs[REG_SP] -= sizeof(unsigned long); in TRAP_action()
169 *((unsigned long *)ctx->uc_mcontext.gregs[REG_SP]) = in TRAP_action()
[all …]
Dsigsegv.c136 ctx->uc_mcontext.gregs[REG_ARG0], in TRAP_action()
137 ctx->uc_mcontext.gregs[REG_ARG1], in TRAP_action()
138 ctx->uc_mcontext.gregs[REG_ARG2], in TRAP_action()
139 ctx->uc_mcontext.gregs[REG_ARG3], in TRAP_action()
140 ctx->uc_mcontext.gregs[REG_ARG4], in TRAP_action()
141 ctx->uc_mcontext.gregs[REG_ARG5], in TRAP_action()
142 ALIGN(ctx->uc_mcontext.gregs[REG_IP], 4096)); in TRAP_action()
147 local_mprotect((void *)ctx->uc_mcontext.gregs[REG_IP], sysconf(_SC_PAGE_SIZE)); in TRAP_action()
/external/valgrind/coregrind/m_sigframe/
Dsigframe-ppc64-linux.c203 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \ in VG_()
211 frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in VG_()
213 frame->uc.uc_mcontext.gp_regs[VKI_PT_MSR] = 0xf033; /* pretty arbitrary */ in VG_()
215 frame->uc.uc_mcontext.gp_regs[VKI_PT_MSR] = 0xf032; /* pretty arbitrary */ in VG_()
217 frame->uc.uc_mcontext.gp_regs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in VG_()
218 frame->uc.uc_mcontext.gp_regs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in VG_()
219 frame->uc.uc_mcontext.gp_regs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in VG_()
220 frame->uc.uc_mcontext.gp_regs[VKI_PT_XER] = LibVEX_GuestPPC64_get_XER( in VG_()
222 frame->uc.uc_mcontext.gp_regs[VKI_PT_CCR] = LibVEX_GuestPPC64_get_CR( in VG_()
324 = frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] in VG_()
[all …]
/external/valgrind/memcheck/tests/solaris/
Dthr_daemon_exit_standalone.c152 : [STACK_SEG] "=r" (ucontext.uc_mcontext.gregs[SS]) in lwp_create()
155 ucontext.uc_mcontext.gregs[EIP] = (greg_t) thread_func; in lwp_create()
156 ucontext.uc_mcontext.gregs[UESP] = (greg_t) stack; in lwp_create()
157 ucontext.uc_mcontext.gregs[EBP] = (greg_t) stack; in lwp_create()
159 ucontext.uc_mcontext.gregs[REG_SS] = UDS_SEL; in lwp_create()
160 ucontext.uc_mcontext.gregs[REG_RIP] = (greg_t) thread_func; in lwp_create()
161 ucontext.uc_mcontext.gregs[REG_RSP] = (greg_t) stack; in lwp_create()
162 ucontext.uc_mcontext.gregs[REG_RBP] = (greg_t) stack; in lwp_create()
/external/valgrind/memcheck/tests/x86-solaris/
Dcontext_gpr.c21 ucp->uc_mcontext.gregs[ECX] = x0; in sighandler()
77 uc.uc_mcontext.gregs[EAX], uc.uc_mcontext.gregs[EDX], in main()
78 uc.uc_mcontext.gregs[ESI], uc.uc_mcontext.gregs[EDI]); in main()
80 if (uc.uc_mcontext.gregs[EBX]) in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc1153 *pc = ucontext->uc_mcontext.arm_pc; in GetPcSpBp()
1154 *bp = ucontext->uc_mcontext.arm_fp; in GetPcSpBp()
1155 *sp = ucontext->uc_mcontext.arm_sp; in GetPcSpBp()
1158 *pc = ucontext->uc_mcontext.pc; in GetPcSpBp()
1159 *bp = ucontext->uc_mcontext.regs[29]; in GetPcSpBp()
1160 *sp = ucontext->uc_mcontext.sp; in GetPcSpBp()
1163 *pc = ucontext->uc_mcontext.sc_iaoq[0]; in GetPcSpBp()
1165 *bp = ucontext->uc_mcontext.sc_gr[3]; in GetPcSpBp()
1166 *sp = ucontext->uc_mcontext.sc_gr[30]; in GetPcSpBp()
1170 *pc = ucontext->uc_mcontext.mc_rip; in GetPcSpBp()
[all …]
Dsanitizer_mac.cc474 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
476 *bp = ucontext->uc_mcontext->__ss.__fp; in GetPcSpBp()
478 *bp = ucontext->uc_mcontext->__ss.__lr; in GetPcSpBp()
480 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
482 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp()
483 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp()
484 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp()
486 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
487 *bp = ucontext->uc_mcontext->__ss.__r[7]; in GetPcSpBp()
488 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc429 (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved; in HandleSignal()
438 if (uc_ptr->uc_mcontext.fpregs) { in HandleSignal()
440 uc_ptr->uc_mcontext.fpregs, in HandleSignal()
640 if (!context.context.uc_mcontext.gregs[REG_UESP]) { in WriteMinidump()
647 context.context.uc_mcontext.gregs[REG_UESP] = in WriteMinidump()
648 context.context.uc_mcontext.gregs[REG_EBP] - 16; in WriteMinidump()
651 context.context.uc_mcontext.gregs[REG_ESP] = in WriteMinidump()
652 context.context.uc_mcontext.gregs[REG_UESP]; in WriteMinidump()
658 memcpy(&context.float_state, context.context.uc_mcontext.fpregs, in WriteMinidump()
668 reinterpret_cast<void*>(context.context.uc_mcontext.gregs[REG_EIP]); in WriteMinidump()
[all …]

12345