Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/
DRegsX86_64.cpp113 memcpy(&regs_[X86_64_REG_R8], &ucontext->uc_mcontext.r8, 8 * sizeof(uint64_t)); in SetFromUcontext()
116 regs_[X86_64_REG_RDI] = ucontext->uc_mcontext.rdi; in SetFromUcontext()
117 regs_[X86_64_REG_RSI] = ucontext->uc_mcontext.rsi; in SetFromUcontext()
118 regs_[X86_64_REG_RBP] = ucontext->uc_mcontext.rbp; in SetFromUcontext()
119 regs_[X86_64_REG_RBX] = ucontext->uc_mcontext.rbx; in SetFromUcontext()
120 regs_[X86_64_REG_RDX] = ucontext->uc_mcontext.rdx; in SetFromUcontext()
121 regs_[X86_64_REG_RAX] = ucontext->uc_mcontext.rax; in SetFromUcontext()
122 regs_[X86_64_REG_RCX] = ucontext->uc_mcontext.rcx; in SetFromUcontext()
123 regs_[X86_64_REG_RSP] = ucontext->uc_mcontext.rsp; in SetFromUcontext()
124 regs_[X86_64_REG_RIP] = ucontext->uc_mcontext.rip; in SetFromUcontext()
[all …]
DRegsX86.cpp96 regs_[X86_REG_EDI] = ucontext->uc_mcontext.edi; in SetFromUcontext()
97 regs_[X86_REG_ESI] = ucontext->uc_mcontext.esi; in SetFromUcontext()
98 regs_[X86_REG_EBP] = ucontext->uc_mcontext.ebp; in SetFromUcontext()
99 regs_[X86_REG_ESP] = ucontext->uc_mcontext.esp; in SetFromUcontext()
100 regs_[X86_REG_EBX] = ucontext->uc_mcontext.ebx; in SetFromUcontext()
101 regs_[X86_REG_EDX] = ucontext->uc_mcontext.edx; in SetFromUcontext()
102 regs_[X86_REG_ECX] = ucontext->uc_mcontext.ecx; in SetFromUcontext()
103 regs_[X86_REG_EAX] = ucontext->uc_mcontext.eax; in SetFromUcontext()
104 regs_[X86_REG_EIP] = ucontext->uc_mcontext.eip; in SetFromUcontext()
166 if (!process_memory->ReadFully(ptr + 0x14, &x86_ucontext.uc_mcontext, sizeof(x86_mcontext_t))) { in StepIfSignalHandler()
DThreadEntry.cpp110 memcpy(&ucontext_.uc_mcontext, &ucontext->uc_mcontext, sizeof(ucontext->uc_mcontext)); in CopyUcontextFromSigcontext()
DRegsMips64.cpp117 memcpy(regs->RawData(), &mips64_ucontext->uc_mcontext.sc_regs[0], 32 * sizeof(uint64_t)); in CreateFromUcontext()
118 (*regs)[MIPS64_REG_PC] = mips64_ucontext->uc_mcontext.sc_pc; in CreateFromUcontext()
DRegsMips.cpp118 (*regs)[MIPS_REG_R0 + i] = mips_ucontext->uc_mcontext.sc_regs[i]; in CreateFromUcontext()
120 (*regs)[MIPS_REG_PC] = mips_ucontext->uc_mcontext.sc_pc; in CreateFromUcontext()
DRegsArm.cpp95 memcpy(regs->RawData(), &arm_ucontext->uc_mcontext.regs[0], ARM_REG_LAST * sizeof(uint32_t)); in CreateFromUcontext()
DRegsRiscv64.cpp113 memcpy(regs->RawData(), &riscv64_ucontext->uc_mcontext.__gregs[0], in CreateFromUcontext()
DRegsArm64.cpp150 memcpy(regs->RawData(), &arm64_ucontext->uc_mcontext.regs[0], ARM64_REG_LAST * sizeof(uint64_t)); in CreateFromUcontext()
/system/unwinding/libunwindstack/tests/
DAndroidUnwinderTest.cpp224 memcpy(&arm_ucontext->uc_mcontext.regs[0], regs->RawData(), ARM_REG_LAST * sizeof(uint32_t)); in TEST()
230 memcpy(&arm64_ucontext->uc_mcontext.regs[0], regs->RawData(), in TEST()
239 x86_ucontext->uc_mcontext.edi = (*regs_x86)[X86_REG_EDI]; in TEST()
240 x86_ucontext->uc_mcontext.esi = (*regs_x86)[X86_REG_ESI]; in TEST()
241 x86_ucontext->uc_mcontext.ebp = (*regs_x86)[X86_REG_EBP]; in TEST()
242 x86_ucontext->uc_mcontext.esp = (*regs_x86)[X86_REG_ESP]; in TEST()
243 x86_ucontext->uc_mcontext.ebx = (*regs_x86)[X86_REG_EBX]; in TEST()
244 x86_ucontext->uc_mcontext.edx = (*regs_x86)[X86_REG_EDX]; in TEST()
245 x86_ucontext->uc_mcontext.ecx = (*regs_x86)[X86_REG_ECX]; in TEST()
246 x86_ucontext->uc_mcontext.eax = (*regs_x86)[X86_REG_EAX]; in TEST()
[all …]
/system/unwinding/libunwindstack/include/unwindstack/
DUcontextMips.h55 mips_mcontext_t uc_mcontext; member
DUcontextArm.h56 arm_mcontext_t uc_mcontext; member
DUcontextArm64.h63 arm64_mcontext_t uc_mcontext __attribute__((aligned(16))); member
DUcontextMips64.h62 mips64_mcontext_t uc_mcontext; member
DUcontextX86.h70 x86_mcontext_t uc_mcontext; member
DUcontextRiscv64.h81 riscv64_mcontext_t uc_mcontext; member
DUcontextX86_64.h75 x86_64_mcontext_t uc_mcontext; member