mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-08 12:00:17 +02:00
Currently FEX doesn't properly support partial decoded instructions, which behave slightly differently than full noexec or invalid instruction decodings. Before this commit we didn't even have a way to detect the difference. Primary difference is that the faulting RIP is the beginning of instruction decode, while the fault address is the first byte that couldn't be fetched due to memory permissions. This shows up as a difference between the RIP in mcontext and si_addr in siginfo in the Linux signal handler. Right now just change the log so we can determine if we need to support this edge case.