fix(nid): preserve PE export forwarders when repacking names #2268
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2268"
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 boykopovar/AnyPS5. Originally posted by SzymonLeja on 2026-10-09T14:03:42Z.
What
Fix the Windows PE NID patcher corrupting valid forwarded exports while repacking
renamed export strings.
The patcher now:
Tested
cmake --build build --target libs(passed)nid_patcher_pe_forwarders(passed)patched_libraries(passed)tools/check_conventions.py --base origin/main(passed)tools/check_test_registration.py build: 444 executables, no new exceptions (passed)git diff --check(passed)objdump -p.LoadLibraryandGetProcAddress.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); no silent stubs added.mdfiles or images added to the repository#2170 and #2247 touch the same CMake test-registration block, but neither implements or is required by this PE forwarder fix. Depends on: None .
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T14:34:43Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/CMakeLists.txtL133core/libs/CMakeLists.txtL133Imported from boykopovar/AnyPS5. Originally posted by SzymonLeja on 2026-10-09T16:39:17Z.
#2170 and #2247 touch the same CMake test-registration block, but neither implements or is required by this PE forwarder fix. Depends on: None .
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T20:10:58Z.
Closing: none of our libraries has a forwarded export and PE32 isn't built, so nothing reaches this path today. Please reopen if a library gains a forwarder.
Pull request closed