mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 17:01:06 +02:00
We are required in our syscall emulation to handle cases where pointers are invalid. This means we need to pessimistically assume a memcpy will fault when reading application memory. This implements a signal handler based approach to catching the SIGSEGV on memcpy and returning an EFAULT if it faults.