fix(loader): share forwarder resolution with dynamic GetProcAddress #234
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/234"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by brainbudt on 2026-11-27T02:18:51Z.
Summary
When a title DLL exported a symbol forwarded to a host or HLE DLL (for example
KERNEL32.SetLastError), static import binding resolved the forwarded target through the launch resolver, while dynamicGetProcAddressonly looked up the target DLL in the title-DLL registry and returnedNULL.Changes
TitleDll::resolve_exportand the launchNATIVE_TITLE_RESOLVER(preserving--strict/ host policy) between static import binding and dynamicGetProcAddress.NULLwithERROR_PROC_NOT_FOUND.docs/native-host.md.Verification
cargo test -j4 -p victory-loader(16 passed, 3 ignored)cargo test -p victory-hle --target x86_64-apple-darwin --lib modules::kernel(2 passed)cargo clippy -j4 -p victory-loader -p victory-hle --all-targets --target x86_64-pc-windows-gnullvm -- -D warningscargo xtask policyImported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T02:33:55Z.
Review: APPROVED
Reviewed and tested together with the other open PRs on main (macOS x86_64 workspace tests, the setup shell tests, and Windows clippy). Thanks!