mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
049539ac3d
The patcher rewrites .dynstr in place and reorders .dynsym for .gnu.hash, but .gnu.version_d kept pointing at name offsets that the rewrite had recycled: a library carrying symbol version definitions came out with renamed or blanked version names while its symbols still advertised a version. No library in the build defines symbol versions, so fail on .gnu.version_d during the section scan and leave the input untouched instead of carrying version remapping that nothing exercises. The test covers the rejection and that a library without version definitions is still patched. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>