relinker: accept PS5 SELF containers (plaintext payloads) #28

Closed
Pouare514 wants to merge 2 commits from upstream-pr/28 into main
Pouare514 commented 2026-09-27 11:31:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pouare514 on 2026-09-27T11:31:29Z.


Parse SELF header (4F153D1D/5414F5EE), locate the ELF after the segment table, translate file offsets through SELF segments. Dumps are plaintext inside the container so no crypto is needed. Tested: Legends eboot (41110 NID refs), Cyberpunk libc, Bink/fmod/NpCppWebApi prx; --windows/--to-intel/unused-filter modes OK; 5/5 relinker tests pass. Compressed SELFs still refused explicitly.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4653544280 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/28). Originally posted by [Pouare514](https://github.com/Pouare514) on 2026-09-27T11:31:29Z. --- Parse SELF header (4F153D1D/5414F5EE), locate the ELF after the segment table, translate file offsets through SELF segments. Dumps are plaintext inside the container so no crypto is needed. Tested: Legends eboot (41110 NID refs), Cyberpunk libc, Bink/fmod/NpCppWebApi prx; --windows/--to-intel/unused-filter modes OK; 5/5 relinker tests pass. Compressed SELFs still refused explicitly.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!28
No description provided.