Search found 97 matches

by Coldbird
Thu Mar 26, 2009 2:53 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

I think I understand you now. You wish to patch the Syscall to link to your own function... then do a call-patch to that Syscall in the Usermode function.

But really this isn't useful at all for my needs, because I need to hook a lot of functions... about 50 or so.

Anyone else got a idea?
by Coldbird
Wed Mar 25, 2009 2:26 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

I cant give a full sample code but I do get his idea... and in fact - even calling the original function wouldn't be problematic... I'm still waiting for the code sample on how to ASM patch to call my own syscall... But in theory it would work like this... 1. backup the first instructions of user fu...
by Coldbird
Wed Mar 25, 2009 1:34 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

Torch... that's... a brilliant idea! Why didn't I think of that possibility before? I can already patch the function memory properly... the only thing left to do is create a usermode module and launch it side by side with mine. But seriously. I would far more prefer doing it over syscalls directly i...
by Coldbird
Tue Mar 24, 2009 2:34 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

Thanks a lot. Now lets get to puzzling this together!
I will report back once I've got results.

Thanks again.
by Coldbird
Tue Mar 24, 2009 1:37 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

I thank you all for your support up till now. I'm glad I could get as much information as I already got thanks to you all. I never had to load a second prx till now, I suppose there's some kind of function I can use to make my Kernel Module load a second usermode prx? If so, would you mind giving me...
by Coldbird
Mon Mar 23, 2009 8:46 pm
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

I found the example posted by Hlide but I really couldn't make anything out of it. I did my own little patch of the functions for jumping to my own functions, and tried to change memory flags to allow linking to a kernel function of mine. This didn't work. So I'd be glad if you could post a little e...
by Coldbird
Mon Mar 23, 2009 7:29 am
Forum: PSP Development
Topic: Hooking Usermode Functions from inside a Kernel PRX
Replies: 19
Views: 6180

Hooking Usermode Functions from inside a Kernel PRX

I've searched the forums for a whole day now collecting every little bit of information I could get, but the infos I could find were somewhat incomplete. For the newest PRX of mine I need to hook the Adhoc Functions from the Adhoc, Adhocctl and Adhocmatching Module. Those are Usermode Libraries, you...