Home
last modified time | relevance | path

Searched refs:ucontext (Results 1 – 25 of 29) 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/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc1266 static bool Aarch64GetESR(ucontext_t *ucontext, u64 *esr) { in Aarch64GetESR() argument
1268 u8 *aux = ucontext->uc_mcontext.__reserved; in Aarch64GetESR()
1283 ucontext_t *ucontext = (ucontext_t *)context; in GetWriteFlag() local
1287 uptr err = ucontext->uc_mcontext.mc_err; in GetWriteFlag()
1289 uptr err = ucontext->uc_mcontext.gregs[REG_ERR]; in GetWriteFlag()
1294 uptr fsr = ucontext->uc_mcontext.error_code; in GetWriteFlag()
1303 if (!Aarch64GetESR(ucontext, &esr)) return UNKNOWN; in GetWriteFlag()
1306 (void)ucontext; in GetWriteFlag()
1313 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
1314 *pc = ucontext->uc_mcontext.arm_pc; in GetPcSpBp()
[all …]
Dsanitizer_mac.cc518 ucontext_t *ucontext = static_cast<ucontext_t*>(context); in GetWriteFlag() local
519 return ucontext->uc_mcontext->__es.__err & 2 /*T_PF_WRITE*/ ? WRITE : READ; in GetWriteFlag()
526 ucontext_t *ucontext = (ucontext_t*)context; in GetPcSpBp() local
528 *pc = ucontext->uc_mcontext->__ss.__pc; in GetPcSpBp()
530 *bp = ucontext->uc_mcontext->__ss.__fp; in GetPcSpBp()
532 *bp = ucontext->uc_mcontext->__ss.__lr; in GetPcSpBp()
534 *sp = ucontext->uc_mcontext->__ss.__sp; in GetPcSpBp()
536 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp()
537 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp()
538 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp()
[all …]
/external/v8/src/libsampler/
Dsampler.cc87 typedef struct ucontext { struct
89 struct ucontext* uc_link; argument
99 typedef struct ucontext { argument
101 struct ucontext *uc_link; argument
130 typedef struct ucontext { struct
132 struct ucontext* uc_link; argument
148 typedef struct ucontext { argument
150 struct ucontext* uc_link; argument
165 typedef struct ucontext { argument
167 struct ucontext *uc_link; argument
[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/kernel-headers/original/uapi/asm-generic/
Ducontext.h5 struct ucontext { struct
7 struct ucontext *uc_link; argument
/external/kernel-headers/original/uapi/asm-arm64/asm/
Ducontext.h22 struct ucontext { struct
24 struct ucontext *uc_link; argument
/external/kernel-headers/original/uapi/asm-mips/asm/
Ducontext.h54 struct ucontext { struct
57 struct ucontext *uc_link; argument
/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()
Dexception_handler.h194 struct ucontext context;
/external/libunwind/doc/
Dunw_init_local.tex32 ret = unw_init_local(&cursor, &ucontext);
38 &ucontext);
Dunw_getcontext.tex32 that of \Type{ucontext\_t} and such structures can be initialized with
/external/ltp/testcases/cve/
Dmeltdown.c122 ucontext_t *ucontext = context; in sigsegv() local
123 unsigned long *prip = (unsigned long *)&ucontext->uc_mcontext.gregs[REG_RIP]; in sigsegv()
/external/libunwind/tests/
Dtest-coredump-unwind.c207 void handle_sigsegv(int sig, siginfo_t *info, void *ucontext) in handle_sigsegv() argument
212 uc = ucontext; in handle_sigsegv()
DGtest-resume-sig.c70 void *ucontext UNUSED) in handler()
/external/strace/tests/
Dsignal_receive.c38 handler(int sig, siginfo_t *info, void *ucontext) in handler() argument
/external/strace/tests-m32/
Dsignal_receive.c38 handler(int sig, siginfo_t *info, void *ucontext) in handler() argument
/external/strace/tests-mx32/
Dsignal_receive.c38 handler(int sig, siginfo_t *info, void *ucontext) in handler() argument
/external/python/cpython2/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2218 class ucontext(Structure): class
2220 ucontext._fields_ = [
2224 ('uc_link', POINTER(ucontext)),
2228 assert sizeof(ucontext) == 32, sizeof(ucontext)
2229 assert alignment(ucontext) == 4, alignment(ucontext)
2230 __darwin_ucontext_t = ucontext
/external/python/cpython3/Lib/lib2to3/tests/data/
Dinfinite_recursion.py2218 class ucontext(Structure): class
2220 ucontext._fields_ = [
2224 ('uc_link', POINTER(ucontext)),
2228 assert sizeof(ucontext) == 32, sizeof(ucontext)
2229 assert alignment(ucontext) == 4, alignment(ucontext)
2230 __darwin_ucontext_t = ucontext
/external/google-breakpad/src/client/linux/microdump_writer/
Dmicrodump_writer.cc364 const struct ucontext* const ucontext_;
/external/google-breakpad/src/common/
Dcommon.gyp53 'android/include/ucontext.h',

12