Home
last modified time | relevance | path

Searched refs:gregs (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_exec_test.cc572 uint64_t gregs[std::size(kGRegs)]; member
591 for (size_t i = 0; i < std::size(x.gregs); ++i) { in ExpectEqualData()
592 EXPECT_EQ(x.gregs[i], y.gregs[i]) << "gregs differ at index " << i; in ExpectEqualData()
629 kGRegs[i], x86_64::kMachineRegRBP, offsetof(Data, gregs) + i * sizeof(data_.gregs[0]));
636 x86_64::kMachineRegRBP, offsetof(Data, gregs) + i * sizeof(data_.gregs[0]), kGRegs[i]); in Finalize()
669 dst_data.gregs[1] = data_.gregs[0]; in TEST_F()
717 uintptr_t rip = ucontext->uc_mcontext.gregs[REG_RIP]; in SigsegvHandler()
720 ucontext->uc_mcontext.gregs[REG_RIP] = it->second; in SigsegvHandler()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dfaulty_memory_accesses_test.cc42 void* fault_addr = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[kRegIP]); in FaultHandler()
45 ucontext->uc_mcontext.gregs[kRegIP] = reinterpret_cast<greg_t>(recovery_addr); in FaultHandler()
Dinterpreter_test.cc60 void* fault_addr = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[kRegIP]); in FaultHandler()
64 ucontext->uc_mcontext.gregs[kRegIP] = reinterpret_cast<greg_t>(recovery_addr); in FaultHandler()
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_handling.cc114 uintptr_t addr = ucontext->uc_mcontext.gregs[kHostRegIP]; in HandleHostSignal()
130 ucontext->uc_mcontext.gregs[kHostRegIP] = recovery_addr; in HandleHostSignal()