| View previous topic :: View next topic |
| Author |
Message |
laichung
Joined: 06 May 2005 Posts: 123
|
Posted: Thu Sep 21, 2006 2:39 pm Post subject: Can anyone tell me how to disassemble a function in a prx? |
|
|
Dear all:
I'm trying to learn how to disassemble those function inside the kenrel prx (e.g usb.prx), but I have no knowledge about how to do it. Can anyone give me some information about how to start.
All I know is using the prxtools, extract the function name and NIDs. Using psp-objdump to dump all the source and disassemble the prx file. But after look at the disassemble file, I feel lost. I dont know how to find the "entry point" (is that the right name?) of those functions with those NIDs extracted from prxtool.
Thanks all. |
|
| Back to top |
|
 |
PSP250
Joined: 19 Nov 2005 Posts: 12
|
Posted: Fri Sep 22, 2006 1:03 am Post subject: |
|
|
One (out of many) simple GUI based:
1. Get PS2Dis.
2. Use prxtool and the instructions from here.
3. Within PS2Dis press CTRL+G and select the NID/function you want ;)
The other options are using the IDA Pro disassembler or, as you already noted, psp-objdump disassembly, just that you pass the function entrypoint address (as fileoffset) with the "--start-address=ADDR" argument additionally. |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Fri Sep 22, 2006 4:04 am Post subject: |
|
|
| Use psp-objdump or pspdasm, get a good mips32 r4000 instruction reference, and a lot of patience... |
|
| Back to top |
|
 |
laichung
Joined: 06 May 2005 Posts: 123
|
Posted: Fri Sep 22, 2006 12:28 pm Post subject: |
|
|
Thanks all information~~~
Those disassemble files started to look meaningful~~ |
|
| Back to top |
|
 |
|