Searched refs:ucontext (Results 1 – 7 of 7) sorted by relevance
40 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(ctx); in FaultHandler() local42 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()
58 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(ctx); in FaultHandler() local60 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()
35 EXPECT_EQ(static_cast<ucontext*>(ctx)->uc_mcontext.__gregs[REG_PC], in SigillSignalHandlerRiscv64()66 EXPECT_EQ(static_cast<ucontext*>(ctx)->uc_mcontext.__gregs[REG_PC], in SigillFenceISignalHandlerRiscv64()
38 ASSERT_EQ(static_cast<ucontext*>(ctx)->uc_mcontext.arm_pc, in SigillSignalHandlerArm()85 ASSERT_EQ(static_cast<ucontext*>(ctx)->uc_mcontext.arm_pc, in SigillSignalHandlerThumb()
113 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context); in HandleHostSignal() local114 uintptr_t addr = ucontext->uc_mcontext.gregs[kHostRegIP]; in HandleHostSignal()130 ucontext->uc_mcontext.gregs[kHostRegIP] = recovery_addr; in HandleHostSignal()
37 EXPECT_EQ(static_cast<ucontext*>(ctx)->uc_mcontext.pc, in SigillSignalHandlerArm64()
716 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context); in SigsegvHandler() local717 uintptr_t rip = ucontext->uc_mcontext.gregs[REG_RIP]; in SigsegvHandler()720 ucontext->uc_mcontext.gregs[REG_RIP] = it->second; in SigsegvHandler()