Home
last modified time | relevance | path

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

12

/external/libunwind/src/ppc32/
DGstep.c135 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() local
140 c->sigcontext_addr = ucontext; in unw_step()
142 sp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
143 ip_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_LINK, 0); in unw_step()
163 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R0, 0); in unw_step()
165 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
167 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R2, 0); in unw_step()
169 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R3, 0); in unw_step()
171 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R4, 0); in unw_step()
173 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R5, 0); in unw_step()
[all …]
/external/libunwind/src/ppc64/
DGstep.c136 unw_word_t ucontext = c->dwarf.cfa + __SIGNAL_FRAMESIZE; in unw_step() local
141 c->sigcontext_addr = ucontext; in unw_step()
143 sp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
144 ip_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_NIP, 0); in unw_step()
164 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R0, 0); in unw_step()
166 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R1, 0); in unw_step()
168 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R2, 0); in unw_step()
170 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R3, 0); in unw_step()
172 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R4, 0); in unw_step()
174 DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_R5, 0); in unw_step()
[all …]
/external/libunwind/src/x86_64/
DGos-freebsd.c94 unw_word_t ucontext; in unw_handle_signal_frame() local
99 ucontext = c->dwarf.cfa + offsetof(struct sigframe, sf_uc); in unw_handle_signal_frame()
103 struct dwarf_loc rsp_loc = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSP, 0); in unw_handle_signal_frame()
111 c->dwarf.loc[RAX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RAX, 0); in unw_handle_signal_frame()
112 c->dwarf.loc[RDX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDX, 0); in unw_handle_signal_frame()
113 c->dwarf.loc[RCX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RCX, 0); in unw_handle_signal_frame()
114 c->dwarf.loc[RBX] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBX, 0); in unw_handle_signal_frame()
115 c->dwarf.loc[RSI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RSI, 0); in unw_handle_signal_frame()
116 c->dwarf.loc[RDI] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RDI, 0); in unw_handle_signal_frame()
117 c->dwarf.loc[RBP] = DWARF_LOC (ucontext + UC_MCONTEXT_GREGS_RBP, 0); in unw_handle_signal_frame()
[all …]
/external/valgrind/memcheck/tests/solaris/
Dthr_daemon_exit_standalone.c145 ucontext_t ucontext; in lwp_create() local
146 bzero(&ucontext, sizeof(ucontext)); in lwp_create()
147 ucontext.uc_flags = UC_CPU; in lwp_create()
152 : [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()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc1152 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
1153 *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()
1157 ucontext_t *ucontext = (ucontext_t*)context; 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()
1162 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp()
1163 *pc = ucontext->uc_mcontext.sc_iaoq[0]; in GetPcSpBp()
[all …]
Dsanitizer_mac.cc472 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
474 *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()
[all …]
/external/google-breakpad/src/client/linux/dump_writer_common/
Ducontext_reader.cc43 uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) { in GetStackPointer()
47 uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) { in GetInstructionPointer()
51 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc, in FillCPUContext()
91 uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) {
95 uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) {
99 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc,
148 uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) {
152 uintptr_t UContextReader::GetInstructionPointer(const struct ucontext* uc) {
156 void UContextReader::FillCPUContext(RawContextCPU *out, const ucontext *uc) {
187 uintptr_t UContextReader::GetStackPointer(const struct ucontext* uc) {
[all …]
Ducontext_reader.h44 static uintptr_t GetStackPointer(const struct ucontext* uc);
46 static uintptr_t GetInstructionPointer(const struct ucontext* uc);
52 static void FillCPUContext(RawContextCPU *out, const ucontext *uc,
55 static void FillCPUContext(RawContextCPU *out, const ucontext *uc,
58 static void FillCPUContext(RawContextCPU *out, const ucontext *uc);
/external/valgrind/coregrind/m_sigframe/
Dsigframe-solaris.c85 VG_(save_context)(tid, &frame->ucontext, Vg_CoreSignal); in VG_()
146 VKI_UC_SIGNO(&frame->ucontext) = signo | ((~(UWord)signo & 0xFFFF) << 16); in VG_()
148 tst->os_state.oldcontext = &frame->ucontext; in VG_()
151 frame->ucontext.uc_mcontext.gregs[VKI_REG_ERR] in VG_()
154 (Addr)&frame->ucontext.uc_mcontext.gregs[VKI_REG_ERR], in VG_()
156 frame->ucontext.uc_mcontext.gregs[VKI_REG_TRAPNO] in VG_()
159 (Addr)&frame->ucontext.uc_mcontext.gregs[VKI_REG_TRAPNO], in VG_()
178 frame->a3_ucontext = &frame->ucontext; in VG_()
188 tst->arch.vex.guest_RDX = (Addr)&frame->ucontext; in VG_()
Dsigframe-ppc32-linux.c116 struct vki_ucontext ucontext; member
671 struct vki_ucontext *ucp = &frame->ucontext; in VG_()
862 mc = &frame->ucontext.uc_mcontext; in VG_()
865 tst->sig_mask = frame->ucontext.uc_sigmask; in VG_()
/external/v8/src/profiler/
Dsampler.cc68 typedef struct ucontext { struct
70 struct ucontext* uc_link; argument
80 typedef struct ucontext { argument
82 struct ucontext *uc_link; argument
111 typedef struct ucontext { struct
113 struct ucontext* uc_link; argument
129 typedef struct ucontext { argument
131 struct ucontext* uc_link; argument
146 typedef struct ucontext { struct
148 struct ucontext *uc_link; argument
[all …]
/external/kernel-headers/original/uapi/asm-generic/
Ducontext.h4 struct ucontext { struct
6 struct ucontext *uc_link; argument
/external/kernel-headers/original/uapi/asm-arm64/asm/
Ducontext.h21 struct ucontext { struct
23 struct ucontext *uc_link; argument
/external/libchrome/sandbox/linux/system_headers/
Darm_linux_ucontext.h52 typedef struct ucontext { struct
54 struct ucontext* uc_link; argument
Dmips_linux_ucontext.h40 typedef struct ucontext { struct
42 struct ucontext* uc_link; argument
Di386_linux_ucontext.h78 typedef struct ucontext { struct
80 struct ucontext* uc_link; argument
Dx86_64_linux_ucontext.h77 typedef struct ucontext { struct
79 struct ucontext* uc_link; argument
Darm64_linux_ucontext.h17 struct ucontext* uc_link;
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc425 memcpy(&context.context, uc, sizeof(struct ucontext)); in HandleSignal()
427 struct ucontext *uc_ptr = (struct ucontext*)uc; in HandleSignal()
437 struct ucontext *uc_ptr = (struct ucontext*)uc; in HandleSignal()
461 struct ucontext context; in SimulateSignalDelivery()
/external/strace/linux/mips/
Darch_sigreturn.c20 offsetof(struct ucontext, uc_sigmask); in arch_sigreturn()
/external/strace/linux/tile/
Darch_sigreturn.c7 offsetof(struct ucontext, uc_sigmask); in arch_sigreturn()
/external/strace/linux/arm/
Darch_sigreturn.c12 offsetof(struct ucontext, uc_sigmask)) : in arch_sigreturn()
/external/strace/linux/x86_64/
Darch_sigreturn.c18 #define X86_64_SIGMASK_OFFSET offsetof(struct ucontext, uc_sigmask) in arch_sigreturn()
/external/libunwind/doc/
Dunw_init_local.tex32 ret = unw_init_local(&cursor, &ucontext);
38 &ucontext);
/external/valgrind/memcheck/tests/linux/
Dstack_changes.c13 typedef struct ucontext mycontext;

12