mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
Add a hand-built guest module with an explicit DT_INIT that forwards rdi and rsi to a host recorder without touching them and returns a known value. The test sets a known argument count and argument pointer, loads the converted module, and asserts that the initialiser received both values and that the stub forwarded its return value. The host recorder also provides the two accessor symbols, so the test resolves them without loading libkernel. The converted module must import both accessors, which is what distinguishes the new behaviour from the previous stub that zeroed the arguments.