![]() |
|||||||
![]() |
|
|||||||
| Sony PlayStation Portable Sony PlayStation Portable related development discussion. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I studied hellcat's tutorial but i still need to know how to identify what functions are already exported by the firmware kernel prx files. What i want to achieve is to have a prx that intercepts all requests to usb driver for sending/receiving data, write them to a file and then call the proper functions of the original(but now renamed prx) with the original data. It should be possible, right?
And i also i would like to know the name of a function that can list all currently loaded modules and it's associated prx file. Much appreciated. EG let's say that usermode module user.prx wants to send data using USB. It call sth like that sceUSBSendData(data,endpoint blah blah) which resides in file kusb.prx. What i want to achieve is rename kusb.prx to kusb_orig.prx then modify the process as follows user.prx calls sceUSBSendData(data,endpoint blah blah) which resides in my kusb.prx which has a function sceUSBSendData(data,endpoint blah blah) { dump data; //only a stub for the actual process sceUSBSendData(data,endpoint blah blah) // which is from the kusb_orig.prx } and here are other functions that kusb_orig.prx exports in the form: sceUSBotherfunction(arguments) { sceUSBotherfunction(arguments) // which calls original kusb_orig.prx } Thanks for your time and (hopefully) help. |
|
#2
|
|||
|
|||
|
Look into PSPLink source code. It has a lot to learn from.
What you are trying to do is hook the USBdriver. Imports and exports of a PRX can be displayed using PRXTool. You can find that everywhere. I'm sorry I don't have time to go into a lot of detail. I hope that helps. -arnold
__________________
irc.malloc.us #Arnold Come and chat with Arnie ![]() UTOPIA Project Awesomenesshttp://arnold.hyperphp.com/forums
|
|
#3
|
|||
|
|||
|
thanks i figured it out by hooking sceUsbdReqSend and sceUsbdReqRecv.
|
![]() |
|
| Tags |
| hijack, kprx, prx, usb |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Request for admin(s). | J697 | Ultimate Hall of Shame | 4 | 02-21-2011 09:20 AM |
| [Request]Have anyone the OFW 6.11? | emink123 | Sony PlayStation Portable | 9 | 12-03-2010 01:18 PM |
| Kernel Mode on 3.71 m33/3.80 m33 no 1.50 kernel add-on | Pirata Nervo | Sony PlayStation Portable | 4 | 06-22-2008 11:44 PM |