Lines Matching refs:regs_
39 return regs_[X86_64_REG_PC]; in pc()
43 return regs_[X86_64_REG_SP]; in sp()
47 regs_[X86_64_REG_PC] = pc; in set_pc()
51 regs_[X86_64_REG_SP] = sp; in set_sp()
57 if (!process_memory->ReadFully(regs_[X86_64_REG_SP], &new_pc, sizeof(new_pc)) || in SetPcFromReturnAddress()
58 new_pc == regs_[X86_64_REG_PC]) { in SetPcFromReturnAddress()
62 regs_[X86_64_REG_PC] = new_pc; in SetPcFromReturnAddress()
67 fn("rax", regs_[X86_64_REG_RAX]); in IterateRegisters()
68 fn("rbx", regs_[X86_64_REG_RBX]); in IterateRegisters()
69 fn("rcx", regs_[X86_64_REG_RCX]); in IterateRegisters()
70 fn("rdx", regs_[X86_64_REG_RDX]); in IterateRegisters()
71 fn("r8", regs_[X86_64_REG_R8]); in IterateRegisters()
72 fn("r9", regs_[X86_64_REG_R9]); in IterateRegisters()
73 fn("r10", regs_[X86_64_REG_R10]); in IterateRegisters()
74 fn("r11", regs_[X86_64_REG_R11]); in IterateRegisters()
75 fn("r12", regs_[X86_64_REG_R12]); in IterateRegisters()
76 fn("r13", regs_[X86_64_REG_R13]); in IterateRegisters()
77 fn("r14", regs_[X86_64_REG_R14]); in IterateRegisters()
78 fn("r15", regs_[X86_64_REG_R15]); in IterateRegisters()
79 fn("rdi", regs_[X86_64_REG_RDI]); in IterateRegisters()
80 fn("rsi", regs_[X86_64_REG_RSI]); in IterateRegisters()
81 fn("rbp", regs_[X86_64_REG_RBP]); in IterateRegisters()
82 fn("rsp", regs_[X86_64_REG_RSP]); in IterateRegisters()
83 fn("rip", regs_[X86_64_REG_RIP]); in IterateRegisters()
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()
156 if (!process_memory->ReadFully(regs_[X86_64_REG_SP] + 0x28, &x86_64_ucontext.uc_mcontext, in StepIfSignalHandler()