Scripts: preserve aliases in PE export listings #1086
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1095"
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 ivall/xcl. Originally posted by broccolize on 2026-11-24T11:30:42Z.
A PE export ordinal can have multiple names. The export listing counted each name and kept only the last one for an ordinal. Print every alias on the existing ordinal row.
What is in it
Tested
Clean head
03ab1ac72ec2b67f3e63d34178d37745860a62c1. Windows 11 build 26300, Intel Core i5-10300H, NVIDIA GeForce GTX 1650 driver 32.0.16.1714, Rust 1.100.0 MSVC, debug.cargo build --locked --workspacepassed.cargo test --locked --workspace -- --test-threads=4 --show-outputreported 741 passed, 0 failed, 41 ignored.python -B -m unittest discover -s scripts -p test_pe_exports.pypassed.Not tested
Export listings from retail DLLs.
AI use
Codex was used to implement the change and run verifications
Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T14:15:31Z.
Tested exact head
03ab1ac, script tests only, since this PR has no test report yet.Tested
python -m pytest scripts/test_pe_exports.pyat the head: 1 passed.930e8b4): 1 failed:test_aliases_share_an_ordinal_row. So the new test catches the problem the PR fixes.setdefault(...).appendchange and a 32-bit plus 64-bit test. The two PRs conflict, so only one can land.Not tested
AI use
Imported from ivall/xcl. Originally posted by broccolize on 2026-11-24T18:48:45Z.
Closing because #1084 has merged and covers the same behavior. I verified that this PR’s regression test passes on current
main.upstream-sync referenced this pull request2026-11-25 06:04:27 +00:00
upstream-sync referenced this pull request2026-11-25 17:06:01 +00:00
Pull request closed