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 

random code recognition

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Snk



Joined: 10 Aug 2005
Posts: 3

PostPosted: Wed Aug 10, 2005 10:15 pm    Post subject: random code recognition Reply with quote

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
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Wed Aug 10, 2005 10:23 pm    Post subject: Re: random code recognition Reply with quote

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
View user's profile Send private message
Snk



Joined: 10 Aug 2005
Posts: 3

PostPosted: Wed Aug 10, 2005 10:40 pm    Post subject: Reply with quote

not really, i'm looking for more basic stuff, not c source.
Back to top
View user's profile Send private message
Arwin



Joined: 12 Jul 2005
Posts: 426

PostPosted: Thu Aug 11, 2005 12:00 am    Post subject: Reply with quote

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
View user's profile Send private message
Snk



Joined: 10 Aug 2005
Posts: 3

PostPosted: Thu Aug 11, 2005 12:14 am    Post subject: Reply with quote

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
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Aug 11, 2005 1:00 am    Post subject: Reply with quote

We don't "feed" exploits on these forums anymore. Sorry!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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