Wrapper Modules & Hooking sceKernelLoadModule...

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Coldbird
Posts: 97
Joined: Thu Feb 08, 2007 7:22 am

Wrapper Modules & Hooking sceKernelLoadModule...

Post by Coldbird »

Because Hooking into Userspace is such a pain in the ass I thought of alternative ways to achieve my goal of wrapping the Adhoc Modules.

A more brutal way you might say.

I think about writing wrapper prx's for...
pspnet_adhoc.prx
pspnet_adhoc_auth.prx
pspnet_adhoc_download.prx
pspnet_adhoc_matching.prx
and pspnet_adhocctl.prx.

There are three questions I have to get answered before I want to work out that idea.

1. How can I manually set NID's in my exports instead of auto-generating NID's using SHA-1?

2. If I do a syscall hook for sceKernelLoadModule, usermode applications (games) will pick my hook up, but inside my kernel module I should be able to call the real one normally... isn't that so?

3. Can someone give me a direct sample of how to make proper use of the exports and imports in my own modules? I want to tunnel all the data into ONE module at one point for transfer over the internet...
I don't quite get the stubs thing yet... and how to compile them into my PRXs properly.

Thanks in advance, I've found a lot of help in these forums already and am thankful for every bit of info I can gather.
Been gone for some time. Now I'm back. Someone mind getting me up-2-date?
Post Reply