Home
last modified time | relevance | path

Searched refs:fault_addr (Results 1 – 9 of 9) sorted by relevance

/frameworks/libs/binary_translation/interpreter/riscv64/
Dfaulty_memory_accesses_x86_64.cc114 std::pair<uintptr_t, uintptr_t> MakePairAdapter(FaultyAccessPointer fault_addr, in MakePairAdapter() argument
116 return {reinterpret_cast<uintptr_t>(fault_addr), reinterpret_cast<uintptr_t>(recovery_addr)}; in MakePairAdapter()
182 void* FindFaultyMemoryAccessRecoveryAddrForTesting(void* fault_addr) { in FindFaultyMemoryAccessRecoveryAddrForTesting() argument
183 if (fault_addr == &FaultyLoad8 || fault_addr == &FaultyLoad16 || fault_addr == &FaultyLoad32 || in FindFaultyMemoryAccessRecoveryAddrForTesting()
184 fault_addr == &FaultyLoad64) { in FindFaultyMemoryAccessRecoveryAddrForTesting()
187 if (fault_addr == &FaultyStore8 || fault_addr == &FaultyStore16 || fault_addr == &FaultyStore32 || in FindFaultyMemoryAccessRecoveryAddrForTesting()
188 fault_addr == &FaultyStore64) { in FindFaultyMemoryAccessRecoveryAddrForTesting()
Dfaulty_memory_accesses.h33 void* FindFaultyMemoryAccessRecoveryAddrForTesting(void* fault_addr);
Dfaulty_memory_accesses_test.cc42 void* fault_addr = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[kRegIP]); in FaultHandler() local
43 void* recovery_addr = FindFaultyMemoryAccessRecoveryAddrForTesting(fault_addr); in FaultHandler()
Dinterpreter_test.cc60 void* fault_addr = reinterpret_cast<void*>(ucontext->uc_mcontext.gregs[kRegIP]); in FaultHandler() local
61 void* recovery_addr = FindFaultyMemoryAccessRecoveryAddrForTesting(fault_addr); in FaultHandler()
/frameworks/libs/binary_translation/runtime_primitives/
Drecovery_code.cc36 uintptr_t FindExtraRecoveryCodeUnsafe(uintptr_t fault_addr) { in FindExtraRecoveryCodeUnsafe() argument
38 auto it = g_recovery_map.find(fault_addr); in FindExtraRecoveryCodeUnsafe()
56 uintptr_t FindRecoveryCode(uintptr_t fault_addr, ThreadState* state) { in FindRecoveryCode() argument
64 recovery_addr = GetDefaultCodePoolInstance()->FindRecoveryCode(fault_addr); in FindRecoveryCode()
72 recovery_addr = FindExtraRecoveryCodeUnsafe(fault_addr); in FindRecoveryCode()
/frameworks/libs/binary_translation/assembler/
Dmachine_code.cc67 uintptr_t fault_addr = start + rel.pc; in PerformRelocations() local
69 (*recovery_map)[fault_addr] = recovery_addr; in PerformRelocations()
Dmachine_code_test.cc69 auto fault_addr = reinterpret_cast<uintptr_t>(&out[1]); in TEST() local
72 EXPECT_EQ(recovery_addr, rec[fault_addr]); in TEST()
/frameworks/libs/binary_translation/runtime_primitives/include/berberis/runtime_primitives/
Dcode_pool.h69 [[nodiscard]] uintptr_t FindRecoveryCode(uintptr_t fault_addr) const { in FindRecoveryCode() argument
71 auto it = recovery_map_.find(fault_addr); in FindRecoveryCode()
Drecovery_code.h32 uintptr_t FindRecoveryCode(uintptr_t fault_addr, ThreadState* state);