upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 11:53:47 +0000
committerDominik <55330408+Dom-in@users.noreply.github.com>2026-11-22 11:53:47 +0000
commiteef61a04c09eb5c3bccb1b79d21e2934f4941ddd (patch)
tree3f4e1f8393b159b5c62aa25eba2116f98c9ae5f6 /runtime/src/pe_loader.cpp
parentbb2e18421dac527374eb837c88b5063c5d96f81f (diff)
test: a mapped program reaches xgameruntime.dll through LoadLibraryW, as GDK titles do
#1384 made the loader answer LoadLibrary/GetProcAddress for shim-owned modules, because the package's GDK modules load xgameruntime.dll at run time instead of importing it. Only a registry-level unit test covered it. tiny_gdk_load.exe has no xgameruntime.dll import and does what xgameruntime.lib's thunks do: LoadLibraryW, GetProcAddress of the five entry points, InitializeApiImplEx2, QueryApiImpl for XThreadingImpl and UninitializeApiImpl. ctest run_tiny_gdk_load runs it under gta6rt --run, so its own kernel32 imports go through the loader's binding, and checks the verdict from outside as run_tiny_async does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions