loader: name a native image's missing imports when it is bound #135
No reviewers
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS!135
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-135"
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?
@Olima34 on GitHub · 2026-11-26 18:26 UTC · original
Olima34:feat/name-missing-imports→main· +53 −7 · 2 files · 1 commits · merged 2026-11-26 19:02 UTCTester log #123 shows
native imports bound hle=7 host=42 missing=3for the late-loadedamd_fidelityfx_upscaler_xbox.dll: one unresolved import each inapi-ms-win-core-debug-l1-1-0,api-ms-win-core-localization-l1-2-0andapi-ms-win-crt-math-l1-1-0. Nothing in the log names them. For a late-loaded DLL,native_run::load_latebinds without listing, so the names only appear withvictory run --list, which a tester doesn't run.What (
victory-loader/src/native/bind.rs,bind_imports): when imports are missing, the samenative imports boundline becomes warn level and gains anunresolvedfield,dll!symbol, dll!#n, with ordinals throughImportSymbol'sDisplay. It is logged once per bound image. With nothing missing, the line stays info. The Windows loader's own "imports bound" line is untouched. The next tester log will name exactly which HLE functions to add.Test.
unresolved_imports_are_named_with_their_dllchecks a name and an ordinal (ImportSymbol::Ordinal(42)).victory-loader (22), victory-hle (248) and native_probe tests (x86_64-apple-darwin), Windows clippy and
cargo xtask policypass.@LakshanSivakumar on GitHub · 2026-11-26 18:56 UTC · original · approved these changes
Reviewed and tested together with the other open PRs on main (macOS x86_64 tests for shader, hle, loader and gpu, the setup shell tests, and Windows clippy). Thanks!