Does anyone know of any ways i can detect when is being accessed? I have thought that maybe i could hook the sceIoRead/Write functions but am concerned that could get a little messy. Any other ways?
Thanks, Will
Detect MS Access
-
- Posts: 91
- Joined: Sun Feb 22, 2009 8:32 am
- Location: Melbourne Australia ZOMG
Re: Detect MS Access
Hook it, and then make your function like this:pspwill wrote:Does anyone know of any ways i can detect when is being accessed? I have thought that maybe i could hook the sceIoRead/Write functions but am concerned that could get a little messy. Any other ways?
Thanks, Will
Code: Select all
int HookedFunction(param 1, param 2)
{
//Your code here
sceIoWrite();
}
Re: Detect MS Access
I know how to hook the functions I was just wondering if there was a better way to do it.slasher2661996 wrote: Hook it, and then make your function like this:
Code: Select all
int HookedFunction(param 1, param 2) { //Your code here sceIoWrite(); }
Depends on what programs you want to monitor. You can hook the sceIo* syscalls to monitor usermode access by games/homebrew. Or hook the driver to monitor all access. Check Dax's forum for a driver hook sample; the source of that UMD speed monitoring thing. Can also look at CXMB for driver hook sample.