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 

Detect MS Access

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pspwill



Joined: 17 Nov 2005
Posts: 51

PostPosted: Tue Aug 11, 2009 1:22 am    Post subject: Detect MS Access Reply with quote

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
Back to top
View user's profile Send private message
Zer01ne



Joined: 08 Sep 2008
Posts: 29

PostPosted: Tue Aug 11, 2009 6:02 am    Post subject: Reply with quote

For ?
Back to top
View user's profile Send private message
slasher2661996



Joined: 22 Feb 2009
Posts: 91
Location: Melbourne Australia ZOMG

PostPosted: Tue Aug 11, 2009 7:17 am    Post subject: Re: Detect MS Access Reply with quote

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


Hook it, and then make your function like this:

Code:
int HookedFunction(param 1, param 2)
{
//Your code here
sceIoWrite();
}
Back to top
View user's profile Send private message
pspwill



Joined: 17 Nov 2005
Posts: 51

PostPosted: Tue Aug 11, 2009 7:36 am    Post subject: Re: Detect MS Access Reply with quote

slasher2661996 wrote:

Hook it, and then make your function like this:

Code:
int HookedFunction(param 1, param 2)
{
//Your code here
sceIoWrite();
}


I know how to hook the functions I was just wondering if there was a better way to do it.
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Tue Aug 11, 2009 7:46 pm    Post subject: Reply with quote

Well, you can monitor MS I/O addresses, but that would be even messier I think.
_________________
The Incredible Bill Gates wrote:
The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Wed Aug 12, 2009 1:36 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    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