Contribution access: PR creation rejected (follow-up to #811 ready: census counts title-DLL imports as missing) #838
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from Marvisak/VIctory. Originally posted by UNYTIX on 2026-11-24T11:57:01Z.
Hi @Marvisak, PR creation is now limited to collaborators. Could I be given whatever access lets me open pull requests?
What I've done so far, as a track record:
victory censuson 1.0.2.1 and sorted its 74 "unresolved" imports. 72 are exports of the title's own DLLs (libHttpClient.GDK, Bink2Scarlett, XboxBvhBuilder, amd_fidelityfx_loader_xbox), which the loader binds astitleimports. OnlyOLEAUT32.dllordinals 4 and 6 (imported byvccorlib140.dll) are real gaps. I checked them against the host's export table and Wine's spec, and confirmed that nothing on the boot or menu path loadsvccorlib140.dll.HostPolicychange for those two ordinals is already in #216, so I won't send a duplicate.What I'd send next, a small PR for the other half of #811:
censustreats imports from the title's own DLLs as missing. The commentunreachable!("census maps no title DLLs")inapps/victory/src/census.rsshows why. Resolving them against the scanned DLLs' exports, the same wayWithTitleDllsdoes at run time, would makecensus --missinglist only real gaps. It would include a test with synthetic PE data and no game data.Setup: Windows 11, AMD RX 7800 XT (driver 32.0.32029.2010), Ryzen 7 7800X3D.
cargo clippy(both CI variants) andcargo test --workspace --lockedpass onmain. The asset-policy hook is installed.Disclosure: my work is AI-assisted (Claude Code). I review and run everything locally before posting.
Imported from Marvisak/VIctory. Originally posted by UNYTIX on 2026-11-24T12:08:42Z.
The follow-up to #811 is ready on a branch: UNYTIX/VIctory@census-title-dlls (one commit, 30043d2, on top of
ffe310e).What changed:
censusnow resolves an import that neither HLE nor the host provides against the exports of the DLLs it scanned in the importing image's folder, the wayrunbinds it (WithTitleDlls). It uses the sametitle_dllfilter, so it never takes a host or HLE DLL from the title. Those imports get a newtitlecolumn instead ofmissing.Why: on 1.0.2.1,
census --missinglisted 72 exports of the title's own DLLs as gaps, which hid the two real ones.census --missing, 1.0.2.1oleaut32.dll!#4,#6)Tests: two new unit tests use synthetic export tables, with no game data:
With the fallback removed, the first test fails.
Local results (Windows 11, RX 7800 XT, driver 32.0.32029.2010):
-D warnings) pass.cargo test --workspace --locked: 344 passed, 0 failed, 6 ignored (repository_passes_policyok).Fork CI (the same
ci.yml): all green: run 45389804368 (Clippy, Clippy diagnostics build, Tests).Under
--strict, DLLs the title ships next to its exe (e.g.vcruntime140.dll) now count astitlerather thanmissing, which matches whatrun --strictloads.AI-assisted (Claude Code). I can open it as a PR once PR creation is open to me.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:54:54Z.
Automated triage for the maintainers.
On access: pull requests are open to everyone again (see #717), so no collaborator access is needed. Please open your
census-title-dllsbranch (30043d2) as a PR against currentmain.The census behaviour is confirmed on
main. Inapps/victory/src/census.rs,tally_imagecounts every import that HLE and the host can't resolve as missing, and it never resolves imports against the title's own DLLs (Provenance::Titleisunreachable!("census maps no title DLLs")). Socensus --missinglists the title-DLL exports described in #811. TheOLEAUT32ordinals are in open PR #216, as you noted.Generated by Claude Code
upstream-sync referenced this issue2026-11-25 10:07:39 +00:00