Home
last modified time | relevance | path

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

/system/core/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.cpp1515 ucontext->uc_mcontext.arm_sp = sp; in SetUcontextSp()
1517 ucontext->uc_mcontext.sp = sp; in SetUcontextSp()
1519 ucontext->uc_mcontext.gregs[REG_ESP] = sp; in SetUcontextSp()
1521 ucontext->uc_mcontext.gregs[REG_RSP] = sp; in SetUcontextSp()
1531 ucontext->uc_mcontext.arm_pc = pc; in SetUcontextPc()
1533 ucontext->uc_mcontext.pc = pc; in SetUcontextPc()
1535 ucontext->uc_mcontext.gregs[REG_EIP] = pc; in SetUcontextPc()
1537 ucontext->uc_mcontext.gregs[REG_RIP] = pc; in SetUcontextPc()
1547 ucontext->uc_mcontext.arm_lr = lr; in SetUcontextLr()
1549 ucontext->uc_mcontext.regs[30] = lr; in SetUcontextLr()
/system/core/libunwindstack/
DRegsX86_64.cpp120 memcpy(&regs_[X86_64_REG_R8], &ucontext->uc_mcontext.r8, 8 * sizeof(uint64_t)); in SetFromUcontext()
123 regs_[X86_64_REG_RDI] = ucontext->uc_mcontext.rdi; in SetFromUcontext()
124 regs_[X86_64_REG_RSI] = ucontext->uc_mcontext.rsi; in SetFromUcontext()
125 regs_[X86_64_REG_RBP] = ucontext->uc_mcontext.rbp; in SetFromUcontext()
126 regs_[X86_64_REG_RBX] = ucontext->uc_mcontext.rbx; in SetFromUcontext()
127 regs_[X86_64_REG_RDX] = ucontext->uc_mcontext.rdx; in SetFromUcontext()
128 regs_[X86_64_REG_RAX] = ucontext->uc_mcontext.rax; in SetFromUcontext()
129 regs_[X86_64_REG_RCX] = ucontext->uc_mcontext.rcx; in SetFromUcontext()
130 regs_[X86_64_REG_RSP] = ucontext->uc_mcontext.rsp; in SetFromUcontext()
131 regs_[X86_64_REG_RIP] = ucontext->uc_mcontext.rip; in SetFromUcontext()
[all …]
DRegsX86.cpp103 regs_[X86_REG_EDI] = ucontext->uc_mcontext.edi; in SetFromUcontext()
104 regs_[X86_REG_ESI] = ucontext->uc_mcontext.esi; in SetFromUcontext()
105 regs_[X86_REG_EBP] = ucontext->uc_mcontext.ebp; in SetFromUcontext()
106 regs_[X86_REG_ESP] = ucontext->uc_mcontext.esp; in SetFromUcontext()
107 regs_[X86_REG_EBX] = ucontext->uc_mcontext.ebx; in SetFromUcontext()
108 regs_[X86_REG_EDX] = ucontext->uc_mcontext.edx; in SetFromUcontext()
109 regs_[X86_REG_ECX] = ucontext->uc_mcontext.ecx; in SetFromUcontext()
110 regs_[X86_REG_EAX] = ucontext->uc_mcontext.eax; in SetFromUcontext()
111 regs_[X86_REG_EIP] = ucontext->uc_mcontext.eip; in SetFromUcontext()
173 if (!process_memory->ReadFully(ptr + 0x14, &x86_ucontext.uc_mcontext, sizeof(x86_mcontext_t))) { in StepIfSignalHandler()
DRegsMips64.cpp125 memcpy(regs->RawData(), &mips64_ucontext->uc_mcontext.sc_regs[0], 32 * sizeof(uint64_t)); in CreateFromUcontext()
126 (*regs)[MIPS64_REG_PC] = mips64_ucontext->uc_mcontext.sc_pc; in CreateFromUcontext()
DRegsMips.cpp126 (*regs)[MIPS_REG_R0 + i] = mips_ucontext->uc_mcontext.sc_regs[i]; in CreateFromUcontext()
128 (*regs)[MIPS_REG_PC] = mips_ucontext->uc_mcontext.sc_pc; in CreateFromUcontext()
DRegsArm64.cpp123 memcpy(regs->RawData(), &arm64_ucontext->uc_mcontext.regs[0], ARM64_REG_LAST * sizeof(uint64_t)); in CreateFromUcontext()
DRegsArm.cpp126 memcpy(regs->RawData(), &arm_ucontext->uc_mcontext.regs[0], ARM_REG_LAST * sizeof(uint32_t)); in CreateFromUcontext()
/system/core/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