Contribution access: PR creation rejected (follow-up to #811 ready: census counts title-DLL imports as missing) #838

Open
opened 2026-11-26 04:14:02 +00:00 by github-bot · 2 comments
Owner

@⁠UNYTIX on GitHub · 2026-11-24 11:57 UTC · original

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:

  • #811: I ran victory census on 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 as title imports. Only OLEAUT32.dll ordinals 4 and 6 (imported by vccorlib140.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 loads vccorlib140.dll.
  • The HostPolicy change 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: census treats imports from the title's own DLLs as missing. The comment unreachable!("census maps no title DLLs") in apps/victory/src/census.rs shows why. Resolving them against the scanned DLLs' exports, the same way WithTitleDlls does at run time, would make census --missing list 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) and cargo test --workspace --locked pass on main. The asset-policy hook is installed.

Disclosure: my work is AI-assisted (Claude Code). I review and run everything locally before posting.

**@⁠UNYTIX** on GitHub · 2026-11-24 11:57 UTC · [original](https://github.com/Marvisak/VIctory/issues/838) 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: - #811: I ran `victory census` on 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 as `title` imports. Only `OLEAUT32.dll` ordinals 4 and 6 (imported by `vccorlib140.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 loads `vccorlib140.dll`. - The `HostPolicy` change 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: `census` treats imports from the title's own DLLs as missing. The comment `unreachable!("census maps no title DLLs")` in `apps/victory/src/census.rs` shows why. Resolving them against the scanned DLLs' exports, the same way `WithTitleDlls` does at run time, would make `census --missing` list 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) and `cargo test --workspace --locked` pass on `main`. The asset-policy hook is installed. Disclosure: my work is AI-assisted (Claude Code). I review and run everything locally before posting.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:14:02 +00:00
Author
Owner

@⁠UNYTIX on GitHub · 2026-11-24 12:08 UTC · original

The follow-up to #811 is ready on a branch: UNYTIX/VIctory@census-title-dlls (one commit, 30043d2, on top of ffe310e).

What changed: census now 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 way run binds it (WithTitleDlls). It uses the same title_dll filter, so it never takes a host or HLE DLL from the title. Those imports get a new title column instead of missing.

Why: on 1.0.2.1, census --missing listed 72 exports of the title's own DLLs as gaps, which hid the two real ones.

census --missing, 1.0.2.1 title missing
before – 74
after 72 (libHttpClient.GDK 38, Bink2Scarlett 23, XboxBvhBuilder 7, amd_fidelityfx_loader_xbox 4) 2 (oleaut32.dll!#4, #6)

Tests: two new unit tests use synthetic export tables, with no game data:

  • A title DLL's exports in the same folder resolve as title, by name and by ordinal. Unexported symbols and DLLs in other folders don't.
  • A host-allowed DLL shipped in the title folder is not used.

With the fallback removed, the first test fails.

Local results (Windows 11, RX 7800 XT, driver 32.0.32029.2010):

  • Both clippy variants (-D warnings) pass.
  • cargo test --workspace --locked: 344 passed, 0 failed, 6 ignored (repository_passes_policy ok).

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 as title rather than missing, which matches what run --strict loads.

AI-assisted (Claude Code). I can open it as a PR once PR creation is open to me.

**@⁠UNYTIX** on GitHub · 2026-11-24 12:08 UTC · [original](https://github.com/Marvisak/VIctory/issues/838#issuecomment-7131027139) The follow-up to #811 is ready on a branch: [UNYTIX/VIctory@census-title-dlls](https://github.com/UNYTIX/VIctory/tree/census-title-dlls) (one commit, 30043d2, on top of ffe310e). **What changed:** `census` now 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 way `run` binds it (`WithTitleDlls`). It uses the same `title_dll` filter, so it never takes a host or HLE DLL from the title. Those imports get a new `title` column instead of `missing`. **Why:** on 1.0.2.1, `census --missing` listed 72 exports of the title's own DLLs as gaps, which hid the two real ones. | `census --missing`, 1.0.2.1 | title | missing | |---|---|---| | before | – | 74 | | after | 72 (libHttpClient.GDK 38, Bink2Scarlett 23, XboxBvhBuilder 7, amd_fidelityfx_loader_xbox 4) | 2 (`oleaut32.dll!#4`, `#6`) | **Tests:** two new unit tests use synthetic export tables, with no game data: - A title DLL's exports in the same folder resolve as title, by name and by ordinal. Unexported symbols and DLLs in other folders don't. - A host-allowed DLL shipped in the title folder is not used. With the fallback removed, the first test fails. Local results (Windows 11, RX 7800 XT, driver 32.0.32029.2010): - Both clippy variants (`-D warnings`) pass. - `cargo test --workspace --locked`: 344 passed, 0 failed, 6 ignored (`repository_passes_policy` ok). Fork CI (the same `ci.yml`): all green: [run 45389804368](https://github.com/UNYTIX/VIctory/actions/runs/45389804368) (Clippy, Clippy diagnostics build, Tests). Under `--strict`, DLLs the title ships next to its exe (e.g. `vcruntime140.dll`) now count as `title` rather than `missing`, which matches what `run --strict` loads. AI-assisted (Claude Code). I can open it as a PR once PR creation is open to me.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:54 UTC · original

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-dlls branch (30043d2) as a PR against current main.

The census behaviour is confirmed on main. In apps/victory/src/census.rs, tally_image counts every import that HLE and the host can't resolve as missing, and it never resolves imports against the title's own DLLs (Provenance::Title is unreachable!("census maps no title DLLs")). So census --missing lists the title-DLL exports described in #811. The OLEAUT32 ordinals are in open PR #216, as you noted.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/838#issuecomment-7152357349) <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-24T12:08:42Z at=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-dlls` branch (`30043d2`) as a PR against current `main`. The census behaviour is confirmed on `main`. In `apps/victory/src/census.rs`, `tally_image` counts every import that HLE and the host can't resolve as missing, and it never resolves imports against the title's own DLLs (`Provenance::Title` is `unreachable!("census maps no title DLLs")`). So `census --missing` lists the title-DLL exports described in #811. The `OLEAUT32` ordinals are in open PR #216, as you noted. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#838
No description provided.