forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Looking for information/sample code to disassemle ELF files

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Viper187



Joined: 13 Jun 2008
Posts: 1

PostPosted: Fri Jun 13, 2008 3:06 am    Post subject: Looking for information/sample code to disassemle ELF files Reply with quote

I'm writing my own PS2DIS type editor in C (under Windows), and I can't find any decent documentation on the structure of the ELF itself. I've got details on the header info, but I don't know exactly how to parse it all (or order to parse it) to read the file into structs/arrays then write it all back to rebuild the file. Considering the file format itself is used on linux, you'd think there'd be some source code floating around to do this part.
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Jun 13, 2008 3:49 pm    Post subject: Reply with quote

Use libbfd, part of binutils.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group