Repository navigation
Conversation
abnalstlll-byte
approved these changes
Nov 23, 2026
abnalstlll-byte
left a comment
Contributor
There was a problem hiding this comment.
Verified on Windows 11.
- Correctly serves \LoadPackagedLibrary, \AddDllDirectory, \RemoveDllDirectory, and \SetDefaultDllDirectories\ in
untime/shims/library_loader.cpp\ and
untime/shims/file_system.cpp:- Rejects traversal/relative paths and reserved flags (\ERROR_INVALID_PARAMETER\ / \ERROR_MOD_NOT_FOUND).
- Restricts packaged loading to bundled package modules and owned shims, refusing arbitrary host modules.
- Resolves console paths (\GAME:...) through
t::fs::resolve_read_path. - Proper tracking and lifecycle management for DLL directory cookies.
- Unit tests in
untime/test/loader_test.cpp\ verify all reject/accept paths and cookie round-trips. - \compileall, \git diff --check, and clean-room checks pass.
LGTM!
Contributor
|
Verified head
AI-assisted. |
This was referenced Nov 23, 2026
|
Tested
|
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
Unpackaged processes cannot use the host package loader for owned shims, and console paths are not host directory names.
Known limits
ERROR_MOD_NOT_FOUND; absolute, drive and parent-traversal paths are rejected withERROR_INVALID_PARAMETER.Tested
loader_test: 106 checks, 0 failed; no GPU or driver used. Negative controls: previous loader implementation produced 2 failures; returning success without configuring defaults produced 1 failure.loader_test: 102 checks, 0 failed. A synthetic bundled DLL loads successfully;version.dllis reachable through host search but is rejected by the packaged loader. No GPU or driver used.library_loader.cppwith revision 86a20c4 on the pod (equivalent to stashing that change), retaining the new path tests: 102 checks, 6 failed; restored the fix and forced recompilation: 102 passed. The host reachability assertion was added after the negative control.loader_test, 95 checks, 0 failed; no GPU or driver used.library_loader.cppon the pod (equivalent to stashing the follow-up .cpp change), retaining the new test: 95 checks, 1 failed because the host module was loaded. Restored the changed file and rebuilt: 95 passed.library_loader.cppon the remote copy with the new test (equivalent to stashing that change): 89 checks, 1 failed, missing shim exports. Restored the change and forced recompilation before the passing run.dll_thread_calls_testsuccessfully.git diff --checkandpython -I scripts/check_no_game_data.pypassed for the changed files.@ItsNotRexed: an exe PR, as you asked.
Claim: #8683 (comment)