App: check transitive static imports of mapped title DLLs for missing files #3015
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3015
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3015"
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?
@fuzeofficlal on GitHub · 2026-11-26 03:27 UTC · original
fuzeofficlal:fix/cli-run-transitive-absent-dlls→main· +49 −24 · 1 files · 1 commits · openSummary
apps/victory/src/run.rs::absent_title_dllsto inspect the static import tables of every mapped title DLL (dll.info().imports) in addition to the main executable's direct imports.victory_loader::load_title_dlls's recursive dependency walk so missing transitive title-private DLLs (exe -> A.dll -> missing_B.dll) are caught and reported up front during startup package validation instead of passing silently and trapping during DLL attachment.run::absent_tests::missing_static_imports_of_mapped_title_dlls_are_named_oncecovering transitive missing imports, case-insensitive deduplication, and host/HLE/mapped exclusions.Verification
cargo test --locked -p victory: 15 unit tests + 4 integration tests passed.cargo clippy --locked -p victory --all-targets -- -D warnings: 0 warnings.cargo xtask policy: 191 files ok.@futurepro62 on GitHub · 2026-11-26 04:26 UTC · original
NVIDIA full-suite run, to go with the reports above by Dukestar69, since none of them names a GPU run. Tested exact head
c708a6a(on its base63bcca4).Tested
dxil.dllfrom Windows SDK 10.0.26100 (the loader's default), debug.cargo build --workspace --locked, thencargo test --workspace --locked --no-fail-fast -- --test-threads=4 --skip emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index --skip descriptor::host::tests::dynamic_slots_are_held_until_released --skip memory::tests::lists_share_a_table_and_copies_keep_their_views --skip emit::stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride --skip emit::stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros --skip emit::synthetic_tests::gathers_at_a_level_match_the_hardware: 867 passed, 0 failed, 10 ignored.missing_static_imports_of_mapped_title_dlls_are_named_once.--skipleaves out tests that fail on main63bcca4on this card too, not because of this PR:heap_direct_texture_reads_mark_their_heap_indexends thevictory-shadertest process with0xc0000005(#2571), so without the skip the rest of that crate never reports;dynamic_slots_are_held_until_released,lists_share_a_table_and_copies_keep_their_viewsand the twostride_testshit the 1,000,000-view heap cap of NVIDIA drivers (#1835, #2317);gathers_at_a_level_match_the_hardwarefails on lane 0 (#1744).Not tested
AI use
@Marvisak on GitHub · 2026-11-26 06:14 UTC · original
Automated triage for the maintainers.
absent_title_dllsinapps/victory/src/run.rsnow also checks the static imports of every title DLLvictory_loader::load_title_dllsmapped, not only the main image's. Onmain,map_dll(crates/victory-loader/src/windows.rs) silently skips a wanted DLL whose file is missing, so a missingexe -> A.dll -> B.dlldependency went unreported until the title trapped in an unbound import. The change is limited to the startup check, dedup stays case-insensitive, and the new test covers a transitive miss plus host/HLE exclusions. No dependency, policy or rule issues found. CIcheck: passing.One small gap that need not block it:
load_title_dllsalso follows delay imports, which this check (like the one onmain) still leaves out.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.