| View previous topic :: View next topic |
| Author |
Message |
cooleyes
Joined: 18 May 2006 Posts: 125
|
Posted: Mon Oct 08, 2007 7:05 pm Post subject: how to hook a func in prx loaded(PSP_MEMORY_PARTITION_USER) |
|
|
use the code in psplink, I can hook a func in prx loaded(PSP_MEMORY_PARTITION_KERNEL)
but it can not hook a func in prx(PSP_MEMORY_PARTITION_USER).
anyone know how to do it ? |
|
| Back to top |
|
 |
cooleyes
Joined: 18 May 2006 Posts: 125
|
Posted: Tue Oct 09, 2007 1:09 pm Post subject: |
|
|
no one know this? :(
I can get the func exported address like 0x9xxxxxx, is not kernel memory address,
so I can not find out the syscall_addr. |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Oct 10, 2007 2:23 am Post subject: |
|
|
| You can probably hook the import (instead of the export in psplink), so find the module which is calling the exported function and do a 'apihook @importmod ImportLIb @function/nid |
|
| Back to top |
|
 |
cooleyes
Joined: 18 May 2006 Posts: 125
|
Posted: Wed Oct 10, 2007 2:37 pm Post subject: |
|
|
| TyRaNiD wrote: | | You can probably hook the import (instead of the export in psplink), so find the module which is calling the exported function and do a 'apihook @importmod ImportLIb @function/nid |
how can Ido to find out the func imported address?
can you give me a sample code ? |
|
| Back to top |
|
 |
whazilla
Joined: 09 Sep 2006 Posts: 13
|
Posted: Fri Apr 18, 2008 6:21 am Post subject: |
|
|
hi,
cant u find the exports/imports with prxtool ? |
|
| Back to top |
|
 |
peb
Joined: 12 Mar 2007 Posts: 26
|
Posted: Sat Apr 19, 2008 7:26 am Post subject: |
|
|
Maybe psplink hook's could help you.
I tried to use it, the code is working and I think he could help you, but me I have little problem :
I call psplink hook's and I run the EBOOT2 which not start ... when I quit EBOOT1, the EBOOT2 start! It's normal when you read the code, but It's not same result like psplink ;)
I think you can use this code but change only LoadExec by LoadModule.
EDIT: sorry, I didn't see you use this actualy XD _________________ Sorry for my English, I'm french. |
|
| Back to top |
|
 |
|