sceKernelLoadExecBufferPlain

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

Moderators: cheriff, TyRaNiD

Post Reply
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

sceKernelLoadExecBufferPlain

Post by moonlight »

This function executes a plain module from memory (unfortunally it can't execute plain kernel prx's, but no problem with user prx's and kernel elf's).

It's only a kernel export.

Code: Select all

/**
 * Executes a new executable from a memory buffer.
 *
 * @param bufsize - Size in bytes of the buffer pointed by buf.
 * @param buf - Pointer to a buffer containing the module to execute.
 * @param param - Pointer to a ::SceKernelLoadExecParam structure, or NULL.
 * 
 * @return < 0 on error &#40;if it returns&#41;
*/
int sceKernelLoadExecBufferPlain&#40;SceSize bufsize, void *buf, struct SceKernelLoadExecParam *param&#41;;
Last edited by moonlight on Wed May 10, 2006 8:41 am, edited 1 time in total.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

You should be able to execute plain kernel elfs using reboothook from psplink in theory, of course the patch could probably be put into your nokxploit thing :)
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

TyRaNiD wrote:You should be able to execute plain kernel elfs using reboothook from psplink in theory, of course the patch could probably be put into your nokxploit thing :)
I know about your reboothook. It's great, thanks to that i can execute the own psplink.prx in "vsh" mode :)
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

mmm tasty :)
10011011 00101010 11010111 10001001 10111010
Post Reply