HLE: allow oleaut32.dll in default host policy #2065
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!2065
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2065"
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-25 04:20 UTC · original
fuzeofficlal:fix/hle-allow-oleaut32-811→main· +42 −0 · 1 files · 1 commits · openCloses #811.
Summary
"oleaut32.dll"alongside"ole32.dll"inHostPolicy::default()as a standalone change sovccorlib140.dll'sOLEAUT32.dllordinal imports (#4SysAllocStringLen,#6SysFreeString, etc.) bind to the local system DLL viaLOAD_LIBRARY_SEARCH_SYSTEM32.Testing
default_policy_allows_oleaut32and Windows host resolution testoleaut32_bstr_ordinals_resolve_to_hostverifying ordinals4and6resolve toSysAllocStringLenandSysFreeStringwithProvenance::Host.cargo test -p victory-hle,cargo clippy --workspace --all-targets -- -D warnings, andcargo xtask policy.@jeremygold02 on GitHub · 2026-11-25 04:22 UTC · original
Triage verdict — Keep this focused fix for #811 and reconcile the matching hunk in #216 (
af442f8)Evidence
oleaut32.dllallowlist entry. Both check that ordinals 4 and 6 resolve to the named BSTR functions and count as host imports, as reported by @UNYTIX in #811. This PR additionally checks case-insensitive matching and strict-policy exclusion. Focused change and tests · #216 policy entry · #216 testsChecks and limits
main. The Windows ordinal test result in the PR description is author-reported for this pass.Next step
This verification was AI-assisted.
@Marvisak on GitHub · 2026-11-25 10:23 UTC · original
Automated triage for the maintainers.
Looks mergeable. It adds
oleaut32.dlltoHostPolicy::default()invictory-hle/src/host.rs, next toole32.dll. That binds the two BSTR ordinals (#4SysAllocStringLen, #6SysFreeString) thatvccorlib140.dllimports, which are the last unresolved imports reported in #811. Strict mode (HostPolicy::none) is unaffected. The tests check case-insensitive matching and host provenance for both ordinals. CI is passing.The same hunk is also in the larger #216 (which needs a rebase). If this lands first, #216 should drop it.
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.