| View previous topic :: View next topic |
| Author |
Message |
Snk
Joined: 10 Aug 2005 Posts: 3
|
Posted: Wed Aug 10, 2005 10:15 pm Post subject: random code recognition |
|
|
Hi there,
I need help from some assembler guys. I just programmed intel and a little bit m68k so far, and I just need a few bytes...
Assume the following environment:
The psp executes a thread (unknown mode) and the instruction pointer runs straight into a memory region that I can feed (yes, exploit style).
Now what sort of code could I place there to see a reaction of the psp? Really just something to see that the pice of code was executed. Like a black spot, a reboot (not from crash) or an exit. I thought maybe calling sceKernelExitGame() should bring me back home, but I don't understand how the libraries are being called. You have the ID, and then?
Or even better, is there a predefined memory region for the graphic buffer (like the old intel days)? Also, where can I find a list of instructions + opcodes for the psp cpu?
Thanx alot! |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Wed Aug 10, 2005 10:23 pm Post subject: Re: random code recognition |
|
|
| Snk wrote: | Hi there,
I need help from some assembler guys. I just programmed intel and a little bit m68k so far, and I just need a few bytes...
Assume the following environment:
The psp executes a thread (unknown mode) and the instruction pointer runs straight into a memory region that I can feed (yes, exploit style).
Now what sort of code could I place there to see a reaction of the psp? Really just something to see that the pice of code was executed. Like a black spot, a reboot (not from crash) or an exit. I thought maybe calling sceKernelExitGame() should bring me back home, but I don't understand how the libraries are being called. You have the ID, and then?
Or even better, is there a predefined memory region for the graphic buffer (like the old intel days)? Also, where can I find a list of instructions + opcodes for the psp cpu?
Thanx alot! |
I should think there's enough in svn.pspdev.org to get you started? |
|
| Back to top |
|
 |
Snk
Joined: 10 Aug 2005 Posts: 3
|
Posted: Wed Aug 10, 2005 10:40 pm Post subject: |
|
|
| not really, i'm looking for more basic stuff, not c source. |
|
| Back to top |
|
 |
Arwin
Joined: 12 Jul 2005 Posts: 426
|
Posted: Thu Aug 11, 2005 12:00 am Post subject: |
|
|
| Snk wrote: | | not really, i'm looking for more basic stuff, not c source. |
I thought there were bits of asm in there, and the linkdefs for the sce calls contain addresses, but maybe I'm wrong. |
|
| Back to top |
|
 |
Snk
Joined: 10 Aug 2005 Posts: 3
|
Posted: Thu Aug 11, 2005 12:14 am Post subject: |
|
|
You are right, its all in the SDK / toolchain as well, but I am not aware of the "dot" language of the GNU assembler, and I'm not reallly willing to learn that before I know if I was successful. I just need the asm code and its assembled hex version of a kernel call...
thanx |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Aug 11, 2005 1:00 am Post subject: |
|
|
| We don't "feed" exploits on these forums anymore. Sorry! |
|
| Back to top |
|
 |
|