TheOfficialFloW / VitaShell

Multi-functional file manager for PS Vita
GNU General Public License v3.0
1.37k stars 225 forks source link

Only use Ehdr and Phdr from SELF header #581

Closed ghost closed 3 years ago

ghost commented 3 years ago

segment_info in the SELF header contains offsets to segments. It is a coincidence of Vitasdk that the first segment also contains the ELF header and program headers. The second ELF header and program headers may precede the first segment or may not be present at all.