You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
runtime: trampoline xgameruntime!QueryApiImpl for pre-attach GPA caches #2350
startup_runtime_proxy_scope and the account-picker Y stall dig after #2166 show that a QueryApiImpl pointer resolved before the GameInput/runtime_proxy attach stays the real export. IAT/GPA rewrites do not touch already-held function pointers, so FakeUser/X2W_TRACE_API never see providers on that path.
Related: bound delay-IAT rewrite in #2349. Refs #870. Do not ship a FakeUser slot-7 guess from account-picker logs that still show zero providers.
Done when
After the proxy attaches, a QueryApiImpl pointer that was cached from xgameruntime.dllbefore attach forwards through the proxy (providers / provider … proxied appear when that pointer is called with readable GUIDs).
An unrelated module that also exports QueryApiImpl (the existing decoy) is not trampolined.
Docs: one sentence on the X2W_RUNTIME_PROXY row in docs/startup-runtime.md describing the export trampoline and its limits.
Acceptance command
ctest --preset dev --no-tests=error -R '^startup_runtime_proxy_scope$'
Extend that fixture (or a sibling) so the pre-attach cached pointer check that today expects the real export instead expects the proxy after this change.
Claiming for an xgameruntime!QueryApiImpl export trampoline so a pre-attach cached pointer forwards through the proxy after attach (IAT/GPA alone cannot). Decoy QueryApiImpl stays untouched. Synthetic fixture + negative control in startup_runtime_proxy_scope; docs one-liner on the X2W_RUNTIME_PROXY row. Refs #870. Not shipping a FakeUser slot-7 guess from zero-provider logs.
Activity
SimSalabimse commentedon Nov 25, 2026
Claiming for an
xgameruntime!QueryApiImplexport trampoline so a pre-attach cached pointer forwards through the proxy after attach (IAT/GPA alone cannot). DecoyQueryApiImplstays untouched. Synthetic fixture + negative control instartup_runtime_proxy_scope; docs one-liner on theX2W_RUNTIME_PROXYrow. Refs #870. Not shipping a FakeUser slot-7 guess from zero-provider logs.