Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with splitting ELF #21

Open
einstein95 opened this issue Dec 22, 2023 · 0 comments
Open

Issues with splitting ELF #21

einstein95 opened this issue Dec 22, 2023 · 0 comments
Labels
elf split elf split

Comments

@einstein95
Copy link

einstein95 commented Dec 22, 2023

 INFO Loading default.elf    
 INFO Splitting 949 objects    
Failed: Range 0x00000000-0x80004380 outside of section .init: 0x80004000-0x80006728

relevant part from the info output:

          .text | 0x800562E4 | 0x4        | sqrt      
          .text | 0x800562E8 | 0x4        | strdup    
          .text | 0x800562EC | 0x54       | strlwr    
          .text | 0x80056340 | 0xA0       | stricmp   
          .init | 0x80004380 | 0x0        | gTRKInterruptVectorTable
          .init | 0x800062B4 | 0x0        | gTRKInterruptVectorTableEnd
          .text | 0x800563E0 | 0x0        | TRKAccessFile
          .text | 0x800563E8 | 0x0        | TRKOpenFile
          .text | 0x800563F0 | 0x0        | TRKCloseFile

Initially I thought this was because the symbol was 0 sized, but then had the same issue with a different ELF

Failed: Range 0x00000000-0x80004300 outside of section .init: 0x80004000-0x800066BC
           .bss | 0x804DF8E0 | 0x30       | __OSExpireAlarm
          .text | 0x80293190 | 0x158      | __OSInitPlayTime
        .rodata | 0x80465688 | 0x40       | @LOCAL@OSCalcCRC32__FPCvUl@crc32_table
          .text | 0x802932F0 | 0x134      | OSCalcCRC32
          .text | 0x80293430 | 0x204      | __OSRelaunchTitle
          .init | 0x80004300 | 0x24       | __init_hardware
          .text | 0x80293640 | 0x20       | __init_user
          .text | 0x802936B0 | 0x4C       | exit      
          .init | 0x80004330 | 0x34       | __flush_cache
          .text | 0x80293700 | 0x2C       | PSMTXIdentity
          .text | 0x80293730 | 0x34       | PSMTXCopy 
@einstein95 einstein95 changed the title Unable to decompile ELF with 0 sized symbol Unable to split ELF with 0 sized .init symbol Dec 22, 2023
@einstein95 einstein95 changed the title Unable to split ELF with 0 sized .init symbol Issues with splitting ELF Dec 22, 2023
@encounter encounter added the elf split elf split label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elf split elf split
Projects
None yet
Development

No branches or pull requests

2 participants