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 

How to disassemble a PSP ELF with Ida Pro?

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



Joined: 02 Jul 2005
Posts: 2

PostPosted: Sat Jul 02, 2005 9:59 pm    Post subject: How to disassemble a PSP ELF with Ida Pro? Reply with quote

How to disassemble a PSP ELF with Ida Pro?
Is there a patcher to revert the work of outpatch?

Thanks
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Jul 02, 2005 10:17 pm    Post subject: Reply with quote

Wrong forum, moved.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sat Jul 02, 2005 11:22 pm    Post subject: Reply with quote

The prxes we build are strange IDA doesn't really like them, for Sony stuff grab prxtool from subversion and do prxtool -o newfile.prx -e sonyfile.prx to be able to load it in ida. Whether that works for our stuff I couldn't say :)
Back to top
View user's profile Send private message
NDT



Joined: 02 Jul 2005
Posts: 2

PostPosted: Sun Jul 03, 2005 9:45 am    Post subject: Reply with quote

Thanks TyRaNiD,
do you know where i can get that prxtool please?
Back to top
View user's profile Send private message
Pikoro



Joined: 13 Jan 2005
Posts: 56

PostPosted: Mon Jul 04, 2005 11:20 am    Post subject: Reply with quote

Yes, where is this prxtool? who's subversion repository? sony's?

Cheers
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jul 04, 2005 11:48 am    Post subject: Reply with quote

In the pspsdk readme:

Quote:
Subversion

svn://svn.pspdev.org/
http://svn.pspdev.org/

PSPDEV tools and libraries can be found in the psp/ repository at
svn://svn.pspdev.org/. PSP homebrew games, demos, and other applications
can be found in the pspware/ repository located at the same URL. To view
the contents of these repositories using a Web browser, visit
http://svn.pspdev.org/.

There's even more in the readme about it. Perhaps taking a moment to read it over could avoid the embarassing question you just asked.
Back to top
View user's profile Send private message Visit poster's website
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Mon Jul 04, 2005 2:11 pm    Post subject: Reply with quote

Or you could just change two bytes at 0x10 of the file to 02 00 and IDA will load it fine. Select mipsl mode for processor type.

The more useful thing about prxtool is that you can get it to produce an idc script that will do a lot of organisational work for you once you have an elf disassembled.
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon Jul 04, 2005 3:48 pm    Post subject: Reply with quote

And don't forget relocation fixups :)
Back to top
View user's profile Send private message
bbb



Joined: 06 Jul 2005
Posts: 2

PostPosted: Wed Jul 06, 2005 2:00 am    Post subject: Reply with quote

Any chance of a windows prxtool?
Back to top
View user's profile Send private message
brad_irc



Joined: 16 Jun 2005
Posts: 2

PostPosted: Sun Jul 10, 2005 5:58 am    Post subject: Reply with quote

Is it within our legal right to disassemble and analyse boot.bin files ? I ask this first, before asking why IDA doesn't seem to disassemble them properly...
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 -> PSP 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