Home
last modified time | relevance | path

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

/system/unwinding/libbacktrace/
Dbacktrace_testlib.cpp88 memcpy(&ucontext.uc_mcontext, regs->RawData(), sizeof(uint32_t) * 16); in GetContextAndExit()
90 memcpy(&ucontext.uc_mcontext, regs->RawData(), sizeof(uint64_t) * 33); in GetContextAndExit()
93 ucontext.uc_mcontext.gregs[0] = reg_data[15]; in GetContextAndExit()
94 ucontext.uc_mcontext.gregs[1] = reg_data[14]; in GetContextAndExit()
95 ucontext.uc_mcontext.gregs[2] = reg_data[13]; in GetContextAndExit()
96 ucontext.uc_mcontext.gregs[3] = reg_data[12]; in GetContextAndExit()
97 ucontext.uc_mcontext.gregs[4] = reg_data[7]; in GetContextAndExit()
98 ucontext.uc_mcontext.gregs[5] = reg_data[6]; in GetContextAndExit()
99 ucontext.uc_mcontext.gregs[6] = reg_data[5]; in GetContextAndExit()
100 ucontext.uc_mcontext.gregs[7] = reg_data[4]; in GetContextAndExit()
[all …]
DThreadEntry.cpp130 memcpy(&ucontext_.uc_mcontext, &ucontext->uc_mcontext, sizeof(ucontext->uc_mcontext)); in CopyUcontextFromSigcontext()
Dbacktrace_test.cpp1531 ucontext->uc_mcontext.arm_sp = sp; in SetUcontextSp()
1533 ucontext->uc_mcontext.sp = sp; in SetUcontextSp()
1535 ucontext->uc_mcontext.gregs[REG_ESP] = sp; in SetUcontextSp()
1537 ucontext->uc_mcontext.gregs[REG_RSP] = sp; in SetUcontextSp()
1547 ucontext->uc_mcontext.arm_pc = pc; in SetUcontextPc()
1549 ucontext->uc_mcontext.pc = pc; in SetUcontextPc()
1551 ucontext->uc_mcontext.gregs[REG_EIP] = pc; in SetUcontextPc()
1553 ucontext->uc_mcontext.gregs[REG_RIP] = pc; in SetUcontextPc()
1563 ucontext->uc_mcontext.arm_lr = lr; in SetUcontextLr()
1565 ucontext->uc_mcontext.regs[30] = lr; in SetUcontextLr()
/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.cpp99 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()
DRegsArm64.cpp150 memcpy(regs->RawData(), &arm64_ucontext->uc_mcontext.regs[0], ARM64_REG_LAST * sizeof(uint64_t)); in CreateFromUcontext()
/system/unwinding/libunwindstack/include/unwindstack/
DUcontextMips.h56 mips_mcontext_t uc_mcontext; member
DUcontextArm.h57 arm_mcontext_t uc_mcontext; member
DUcontextArm64.h64 arm64_mcontext_t uc_mcontext __attribute__((aligned(16))); member
DUcontextMips64.h63 mips64_mcontext_t uc_mcontext; member
DUcontextX86.h71 x86_mcontext_t uc_mcontext; member
DUcontextX86_64.h76 x86_64_mcontext_t uc_mcontext; member