Searched refs:uc_mcontext (Results 1 – 16 of 16) sorted by relevance
/system/unwinding/libunwindstack/ |
D | RegsX86_64.cpp | 113 memcpy(®s_[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 …]
|
D | RegsX86.cpp | 96 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()
|
D | ThreadEntry.cpp | 110 memcpy(&ucontext_.uc_mcontext, &ucontext->uc_mcontext, sizeof(ucontext->uc_mcontext)); in CopyUcontextFromSigcontext()
|
D | RegsMips64.cpp | 117 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()
|
D | RegsMips.cpp | 118 (*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()
|
D | RegsArm.cpp | 95 memcpy(regs->RawData(), &arm_ucontext->uc_mcontext.regs[0], ARM_REG_LAST * sizeof(uint32_t)); in CreateFromUcontext()
|
D | RegsRiscv64.cpp | 113 memcpy(regs->RawData(), &riscv64_ucontext->uc_mcontext.__gregs[0], in CreateFromUcontext()
|
D | RegsArm64.cpp | 150 memcpy(regs->RawData(), &arm64_ucontext->uc_mcontext.regs[0], ARM64_REG_LAST * sizeof(uint64_t)); in CreateFromUcontext()
|
/system/unwinding/libunwindstack/tests/ |
D | AndroidUnwinderTest.cpp | 224 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/ |
D | UcontextMips.h | 55 mips_mcontext_t uc_mcontext; member
|
D | UcontextArm.h | 56 arm_mcontext_t uc_mcontext; member
|
D | UcontextArm64.h | 63 arm64_mcontext_t uc_mcontext __attribute__((aligned(16))); member
|
D | UcontextMips64.h | 62 mips64_mcontext_t uc_mcontext; member
|
D | UcontextX86.h | 70 x86_mcontext_t uc_mcontext; member
|
D | UcontextRiscv64.h | 81 riscv64_mcontext_t uc_mcontext; member
|
D | UcontextX86_64.h | 75 x86_64_mcontext_t uc_mcontext; member
|