AnyPS5/core/relinker/elfpatcher/tests
jeffrey12cali 7b8b2047b8 test(relinker): assert converted modules receive the module argument block
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.
2026-10-10 00:57:52 +02:00
..
Amd64OnlyWindowsTests.cpp feat(relinker): lower SHA-1 instructions with a memory operand 2026-10-05 02:02:13 +02:00
GuestModuleArgsHost.cpp test(relinker): assert converted modules receive the module argument block 2026-10-10 00:57:52 +02:00
WindowsDependencyDiagnosticsTests.cpp fix(windows): expose shared libc for internal runtime imports 2026-09-25 06:00:07 +10:00
WindowsIconResourceTests.cpp test: give cpu topology and icon resource temp paths a random suffix 2026-10-08 12:40:39 +02:00