How to disassemble a PSP ELF with Ida Pro?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
NDT
Posts: 2
Joined: Sat Jul 02, 2005 9:44 am

How to disassemble a PSP ELF with Ida Pro?

Post by NDT »

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

Thanks
mrbrown
Site Admin
Posts: 1537
Joined: Sat Jan 17, 2004 11:24 am

Post by mrbrown »

Wrong forum, moved.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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 :)
NDT
Posts: 2
Joined: Sat Jul 02, 2005 9:44 am

Post by NDT »

Thanks TyRaNiD,
do you know where i can get that prxtool please?
Pikoro
Posts: 56
Joined: Thu Jan 13, 2005 9:57 am

Post by Pikoro »

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

Cheers
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

In the pspsdk readme:
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.
Warren
Posts: 175
Joined: Sat Jan 24, 2004 8:26 am
Location: San Diego, CA

Post by Warren »

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.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

And don't forget relocation fixups :)
bbb
Posts: 2
Joined: Wed Jul 06, 2005 1:59 am

Post by bbb »

Any chance of a windows prxtool?
brad_irc
Posts: 2
Joined: Thu Jun 16, 2005 6:48 am

Post by brad_irc »

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...
Post Reply