pe_map: reject reserved bits in ordinary named import thunks #1614
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1621"
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 R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T15:09:04Z.
Summary
tools/pe_map.cppinstead of masking them with0x7fffffff.tools/pe_map.cppso high-bit garbage cannot alias a valid low RVA.tests/cpu/native_map_check.pyverifying that setting bit 31 or bit 32 on an ordinary named import thunk fails mapping withMAP_FORMAT(import name for ... outside image).Verification
git diff --check origin/main...HEADpython3 tests/docs_links_check.py(16 Markdown files, 348 links)python3 tests/bidi_controls_check.py(1262 files)ec5ee282b441a3c7f5bf2b68c9865bdf1906684b:--preset dev):cpu_native_map+cpu_native_mutation2/2 passed (5.55s)/O2(--preset release):cpu_native_map+cpu_native_mutation2/2 passed (5.51s)AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T15:15:02Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
ec5ee28ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.