An SVC outside the analysed code: the net

The patcher changes the words that the recompiler's analysis finds as code, and the unproven ones inside its functions. A word of those encodings outside every function keeps its bytes, so a literal of the same value stays as it is (Eden patches every such word of .text). If one of them is code after all, a function only a table reaches, an SVC there would run as a system call of the host, x8 its number. Each guest thread takes a seccomp filter as it starts the game's code (nce_host_net, nce_net_install, its words from nce_net_filter): a system call it makes from the guest's addresses traps with SIGSYS, is not made, and the game stops with the SVC's address and immediate. The runtime's own threads make their system calls with no filter of ours. The recompile's line counts the words outside the functions by kind.

Limits:


Made from docs/platforms/nx/nce.md at 69237645142c. GPL-3.0-or-later.