Home
last modified time | relevance | path

Searched refs:ucontext (Results 1 – 7 of 7) sorted by relevance

/frameworks/libs/binary_translation/interpreter/riscv64/
Dfaulty_memory_accesses_test.cc40 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(ctx); in FaultHandler() local
42 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.cc58 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(ctx); in FaultHandler() local
60 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/tests/ndk_program_tests/riscv64/
Dsigill_test.cc35 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()
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm/
Dsigill_test.cc38 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()
/frameworks/libs/binary_translation/guest_os_primitives/
Dguest_signal_handling.cc113 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context); in HandleHostSignal() local
114 uintptr_t addr = ucontext->uc_mcontext.gregs[kHostRegIP]; in HandleHostSignal()
130 ucontext->uc_mcontext.gregs[kHostRegIP] = recovery_addr; in HandleHostSignal()
/frameworks/libs/binary_translation/tests/ndk_program_tests/arm64/
Dsigill_test.cc37 EXPECT_EQ(static_cast<ucontext*>(ctx)->uc_mcontext.pc, in SigillSignalHandlerArm64()
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_exec_test.cc716 ucontext_t* ucontext = reinterpret_cast<ucontext_t*>(context); in SigsegvHandler() local
717 uintptr_t rip = ucontext->uc_mcontext.gregs[REG_RIP]; in SigsegvHandler()
720 ucontext->uc_mcontext.gregs[REG_RIP] = it->second; in SigsegvHandler()